require "include/bittorrent.php"; dbconn(false); loggedinorreturn(); if (get_user_class() < UC_POWER_USER) stderr( _("Error"), _("Permission denied.")); stdhead("Site log"); if(!$GLOBALS['settings']['cache'] || !($data = $cache_lite->get('sitelog'))) { ob_start(); $res = do_mysql_query("SELECT DATE(added) as date, TIME(added) as time, txt FROM sitelog FORCE INDEX(inverted_timestamp) ORDER BY inverted_timestamp") or sqlerr(__FILE__, __LINE__); print("
"._('Date')." | "._('Time')." | "._('Event')." |
".$arr['date']." | ".$arr['time']." | ".$arr['txt']." |
"._('Times are in GMT.')."
"); $data = ob_get_clean(); $cache_lite->save($data,'sitelog'); } echo $data; stdfoot(); ?>