* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
* -------------------------------------------------------------
*/
function smarty_insert_mkStats($params, &$smarty)
{
* -------------------------------------------------------------
*/
function smarty_insert_mkStats($params, &$smarty)
{
$res = XDB::query('select count(*) from requests');
$cnt = $res->fetchOneCell();
return ($cnt ? $cnt : '-');
}
$res = XDB::query('select count(*) from requests');
$cnt = $res->fetchOneCell();
return ($cnt ? $cnt : '-');
}