diff --git a/www-ssl/admin/schichtplan_druck.php b/www-ssl/admin/schichtplan_druck.php index a6ec2dbd..cabc0a42 100755 --- a/www-ssl/admin/schichtplan_druck.php +++ b/www-ssl/admin/schichtplan_druck.php @@ -4,14 +4,12 @@ $header = "Schichtpläne"; $submenus = 1; -if (!IsSet($action)) { -include ("./inc/header.php"); -include ("./inc/funktionen.php"); - -include ("./inc/funktion_schichtplan.php"); -include ("./inc/funktion_user.php"); - - +if (!IsSet($_POST["action"])) +{ + include ("./inc/header.php"); + include ("./inc/funktionen.php"); + include ("./inc/funktion_schichtplan.php"); + include ("./inc/funktion_user.php"); ?> Hallo ,
@@ -51,16 +49,14 @@ for ($i = 0 ; $i < mysql_fetch_row($Erg) ; $i++) @@ -73,22 +69,24 @@ for ($i = 0; $i < mysql_num_rows($res); $i++)

+ if (IsSet($_POST["Raum"]) AND IsSet($_POST["ausdatum"])) + { + $Raum = $_POST["Raum"]; + $ausdatum = $_POST["ausdatum"]; + + include ("./inc/db.php"); + include ("./inc/config.php"); + include ("./inc/secure.php"); + //var wird nur gesetzt immer edit auszublenden, achtung sesion darf nicht gestart sein !!! + $_SESSION['CVS'][ "admin/schichtplan.php" ] = "N"; + include ("./inc/funktion_lang.php"); + include ("./inc/funktion_schichtplan.php"); + include ("./inc/funktion_user.php"); + ?> @@ -110,7 +108,7 @@ include ("./inc/funktion_user.php"); Datum: - + Raum: