summaryrefslogtreecommitdiff
path: root/www-ssl
diff options
context:
space:
mode:
authorPhilip Häusler <msquare@notrademark.de>2011-06-03 14:44:01 +0200
committerPhilip Häusler <msquare@notrademark.de>2011-06-03 14:44:01 +0200
commit7e91f4821aee41589dd744a9540f15b76d729bab (patch)
tree522e68d503f155b52350a6c634c80333bc17842b /www-ssl
parent2fcd0a63f5c1bb8edd753788729ea2e22e01c0ab (diff)
recentchanges -> admin log
Diffstat (limited to 'www-ssl')
-rw-r--r--www-ssl/admin/Recentchanges.php29
-rw-r--r--www-ssl/index.php4
2 files changed, 4 insertions, 29 deletions
diff --git a/www-ssl/admin/Recentchanges.php b/www-ssl/admin/Recentchanges.php
deleted file mode 100644
index 26324406..00000000
--- a/www-ssl/admin/Recentchanges.php
+++ /dev/null
@@ -1,29 +0,0 @@
-<?php
-require_once ('../bootstrap.php');
-
-$title = "ChangeLog";
-$header = "Datenbank-Auszug";
-include ("includes/header.php");
-
-$SQL = "SELECT * FROM `ChangeLog` ORDER BY `Time` DESC LIMIT 0,10000";
-$Erg = mysql_query($SQL, $con);
-
-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";
-}
-
-echo "</table>\n";
-
-include ("includes/footer.php");
-?>
-
diff --git a/www-ssl/index.php b/www-ssl/index.php
index fe8c4795..7c65abb2 100644
--- a/www-ssl/index.php
+++ b/www-ssl/index.php
@@ -97,6 +97,10 @@ if (in_array($p, $privileges)) {
elseif ($p == "admin_language") {
require_once ('includes/pages/admin_language.php');
$content = admin_language();
+ }
+ elseif ($p == "admin_log") {
+ require_once ('includes/pages/admin_log.php');
+ $content = admin_log();
} else {
require_once ('includes/pages/guest_start.php');
$content = guest_start();