24 $_replace = array(
"\n" =>
'<i>\n</i>',
29 switch (gettype($var)) {
31 $results =
'<b>Array (' . count($var) .
')</b>';
32 foreach ($var as $curr_key => $curr_val) {
33 $results .=
'<br>' . str_repeat(
' ', $depth * 2)
34 .
'<b>' . strtr($curr_key, $_replace) .
'</b> => '
41 $object_vars = get_object_vars($var);
42 $results =
'<b>' . get_class($var) .
' Object (' . count($object_vars) .
')</b>';
43 foreach ($object_vars as $curr_key => $curr_val) {
44 $results .=
'<br>' . str_repeat(
' ', $depth * 2)
45 .
'<b> ->' . strtr($curr_key, $_replace) .
'</b> = '
56 }
elseif (
false === $var) {
61 $results = htmlspecialchars((
string) $var);
63 $results =
'<i>' . $results .
'</i>';
68 $results = htmlspecialchars((
string) $var);
72 $results = strtr($var, $_replace);
78 if (isset($var[$length])) {
79 $results = substr($var, 0, $length - 3) .
'...';
83 $results = htmlspecialchars(
'"' . $results .
'"');
88 $results = strtr((
string) $var, $_replace);
94 if (strlen($results) > $length) {
95 $results = substr($results, 0, $length - 3) .
'...';
99 $results = htmlspecialchars($results);
static $_MBSTRING
Flag denoting if Multibyte String functions are available.
smarty_modifier_debug_print_var($var, $depth=0, $length=40)
Smarty debug_print_var modifier plugin.
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))
static $_CHARSET
The character set to adhere to (e.g.