23 defined(
'XOOPS_ROOT_PATH') or die('Restricted access');
25 setlocale(LC_ALL, 'en_US');
34 define("
_TIMEFORMAT_DESC","Valid formats: \"s\" - " .
_SHORTDATESTRING . "; \"m\" - " .
_MEDIUMDATESTRING . "; \"l\" - " .
_DATESTRING . ";<br />" . "\"c\" or \"custom\" - format determined according to interval to present; \"e\" - Elapsed; \"mysql\" - Y-m-d H:i:s;<br />" . "specified
string - Refer to <a href=\"http:
53 function number_format($number)
55 return number_format($number, 2,
'.',
',');
65 function money_format($format, $number)
67 setlocale(LC_MONETARY,
'en_US');
68 return money_format($format, $number);