',''.page_title.' - ',$buf); echo $buf; //clear cached results if (time() - cache_flush > 3600 || !defined('cache_flush')) { mysql_query("DELETE FROM $cachetable WHERE c_time<".(time()-(cache_flush*3600))); if (!defined('cache_flush')) mysql_query("INSERT INTO $configtable VALUES('cache_flush',".time()."')"); mysql_query("UPDATE $cachetable SET c_value='".time()."' WHERE c_key='cache_flush'"); } //close MySQL connection @mysql_close(); //output page generation time $end = time() + microtime(); $tot = round(($end - $strt)*1000); echo "<!-- generated in $tot miliseconds -->"; ?>