diff options
Diffstat (limited to 'www-ssl/admin')
-rwxr-xr-x | www-ssl/admin/user.php | 12 | ||||
-rwxr-xr-x | www-ssl/admin/user2.php | 5 |
2 files changed, 15 insertions, 2 deletions
diff --git a/www-ssl/admin/user.php b/www-ssl/admin/user.php index 2a886e23..7b7b2949 100755 --- a/www-ssl/admin/user.php +++ b/www-ssl/admin/user.php @@ -195,6 +195,18 @@ else echo " checked"; echo ">Yes \n"; echo "</td></tr>\n"; + + // Menu links/rechts + echo " <tr><td>Menu</td><td>\n"; + echo " <input type=\"radio\" name=\"eMenu\" value=\"L\""; + if (mysql_result($Erg, 0, "Menu")=='L') + echo " checked"; + echo ">L \n"; + echo " <input type=\"radio\" name=\"eMenu\" value=\"R\""; + if (mysql_result($Erg, 0, "Menu")=='R') + echo " checked"; + echo ">R \n"; + echo "</td></tr>\n"; } //IF TYPE } if( $_GET["Type"] == "Secure" ) diff --git a/www-ssl/admin/user2.php b/www-ssl/admin/user2.php index d4daaf23..36588457 100755 --- a/www-ssl/admin/user2.php +++ b/www-ssl/admin/user2.php @@ -17,7 +17,7 @@ if (IsSet($_GET["action"])) if ($Erg == 1) { echo "Änderung wurde gesichert...\n"; } else { - echo "Fehler beim speichern...\n"; + echo "Fehler beim speichern...\n(". mysql_error($con). ")"; } } @@ -42,7 +42,8 @@ if (IsSet($_GET["action"])) "`Size` = '". $_POST["eSize"]. "', ". "`Gekommen`= '". $_POST["eGekommen"]. "', ". "`Aktiv`= '". $_POST["eAktiv"]. "', ". - "`Tshirt` = '". $_POST["eTshirt"]. "' ". + "`Tshirt` = '". $_POST["eTshirt"]. "', ". + "`Menu` = '". $_POST["eMenu"]. "' ". "WHERE `UID` = '". $_POST["enterUID"]. "' LIMIT 1;"; echo "User-"; |