summaryrefslogtreecommitdiff
path: root/www-ssl/admin/Recentchanges.php
diff options
context:
space:
mode:
authorPhilip Häusler <msquare@notrademark.de>2011-06-01 15:02:00 +0200
committerPhilip Häusler <msquare@notrademark.de>2011-06-01 15:02:00 +0200
commite050c0dc7f4c70b13596f8e940a31a9678bb3b52 (patch)
treece222f80b4c02d48c1990392627383f63a08a6e9 /www-ssl/admin/Recentchanges.php
parenta537f4bf73101c467af3b01db32fcdb9fd0a91ce (diff)
bootstrapping
Diffstat (limited to 'www-ssl/admin/Recentchanges.php')
-rw-r--r--www-ssl/admin/Recentchanges.php20
1 files changed, 10 insertions, 10 deletions
diff --git a/www-ssl/admin/Recentchanges.php b/www-ssl/admin/Recentchanges.php
index 6bb8f59d..26324406 100644
--- a/www-ssl/admin/Recentchanges.php
+++ b/www-ssl/admin/Recentchanges.php
@@ -1,8 +1,9 @@
<?php
+require_once ('../bootstrap.php');
$title = "ChangeLog";
$header = "Datenbank-Auszug";
-include ("../../../camp2011/includes/header.php");
+include ("includes/header.php");
$SQL = "SELECT * FROM `ChangeLog` ORDER BY `Time` DESC LIMIT 0,10000";
$Erg = mysql_query($SQL, $con);
@@ -12,18 +13,17 @@ echo mysql_error($con);
echo "<table border=1>\n";
echo "<tr>\n\t<th>Time</th>\n\t<th>User</th>\n\t<th>Commend</th>\n\t<th>SQL Commad</th>\n</tr>\n";
-for ($n = 0 ; $n < mysql_num_rows($Erg) ; $n++)
-{
- echo "<tr>\n";
- echo "\t<td>". mysql_result( $Erg, $n, "Time"). "</td>\n";
- echo "\t<td>". UID2Nick(mysql_result( $Erg, $n, "UID")). displayavatar(mysql_result( $Erg, $n, "UID")). "</td>\n";
- echo "\t<td>". mysql_result( $Erg, $n, "Commend"). "</td>\n";
- echo "\t<td>". mysql_result( $Erg, $n, "SQLCommad"). "</td>\n";
- echo "</tr>\n";
+for ($n = 0; $n < mysql_num_rows($Erg); $n++) {
+ echo "<tr>\n";
+ echo "\t<td>" . mysql_result($Erg, $n, "Time") . "</td>\n";
+ echo "\t<td>" . UID2Nick(mysql_result($Erg, $n, "UID")) . displayavatar(mysql_result($Erg, $n, "UID")) . "</td>\n";
+ echo "\t<td>" . mysql_result($Erg, $n, "Commend") . "</td>\n";
+ echo "\t<td>" . mysql_result($Erg, $n, "SQLCommad") . "</td>\n";
+ echo "</tr>\n";
}
echo "</table>\n";
-include ("../../../camp2011/includes/footer.php");
+include ("includes/footer.php");
?>