From 375d4143d1f5f8ad2c39597160fa1d0282e322ae Mon Sep 17 00:00:00 2001 From: cookie Date: Mon, 21 Nov 2005 18:34:30 +0000 Subject: auswahl ob menu links oder rechst hinzugefuegt git-svn-id: svn://svn.cccv.de/engel-system@75 29ba0400-6e00-0410-a75a-ca02368028f8 --- www-ssl/nonpublic/einstellungen.php | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'www-ssl/nonpublic/einstellungen.php') diff --git a/www-ssl/nonpublic/einstellungen.php b/www-ssl/nonpublic/einstellungen.php index 4c9bd721..64b8d321 100755 --- a/www-ssl/nonpublic/einstellungen.php +++ b/www-ssl/nonpublic/einstellungen.php @@ -70,6 +70,12 @@ if (!IsSet($_POST["action"])) + Menu + >L + >R + "> @@ -166,15 +172,19 @@ case 'set': case 'colour': - $chsql="Update User set color= \"". $_POST["colourid"]. "\" where UID = \"".$_SESSION['UID']."\" limit 1"; + $chsql="Update User set ". + "`color` = \"". $_POST["colourid"]. "\", ". + "`Menu`= \"". $_POST["eMenu"]. "\" ". + "where UID = \"".$_SESSION['UID']."\" limit 1"; $Erg = mysql_query($chsql, $con); + echo mysql_error($con); $_SESSION['color']=$_POST["colourid"]; + $_SESSION['Menu']=$_POST["eMenu"]; if ($Erg==1) { Print_Text(32); } else { Print_Text(29); } - break; case 'sprache': @@ -187,7 +197,6 @@ case 'sprache': } else { Print_Text(29); } - break; case 'avatar': -- cgit v1.2.3-54-g00ecf