summaryrefslogtreecommitdiff
path: root/www-ssl/admin/userArrived.php
diff options
context:
space:
mode:
authorMoritz helios Rudert <helios@planetcyborg.de>2011-06-01 12:13:39 +0200
committerMoritz helios Rudert <helios@planetcyborg.de>2011-06-01 12:13:39 +0200
commit75448045cfe70054c8f4bae1bcfaf9bb0f70d330 (patch)
tree6a4d3d35019cdf933c1816e8522dc5d2557f5238 /www-ssl/admin/userArrived.php
parent12e0b0d809c29d435a247798d7318cc9835980ea (diff)
fixes
Diffstat (limited to 'www-ssl/admin/userArrived.php')
-rw-r--r--[-rwxr-xr-x]www-ssl/admin/userArrived.php38
1 files changed, 19 insertions, 19 deletions
diff --git a/www-ssl/admin/userArrived.php b/www-ssl/admin/userArrived.php
index da68a5da..a8fdb71e 100755..100644
--- a/www-ssl/admin/userArrived.php
+++ b/www-ssl/admin/userArrived.php
@@ -1,4 +1,4 @@
-<?PHP
+<?php
$title = "Engel Arrived";
$header = "Engel was arrived";
@@ -8,17 +8,17 @@ include ("../../../camp2011/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");
+ $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>";
+ echo "<h2>". Get_Text("pri_userArrived_WriteOK"). " \"". UID2Nick($_GET["arrived"]). "\"</h2>";
} else {
- echo "<h1>". Get_Text("pri_userArrived_WriteError"). " \"". UID2Nick($_GET["arrived"]). "\"</h1>";
+ 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_Text1"). "<br />";
+echo Get_Text("pri_userArrived_Text2"). "<br /><br />";
echo Get_Text("pri_userArrived_TableToppic");
$SQL = "SELECT * FROM `User` ORDER BY `Nick` ASC";
@@ -34,18 +34,18 @@ 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 "\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>";