Location: PHPKode > scripts > eDJPanel > edjpanel/upload/admin/log.php
<?php error_reporting(0);
      require("head.php");?>
<center>
    <form method='POST' action='showlog.php'>
    <input type='submit' name='clear' value='Clear All' />
    </form>
</center>

<?php require("config.php");

if (isset($_POST['clear']))
    {
    mysql_query("TRUNCATE TABLE log") or die(mysql_error());
    echo "<center>All log information cleared!</center>";
    }

    $data = mysql_query("SELECT * FROM log ORDER BY Time DESC");

    echo "<center><table border='1'>
    <tr>
    <th>IP</th>
    <th>Time</th>
    </tr>";

  while($row = mysql_fetch_array($data))
    {
    echo "<tr>";
    echo "<td>" . $row['IP'] . "</td>";
    echo "<td>" . $row['Time'] . "</td>";
    echo "</tr>";
    }
	echo "</table></center>";

    mysql_close($connect);
?>
Return current item: eDJPanel