All the sources codespage 45
PHP
July 18, 2014 am31 10:31
#129
if(($_COOKIE["Desktop"] == '1' OR $HTTP_COOKIE_VARS["Desktop"] =='1'))
{
$desktop = 1;
}
else
{
$desktop = 1;
}
PHP
July 16, 2014 am31 09:44
#117
$iValNet = 2;
$aValue = explode(',', round($iValNet * 23 / 100, 2));
$aValue[0] += $iValNet;
$iValGross = $aValue[0];
C#
July 16, 2014 am31 03:02
#106
int c = (int) App.Session.CreateCriteria(typeof(Transaction)).Add(Restrictions.Between("CreationDate", fromDateTime, toDateTime)).Add(Restrictions.Eq("SaleSession.Salesman", salesman)).Add(Restrictions.Or(Restrictions.Eq("PayMethod", "cash"), Restrictions.Eq("PayMethod", "card"))).SetProjection(Projections.Count("Id")).UniqueResult();