From 49858dba14bfecc60f107b2ab448b69d967f5c2e Mon Sep 17 00:00:00 2001 From: Angelo Cuccato Date: Tue, 12 Jan 2010 21:17:37 +0100 Subject: add user arrived page --- www-ssl/admin/userArrived.php | 54 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100755 www-ssl/admin/userArrived.php (limited to 'www-ssl') diff --git a/www-ssl/admin/userArrived.php b/www-ssl/admin/userArrived.php new file mode 100755 index 00000000..7470d695 --- /dev/null +++ b/www-ssl/admin/userArrived.php @@ -0,0 +1,54 @@ +". Get_Text("pri_userArrived_WriteOK"). " \"". UID2Nick($_GET["arrived"]). "\""; + } else { + echo "

". Get_Text("pri_userArrived_WriteError"). " \"". UID2Nick($_GET["arrived"]). "\"

"; + } +} + +echo Get_Text("pri_userArrived_Text1"). "
"; +echo Get_Text("pri_userArrived_Text2"). "

"; + +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 "\n"; +echo "\t\n"; +echo "\t\t\n"; +echo "\t\t\n"; +echo "\t\t\n"; +echo "\t\n"; + +for ($i=0; $i<$rowcount; $i++){ + echo "\t\n"; + $eUID=mysql_result($Erg, $i, "UID"); + echo "\t\t\n"; + echo "\t\t\n"; + + if (mysql_result($Erg, $i, "Gekommen") =="1") + { + echo "\t\t"; + } else { + echo "\t\t"; + } + echo "\t\n"; +} +echo "
". Get_Text("pri_userArrived_TableTD_Nick"). "". Get_Text("pri_userArrived_TableTD_ArrivedShow"). "". Get_Text("pri_userArrived_TableTD_ArrivedSet"). "
".UID2Nick($eUID)."".mysql_result($Erg, $i, "Gekommen")."". Get_Text("pri_userArrived_TableEntry_Arrived"). "". Get_Text("pri_userArrived_TableEntry_Set"). "
"; + +include ("../../includes/footer.php"); +?> + -- cgit v1.2.3-54-g00ecf