<?php
/*
Fretsweb - A Frets on Fire chart server
Copyright (C) 2009, Daan Sprenkels
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
require_once "common.php";
//Login Test
session_start();
if($_SESSION['in'] < 2)
{
header('location: login.php?need=admin');
die();
}
?>
<html>
<head>
<title> FOF Contest Server: log page </title>
<link href="../css.php" rel="stylesheet" type="text/css" />
<link href="../images/favicon.png" rel="icon">
</head>
<body><center>
<h2> Contest logs</h2>
<table class="regular">
<th>Time</th>
<th>Action</th>
<?php
include_once "log.php";
printlog();
?>
</table>
<p><b><a href="index.php">Back to main administration panel</a></b><p>
</center></body>
</html>
<?php
// close db!
mysql_close( $db_link );
?>