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("

Site log

\n"); if (mysql_num_rows($res) == 0) print("Log is empty\n"); else { print("\n"); while ($arr = mysql_fetch_assoc($res)) { echo ""; } print("
"._('Date').""._('Time').""._('Event')."
".$arr['date']."".$arr['time']."".$arr['txt']."
"); } print("

"._('Times are in GMT.')."

"); $data = ob_get_clean(); $cache_lite->save($data,'sitelog'); } echo $data; stdfoot(); ?>