Topic: Set debug Info one line deeper and centered
Hi,
What I've to do, if I want to show the debug info one line deeper and centered?
I've tryed so much (<br><p> etc.), but it always destroy the Board.
My code:
<p class="conr">Powered by <a href="http://punbb.org/">PunBB</a><?php if ($pun_config['o_show_version'] == '1') echo ' '.$pun_config['o_cur_version']; ?><br />© Copyright 2002?2005 Rickard Andersson<br />Style © Copyright 2005 <a href="http://forum.haresnet.de">haresnet.de</a></p>
<?php
// Display debug info (if enabled/defined)
/* if (defined('PUN_DEBUG')) */
{
// Calculate script generation time
list($usec, $sec) = explode(' ', microtime());
$time_diff = sprintf('%.3f', ((float)$usec + (float)$sec) - $pun_start);
echo "\t\t\t".'<p class="conr">[ Generated in '.$time_diff.' seconds, '.$db->get_num_queries().' queries executed ]</p>'."\n";
}
?>
<div class="clearer"></div>
Visit My PunBB Forum