|
|
|
@ -131,13 +131,18 @@ function ausgabe_Feld_Inhalt( $SID, $Man )
|
|
|
|
|
$Ergtime = mysql_query($SQLtime, $con);
|
|
|
|
|
if( mysql_num_rows( $Ergtime) > 0)
|
|
|
|
|
{
|
|
|
|
|
//mit sonder status
|
|
|
|
|
|
|
|
|
|
// $EngelTypeID[$TempValue["TID"]]
|
|
|
|
|
$SQLerlaubnis = "SELECT Name FROM `EngelType` WHERE TID = '". $TempValue["TID"]. "'";
|
|
|
|
|
$Ergerlaubnis = mysql_query( $SQLerlaubnis, $con);
|
|
|
|
|
if( mysql_num_rows( $Ergerlaubnis))
|
|
|
|
|
//setzen wenn nicht definiert
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
//wenn keien rechte definiert sind
|
|
|
|
|
if( !isset($_SESSION['CVS'][mysql_result( $Ergerlaubnis, 0, "Name")]))
|
|
|
|
|
$_SESSION['CVS'][mysql_result( $Ergerlaubnis, 0, "Name")] = "Y";
|
|
|
|
|
|
|
|
|
|
if( $_SESSION['CVS'][mysql_result( $Ergerlaubnis, 0, "Name")] == "Y")
|
|
|
|
|
if( $TempValue["free"] > 0 )
|
|
|
|
|
{
|
|
|
|
@ -156,6 +161,7 @@ function ausgabe_Feld_Inhalt( $SID, $Man )
|
|
|
|
|
$Spalten.= "</a>";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
if( isset($TempValue["free"]))
|
|
|
|
@ -206,7 +212,7 @@ function CreateRoomShifts( $raum )
|
|
|
|
|
echo "<h1>". Get_Text("pub_schichtplan_colision"). "</h1> ";
|
|
|
|
|
echo "<a href=\"./../admin/schichtplan.php?action=change&SID=". mysql_result($ErgSonder, 0, "SID"). "\">".
|
|
|
|
|
mysql_result($ErgSonder, 0, "DateS").
|
|
|
|
|
" '". mysql_result($ErgSonder, 0, "Man"). "' (00-24)".
|
|
|
|
|
" '". mysql_result($ErgSonder, 0, "Man")."' (RID $raum) (00-24)".
|
|
|
|
|
"</a><br>\n\t\t";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
@ -237,7 +243,7 @@ function CreateRoomShifts( $raum )
|
|
|
|
|
echo "<h1>". Get_Text("pub_schichtplan_colision"). "</h1> ";
|
|
|
|
|
echo "<a href=\"./../admin/schichtplan.php?action=change&SID=". mysql_result($ErgSonder, 0, "SID"). "\">".
|
|
|
|
|
mysql_result($ErgSonder, 0, "DateS").
|
|
|
|
|
" '". mysql_result($ErgSonder, 0, "Man"). "' (00-xx)".
|
|
|
|
|
" '". mysql_result($ErgSonder, 0, "Man")."' (RID $raum) (00-xx)".
|
|
|
|
|
"</a><br>\n\t\t";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|