|
|
@ -4,14 +4,12 @@ $header = "Schichtpläne";
|
|
|
|
$submenus = 1;
|
|
|
|
$submenus = 1;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (!IsSet($action)) {
|
|
|
|
if (!IsSet($_POST["action"]))
|
|
|
|
include ("./inc/header.php");
|
|
|
|
{
|
|
|
|
include ("./inc/funktionen.php");
|
|
|
|
include ("./inc/header.php");
|
|
|
|
|
|
|
|
include ("./inc/funktionen.php");
|
|
|
|
include ("./inc/funktion_schichtplan.php");
|
|
|
|
include ("./inc/funktion_schichtplan.php");
|
|
|
|
include ("./inc/funktion_user.php");
|
|
|
|
include ("./inc/funktion_user.php");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
?>
|
|
|
|
?>
|
|
|
|
|
|
|
|
|
|
|
|
Hallo <? echo $_SESSION['Nick']?>,<br>
|
|
|
|
Hallo <? echo $_SESSION['Nick']?>,<br>
|
|
|
@ -51,16 +49,14 @@ for ($i = 0 ; $i < mysql_fetch_row($Erg) ; $i++)
|
|
|
|
<select name="Raum">
|
|
|
|
<select name="Raum">
|
|
|
|
<?php
|
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
|
|
$res = mysql_query("SELECT Name, RID FROM `Room` WHERE `show`!='N' ORDER BY Name;",$con);
|
|
|
|
$res = mysql_query("SELECT Name, RID FROM `Room` WHERE `show`!='N' ORDER BY Name;",$con);
|
|
|
|
|
|
|
|
|
|
|
|
for ($i = 0; $i < mysql_num_rows($res); $i++)
|
|
|
|
for ($i = 0; $i < mysql_num_rows($res); $i++)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
$rid=mysql_result($res,$i,"RID");
|
|
|
|
$rid=mysql_result($res,$i,"RID");
|
|
|
|
$raum_name=mysql_result($res, $i, "Name");
|
|
|
|
$raum_name=mysql_result($res, $i, "Name");
|
|
|
|
echo "\t\t\t\t<option value=\"$rid\">$raum_name</option>\n";
|
|
|
|
echo "\t\t\t\t<option value=\"$rid\">$raum_name</option>\n";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
?>
|
|
|
|
?>
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
</td>
|
|
|
|
</td>
|
|
|
@ -73,22 +69,24 @@ for ($i = 0; $i < mysql_num_rows($res); $i++)
|
|
|
|
|
|
|
|
|
|
|
|
<br><br>
|
|
|
|
<br><br>
|
|
|
|
<?
|
|
|
|
<?
|
|
|
|
|
|
|
|
include ("./inc/footer.php");
|
|
|
|
include ("./inc/footer.php");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else
|
|
|
|
else //#################################################################
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (IsSet($Raum) AND IsSet($ausdatum))
|
|
|
|
|
|
|
|
{
|
|
|
|
{
|
|
|
|
include ("./inc/db.php");
|
|
|
|
if (IsSet($_POST["Raum"]) AND IsSet($_POST["ausdatum"]))
|
|
|
|
include ("./inc/config.php");
|
|
|
|
{
|
|
|
|
include ("./inc/funktion_lang.php");
|
|
|
|
$Raum = $_POST["Raum"];
|
|
|
|
include ("./inc/funktion_schichtplan.php");
|
|
|
|
$ausdatum = $_POST["ausdatum"];
|
|
|
|
include ("./inc/funktion_user.php");
|
|
|
|
|
|
|
|
?>
|
|
|
|
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");
|
|
|
|
|
|
|
|
?>
|
|
|
|
|
|
|
|
|
|
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
|
|
<html>
|
|
|
|
<html>
|
|
|
@ -110,7 +108,7 @@ include ("./inc/funktion_user.php");
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<td width="250" align="left">
|
|
|
|
<td width="250" align="left">
|
|
|
|
<span style="font-weight:bold;font-size:100%">Datum:</span>
|
|
|
|
<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>
|
|
|
|
<td width="350" align="right">
|
|
|
|
<td width="350" align="right">
|
|
|
|
<span style="font-weight:bold;font-size:100%">Raum:</span>
|
|
|
|
<span style="font-weight:bold;font-size:100%">Raum:</span>
|
|
|
|