edit ubbt.inc.php:
- insert this at the beginning (before the includes):
// start time
$stime = explode(' ', microtime());
$stime = $stime[1] + $stime[0];
- find
function send_footer() { and insert
// end time
$etime = explode(' ', microtime());
$etime = $etime[1] + $etime[0];
$rtime = number_format($etime - $stime, 5);
echo '<div align="center" style="font-size: 10px;">' . $rtime . '</div>';
after the
$html -> close_table(); line.
- change the "global $config, $theme, $thispath, $VERSION, $ubbt_lang, $timea, $querycounter;" line to:
"global $config, $theme, $thispath, $VERSION, $ubbt_lang, $timea, $querycounter
, $stime;
PS. The vars in the original global line above hints that the functionality for this may be already included in the program (timea and querycounter) but it's either not enabled or the actual lines required to display it are not included.