diff options
author | cookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8> | 2006-11-20 23:24:10 +0000 |
---|---|---|
committer | cookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8> | 2006-11-20 23:24:10 +0000 |
commit | 6c52da6bf5bbdb1199fac63e7624ddd9473acd89 (patch) | |
tree | a8f7d1b309fc3900122790861044041dcd176db4 /www-ssl/admin/Recentchanges.php | |
parent | 029b1be5f638e48e0d521967d3bf70eb6b383612 (diff) |
augabe der changes erweitert username wird ausgegeben
funtion_user aufgereumt
git-svn-id: svn://svn.cccv.de/engel-system@170 29ba0400-6e00-0410-a75a-ca02368028f8
Diffstat (limited to 'www-ssl/admin/Recentchanges.php')
-rwxr-xr-x | www-ssl/admin/Recentchanges.php | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/www-ssl/admin/Recentchanges.php b/www-ssl/admin/Recentchanges.php index 564c9e96..b6cb5a9f 100755 --- a/www-ssl/admin/Recentchanges.php +++ b/www-ssl/admin/Recentchanges.php @@ -3,9 +3,27 @@ $title = "ChangeLog"; $header = "Datenbank-Auszug"; include ("./inc/header.php"); -include ("./inc/funktion_db_list.php"); +include ("./inc/funktion_user.php"); -funktion_db_list("ChangeLog"); +$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 ("./inc/footer.php"); ?> |