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
This commit is contained in:
parent
de656d885e
commit
b2ed0cd03d
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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>";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue