summaryrefslogtreecommitdiff
path: root/admin/tshirt.php
diff options
context:
space:
mode:
authorcookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8>2005-11-06 17:14:25 +0000
committercookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8>2005-11-06 17:14:25 +0000
commit866c47ec603595e8fe67da5f0e5d162a70b1f7b4 (patch)
treeef2b85462576150f017ba6bd53ace13dc60dc510 /admin/tshirt.php
parentfbc8e11b91b0565ae5d23472fc4e5bfc7d879939 (diff)
move files
git-svn-id: svn://svn.cccv.de/engel-system@20 29ba0400-6e00-0410-a75a-ca02368028f8
Diffstat (limited to 'admin/tshirt.php')
-rwxr-xr-xadmin/tshirt.php60
1 files changed, 0 insertions, 60 deletions
diff --git a/admin/tshirt.php b/admin/tshirt.php
deleted file mode 100755
index 2a3ea500..00000000
--- a/admin/tshirt.php
+++ /dev/null
@@ -1,60 +0,0 @@
-<?PHP
-
-$title = "T-Shirt-Ausgabe";
-$header = "T-Shirt-Ausgabe f&uuml;r aktiven Engel";
-include ("./inc/header.php");
-include ("./inc/funktion_db_list.php");
-include ("./inc/funktion_user.php");
-
-
-If (IsSet($_GET["aktiv"])) {
-
- $SQL="Update User set Tshirt=\"1\" where UID=\"". $_GET["aktiv"]. "\" limit 1";
- $Erg = mysql_query($SQL, $con);
- if ($Erg == 1) {
- } else {
- echo "Fehler beim speichern bei Engel ". UID2Nick($_GET["aktive"]). "<br>";
- }
-}
-
-?>
-
-&Uuml;ber die Suchen-Funktion des Browsers kann diese Liste schnell nach einem Nick abgesucht werden.<br>
-Hinter diesem erscheint ein Link, &uuml;ber den man eintragen kann, dass der Engel sein T-Shirt erhalten hat.<br><br>
-
-Liste aller aktiven Engel:
-
-<?
-$SQL = "SELECT * from User where (Aktiv = 1) ORDER BY Nick ASC";
-$Erg = mysql_query($SQL, $con);
-
-$rowcount = mysql_num_rows($Erg);
-?>
-<table width="100%" class="border" cellpadding="2" cellspacing="1">
- <tr class="contenttopic">
- <td>Nick</td>
- <td>Aktiv?</td>
- <td>Gr&ouml;sse</td>
- <td>T-Shirt ausgeben:</td>
- </td>
-<?
-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, "Aktiv")."</td>\n";
- echo "\t\t<td>".mysql_result($Erg, $i, "Size")."</td>\n";
-
- if (mysql_result($Erg, $i, "Tshirt") =="1") {
- echo "\t\t<td>bereits erhalten</td>";
- } else {
- echo "\t\t<td><a href=\"./tshirt.php?aktiv=$eUID\">XXXXXXXX</a></td>";
- }
- echo "\t</tr>\n";
-}
-
-echo "</table>";
-
-include ("./inc/footer.php");
-?>
-