Maybe I'm stupid

aranoid: LOL
But I didn't play with the code here is a sample of my functions.php :
PHP Code:
// ###################### Start dooutput #######################
function dooutput($vartext,$sendheader=1) {
global $pagestarttime,$query_count,$showqueries,$querytime,$DB_site,$gzipoutput,$gziplevel,$bbuserinfo,$microstats;
$pageendtime=microtime();
$starttime=explode(" ",$pagestarttime);
$endtime=explode(" ",$pageendtime);
// time format (how many digits you want to show)
$digits=7;
$totaltime=$endtime[0]-$starttime[0];
$trimmedtime=number_format($totaltime,$digits);
$percentphp=number_format(((($totaltime-$querytime)/$totaltime)*100), 2)."% PHP";
$percentsql=number_format((($querytime/$totaltime)*100), 2)."% MySQL";
if ($bbuserinfo['usergroupid']==6) {
if ($gzipoutput==1) {
$gziptext="biblioth?que GZIP disponible (niveau $gziplevel)";
} else {
$gziptext="biblioth?que GZIP non disponible";
}
$debugmode=(DEBUG)?" (Debug mode)":"";
$versionphp=phpversion();
$adminstats="Version PHP $versionphp $debugmode avec $gziptext. [<a href=\"$PHP_SELF?explain=1\" target=\"_blank\">d?tails</a>]";
} else {
$adminstats="";
}
if ($showqueries) {
$vartext .= "<!-- Page generated in $totaltime seconds with $query_count queries -->";
} else {
eval("\$microstats = \"".gettemplate('home_microstats')."\";");
}
if (!$showqueries) {
echo dovars($vartext,$sendheader);
flush();
} else {
$output=dovars($vartext,$sendheader);
echo "\n<b>Page generated in $totaltime seconds with $query_count queries,\nspending $querytime doing MySQL queries and ".($totaltime-$querytime)." doing PHP things.</b></pre>";
flush();
}
}
as you can see I didn't play with this code :classic: