auf global=off umgestellt

git-svn-id: svn://svn.cccv.de/engel-system@37 29ba0400-6e00-0410-a75a-ca02368028f8
This commit is contained in:
cookie 2005-11-09 22:24:02 +00:00
parent 99eb18f32c
commit 0987bb3c79
1 changed files with 29 additions and 31 deletions

View File

@ -4,14 +4,12 @@ $header = "Schichtpläne";
$submenus = 1;
if (!IsSet($action)) {
if (!IsSet($_POST["action"]))
{
include ("./inc/header.php");
include ("./inc/funktionen.php");
include ("./inc/funktion_schichtplan.php");
include ("./inc/funktion_user.php");
?>
Hallo <? echo $_SESSION['Nick']?>,<br>
@ -59,8 +57,6 @@ for ($i = 0; $i < mysql_num_rows($res); $i++)
$raum_name=mysql_result($res, $i, "Name");
echo "\t\t\t\t<option value=\"$rid\">$raum_name</option>\n";
}
?>
</select>
</td>
@ -73,18 +69,20 @@ for ($i = 0; $i < mysql_num_rows($res); $i++)
<br><br>
<?
include ("./inc/footer.php");
}
else
else //#################################################################
{
if (IsSet($Raum) AND IsSet($ausdatum))
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");
<tr>
<td width="250" align="left">
<span style="font-weight:bold;font-size:100%">Datum:</span>
<span style="font-weight:bold;font-size:200%"><? echo $date; ?></span>
<span style="font-weight:bold;font-size:200%"><? echo $ausdatum; ?></span>
</td>
<td width="350" align="right">
<span style="font-weight:bold;font-size:100%">Raum:</span>