summaryrefslogtreecommitdiff
path: root/admin
diff options
context:
space:
mode:
authorcookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8>2005-11-06 16:39:38 +0000
committercookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8>2005-11-06 16:39:38 +0000
commitb2ed0cd03d61675aefbd42d101c2698009840f45 (patch)
tree0287ce8a30dff32920f09e18aa71166c6d5051fa /admin
parentde656d885e687337698016024304300a8ac749ea (diff)
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
Diffstat (limited to 'admin')
-rwxr-xr-xadmin/aktiv.php12
-rwxr-xr-xadmin/tshirt.php6
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 "<form action=\"./aktiv.php\" method=\"post\">\n";
echo "\t<br><input type=\"submit\" name=\"ResetActive\" value=\"reset Active setting\">\n";
echo "</form>\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 "<br>\n\n".Get_Text("pub_aktive_Text5_1"). $Anzahl. Get_Text("pub_aktive_Text5_2"). ":";
+if( IsSet($_POST["Anzahl"]) )
+ echo "<br>\n\n".Get_Text("pub_aktive_Text5_1"). $_POST["Anzahl"]. Get_Text("pub_aktive_Text5_2"). ":";
echo "<br><br>\n\n";
@@ -68,11 +68,11 @@ for ($i=0; $i<$rowcount; $i++)
echo "\t\t<td>". mysql_result($Erg, $i, "NR"). "</td>\n";
echo "\t\t<td>". mysql_result($Erg, $i, "LEN"). "h</td>\n";
echo "\t\t<td>";
- 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)."<br>";
+ echo "Fehler beim speichern bei Engel ". UID2Nick($_GET["aktive"]). "<br>";
}
}