From b2ed0cd03d61675aefbd42d101c2698009840f45 Mon Sep 17 00:00:00 2001 From: cookie Date: Sun, 6 Nov 2005 16:39:38 +0000 Subject: fehlen nur noch im admi bereich: # News-Verwaltung # FAQ # Freie Engel git-svn-id: svn://svn.cccv.de/engel-system@17 29ba0400-6e00-0410-a75a-ca02368028f8 --- admin/aktiv.php | 12 ++++++------ admin/tshirt.php | 6 +++--- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/admin/aktiv.php b/admin/aktiv.php index 419be35c..e0ddf3a4 100755 --- a/admin/aktiv.php +++ b/admin/aktiv.php @@ -25,7 +25,7 @@ echo "
\n"; echo "\t
\n"; echo "
\n"; -if( Isset($ResetActive) ) +if( Isset($_POST["ResetActive"]) ) { $SQLreset = "UPDATE `User` SET `Aktiv` = '0'"; $ErgReset = mysql_query($SQLreset, $con); @@ -35,8 +35,8 @@ if( Isset($ResetActive) ) echo "Active wurde erfolgreich zurueckgesetzt\n"; } -if( IsSet($Anzahl) ) - echo "
\n\n".Get_Text("pub_aktive_Text5_1"). $Anzahl. Get_Text("pub_aktive_Text5_2"). ":"; +if( IsSet($_POST["Anzahl"]) ) + echo "
\n\n".Get_Text("pub_aktive_Text5_1"). $_POST["Anzahl"]. Get_Text("pub_aktive_Text5_2"). ":"; echo "

\n\n"; @@ -68,11 +68,11 @@ for ($i=0; $i<$rowcount; $i++) echo "\t\t". mysql_result($Erg, $i, "NR"). "\n"; echo "\t\t". mysql_result($Erg, $i, "LEN"). "h\n"; echo "\t\t"; - if (IsSet($Anzahl)) + if (IsSet($_POST["Anzahl"])) { - if( $Anzahl < mysql_result($Erg, $i, "LEN") ) + if( $_POST["Anzahl"] < mysql_result($Erg, $i, "LEN") ) { - if( $SendType=="Show..") + if( $_POST["SendType"]=="Show..") echo "show set"; else { diff --git a/admin/tshirt.php b/admin/tshirt.php index 3bdd1902..2a3ea500 100755 --- a/admin/tshirt.php +++ b/admin/tshirt.php @@ -7,13 +7,13 @@ include ("./inc/funktion_db_list.php"); include ("./inc/funktion_user.php"); -If (IsSet($aktiv)) { +If (IsSet($_GET["aktiv"])) { - $SQL="Update User set Tshirt=\"1\" where UID=\"$aktiv\" limit 1"; + $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($eUID)."
"; + echo "Fehler beim speichern bei Engel ". UID2Nick($_GET["aktive"]). "
"; } } -- cgit v1.2.3-54-g00ecf