diff options
author | Philip Häusler <msquare@notrademark.de> | 2011-09-14 22:54:36 +0200 |
---|---|---|
committer | Philip Häusler <msquare@notrademark.de> | 2011-09-14 22:54:36 +0200 |
commit | d194783e8f2aa2e9e27e34572cda6f796930ac37 (patch) | |
tree | 7e9e70c8ee3a1acef34cbce884051e3d8e38cd5d /www-ssl_old/admin/userArrived.php | |
parent | 1342dc49cf1789f9d54cb3c7be327c68f403a0f7 (diff) |
cleanup from old files
Diffstat (limited to 'www-ssl_old/admin/userArrived.php')
-rw-r--r-- | www-ssl_old/admin/userArrived.php | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/www-ssl_old/admin/userArrived.php b/www-ssl_old/admin/userArrived.php deleted file mode 100644 index 93857d2e..00000000 --- a/www-ssl_old/admin/userArrived.php +++ /dev/null @@ -1,53 +0,0 @@ -<?php -require_once ('../bootstrap.php'); - -$title = "Engel Arrived"; -$header = "Engel was arrived"; -include ("includes/header.php"); -include ("includes/funktion_db_list.php"); - -If (IsSet ($_GET["arrived"])) { - - $SQL = "UPDATE `User` SET `Gekommen`='1' WHERE `UID`='" . $_GET["arrived"] . "' limit 1"; - $Erg = db_query($SQL, "Set User as Gekommen"); - if ($Erg == 1) { - echo "<h2>" . Get_Text("pri_userArrived_WriteOK") . " \"" . UID2Nick($_GET["arrived"]) . "\"</h2>"; - } else { - echo "<h1>" . Get_Text("pri_userArrived_WriteError") . " \"" . UID2Nick($_GET["arrived"]) . "\"</h1>"; - } -} - -echo Get_Text("pri_userArrived_Text1") . "<br />"; -echo Get_Text("pri_userArrived_Text2") . "<br /><br />"; - -echo Get_Text("pri_userArrived_TableToppic"); -$SQL = "SELECT * FROM `User` ORDER BY `Nick` ASC"; -$Erg = mysql_query($SQL, $con); - -$rowcount = mysql_num_rows($Erg); - -echo "<table width=\"100%\" class=\"border\" cellpadding=\"2\" cellspacing=\"1\">\n"; -echo "\t<tr class=\"contenttopic\">\n"; -echo "\t\t<td>" . Get_Text("pri_userArrived_TableTD_Nick") . "</td>\n"; -echo "\t\t<td>" . Get_Text("pri_userArrived_TableTD_ArrivedShow") . "</td>\n"; -echo "\t\t<td>" . Get_Text("pri_userArrived_TableTD_ArrivedSet") . "</td>\n"; -echo "\t</td>\n"; - -for ($i = 0; $i < $rowcount; $i++) { - echo "\t<tr class=\"content\">\n"; - $eUID = mysql_result($Erg, $i, "UID"); - echo "\t\t<td>" . UID2Nick($eUID) . "</td>\n"; - echo "\t\t<td>" . mysql_result($Erg, $i, "Gekommen") . "</td>\n"; - - if (mysql_result($Erg, $i, "Gekommen") == "1") { - echo "\t\t<td>" . Get_Text("pri_userArrived_TableEntry_Arrived") . "</td>"; - } else { - echo "\t\t<td><a href=\"./userArrived.php?arrived=$eUID\">" . Get_Text("pri_userArrived_TableEntry_Set") . "</a></td>"; - } - echo "\t</tr>\n"; -} -echo "</table>"; - -include ("includes/footer.php"); -?> - |