""){ $_SESSION["session_sprache"] = $_GET["chg_sprache"]; } if($_SESSION["session_ma"] > 0){ $form_fields = array_keys($_POST); if(sizeof($form_fields) > 1){ for ($i = 0; $i < sizeof($form_fields);$i++){; $thisfield = $form_fields[$i]; $thisvalue = $_POST[$thisfield]; if($thisfield <> "cl"){ $newQueryString .= $thisfield."=".$thisvalue."&"; } } }else{ $newQueryString = $_SERVER["QUERY_STRING"] ."&"; } if($_GET["tbl"] == "logout"){ setcookie ("entwicklungsadmin", '', time()-3600 , "/"); $_SESSION["session_ma"] = 0; header("location: ".$_SESSION["session_page"].".php?".$newQueryString); exit; } } if($_GET["tbl"] == "live"){ $_SESSION["admin_korr_tbl"] = "live"; }else if($_GET["tbl"] == "korr"){ $_SESSION["admin_korr_tbl"] = "korr"; } if($_GET["chgVers"] == "handel"){ $_SESSION["session_shop"] = "handel"; }else if($_GET["chgVers"] == "light"){ $_SESSION["session_shop"] = "light"; } if($_POST["loginsent"] == 1){ $login_code = checkUser($_POST["login"],$_POST["pwd"]); } if($_GET["cl"] <> ""){ updateSessionSprache($_GET["cl"]); } $sprache = $_SESSION["session_sprache"]; if($_GET["eform"] <> ""){ $eform = $_GET["eform"]; }else{ $eform = $_POST["eform"]; } if($_GET["menuref"] <> ""){ $menuref = $_GET["menuref"]; }else{ $menuref = $_POST["menuref"]; } // SOLLTE KEINE MAINID ÜBERGEBEN WERDEN DIE STARTSEITE AUS DER DB LESEN UND SETZEN if($menuref == ""){ $sqlStart = "SELECT id FROM tbl_menu WHERE startseite = 1"; $rsStart = MysqlQuery($sqlStart); if(mysql_num_rows($rsStart)>0){ $mainid = mysql_result($rsStart,0,0); } } if($_REQUEST["mainid"] <> ""){ $mainid = $_REQUEST["mainid"]; } if($_GET["subid"] <> ""){ $subid = $_GET["subid"]; }else{ $subid = $_POST["subid"]; } if($_GET["subpage"] <> ""){ $subpage = $_GET["subpage"]; }else{ $subpage = $_POST["subpage"]; } if($_GET["act"] <> ""){ $act = $_GET["act"]; }else{ $act = $_POST["act"]; } if($_GET["actid"] <> ""){ $actid = $_GET["actid"]; }else{ $actid = $_POST["actid"]; } if($_GET["subact"] <> ""){ $subact = $_GET["subact"]; }else{ $subact = $_POST["subact"]; } if($_GET["prodgrp"] <> ""){ $prodgrp = $_GET["prodgrp"]; }else{ $prodgrp = $_POST["prodgrp"]; } include ("./inc/admin/general.inc.php"); include ("./inc/admin/admin_session.inc.php"); include ("./inc/menu_show.inc.php"); include ("./inc/general_front.inc.php"); include ("./inc/content_start_front.inc.php"); include ("./inc/content_front.inc.php"); include ("./inc/module_front.inc.php"); include ("./inc/werbung_front.inc.php"); include ("./inc/admin/korrektur.inc.php"); include ("./inc/suche.inc.php"); ?> <? include "inc/inserts/title.php"; ?>