.
////////////////////////////////////////////////////////////////////////////////
// Last modified 05/aug/2012 by cassio@ime.usp.br
require('header.php');
if(isset($_GET["order"]))
$order = myhtmlspecialchars($_GET["order"]);
else $order='';
if(isset($_GET["user"]))
$user = myhtmlspecialchars($_GET["user"]);
else $user='';
if(isset($_GET["site"]))
$site = myhtmlspecialchars($_GET["site"]);
else $site='';
if(isset($_GET["type"]))
$type = myhtmlspecialchars($_GET["type"]);
else $type='';
if(isset($_GET["ip"]))
$ip = myhtmlspecialchars($_GET["ip"]);
else $ip='';
$get="&order=${order}&user=${user}&site=${site}&type=${type}&ip=${ip}";
if (isset($_GET["limit"]) && $_GET["limit"]>0)
$limit = myhtmlspecialchars($_GET["limit"]);
else $limit = 50;
$log = DBGetLogs($order, $_SESSION["usertable"]["contestnumber"],
$site, $user, $type, $ip, $limit);
?>
| Site | User # | IP | Type | Date | Description | Status | " . $log[$i]["site"] . " | \n"; echo "" . $log[$i]["user"] . " | \n"; echo "" . $log[$i]["ip"] . " | \n"; echo "" . $log[$i]["type"] . " | \n"; echo "" . dateconv($log[$i]["date"]) . " | \n"; echo "" . $log[$i]["data"] . " | \n"; echo "" . $log[$i]["status"] . " | \n"; echo "\n"; } echo "