22 }
elseif ($string instanceof DateTime) {
23 return $string->getTimestamp();
24 }
elseif (strlen($string) == 14 && ctype_digit($string)) {
26 return mktime(substr($string, 8, 2),substr($string, 10, 2),substr($string, 12, 2),
27 substr($string, 4, 2),substr($string, 6, 2),substr($string, 0, 4));
28 }
elseif (is_numeric($string)) {
33 $time = strtotime($string);
34 if ($time == -1 || $time ===
false) {
smarty_make_timestamp($string)
Function: smarty_make_timestamp Purpose: used by other smarty functions to make a timestamp from a s...
if(strlen($date2)== '10') if($type== 'users-by-age'&&a_priv('admin_users', true)) elseif($type== 'forums-count'&&a_priv('admin_content', true)) elseif($type== 'forums-categories'&&a_priv('admin_content', true)) elseif($type== 'users-count'&&a_priv('admin_users', true)) elseif($type== 'product-categories'&&a_priv('admin_products', true)) elseif($type== 'users-by-sex'&&a_priv('admin_users', true)) elseif($type== 'users-by-country'&&a_priv('admin_users', true)) elseif($type== 'sales'&&a_priv('admin_sales', true))