2005-09-10 19:25:43 +02:00
|
|
|
<?php
|
2008-12-22 20:55:00 +01:00
|
|
|
include ("../../includes/header_start.php");
|
2005-09-10 19:25:43 +02:00
|
|
|
|
2008-09-26 19:34:23 +02:00
|
|
|
include ("../../includes/funktionen.php");
|
|
|
|
include ("../../includes/funktion_schichtplan_beamer.php");
|
2005-09-10 19:25:43 +02:00
|
|
|
|
|
|
|
$Time = time()+3600+3600;
|
2005-10-21 18:45:07 +02:00
|
|
|
//$Time = 1104241344;
|
|
|
|
?>
|
|
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
|
|
<HTML>
|
|
|
|
<HEAD>
|
|
|
|
<TITLE>Schichtpläne für Beamer</TITLE>
|
2008-09-26 19:34:23 +02:00
|
|
|
<!--<link rel=stylesheet type="text/css" href="/css/style1.css">-->
|
2005-11-30 23:13:38 +01:00
|
|
|
<meta http-equiv="refresh" content="30; URL=<?PHP echo substr($url, 0, strlen($url)-1). $_SERVER['PHP_SELF']?>">
|
2005-10-21 18:45:07 +02:00
|
|
|
</HEAD>
|
|
|
|
<BODY>
|
2005-11-30 23:13:38 +01:00
|
|
|
<?PHP
|
2005-09-10 19:25:43 +02:00
|
|
|
|
|
|
|
echo "<table border=\"1\" width=\"100%\" height=\"100%\" cellpadding=\"0\" cellspacing=\"0\" frame=\"void\">\n";
|
|
|
|
|
|
|
|
echo "<colgroup span=\"4\" valign=\"center\">
|
|
|
|
<col width=\"30\">
|
|
|
|
<col width=\"3*\">
|
|
|
|
<col width=\"3*\">
|
|
|
|
<col width=\"3*\">
|
|
|
|
</colgroup>\n";
|
|
|
|
|
|
|
|
echo "<tr align=\"center\">\n".
|
|
|
|
// "\t<td> </td>\n".
|
|
|
|
"\t<td>". gmdate("d.m.y", $Time). "</td>\n".
|
|
|
|
"\t<td>". gmdate("H", $Time-3600). ":00</td>\n".
|
|
|
|
"\t<td>". gmdate("H", $Time+0). ":00</td>\n".
|
|
|
|
"\t<td>". gmdate("H", $Time+3600). ":00</td>\n".
|
|
|
|
"</tr>\n";
|
|
|
|
|
|
|
|
foreach( $Room as $RoomEntry )
|
|
|
|
{
|
|
|
|
|
|
|
|
//var-init
|
|
|
|
$AnzahlEintraege = 0;
|
|
|
|
|
|
|
|
$Out = ausgabe_Zeile( $RoomEntry["RID"], $Time-3600, $AnzahlEintraege);
|
|
|
|
$Out.= ausgabe_Zeile( $RoomEntry["RID"], $Time, $AnzahlEintraege);
|
|
|
|
$Out.= ausgabe_Zeile( $RoomEntry["RID"], $Time+3600, $AnzahlEintraege);
|
|
|
|
|
|
|
|
|
|
|
|
//entfernt leere zeilen
|
|
|
|
if( $AnzahlEintraege==0 )
|
|
|
|
$Out = "";
|
|
|
|
else
|
|
|
|
$Out = "<tr>\n\t<td>_". $RoomEntry["Name"]. "_</td>\n". $Out . "</tr>\n";
|
|
|
|
|
|
|
|
echo $Out;
|
|
|
|
}
|
|
|
|
|
2005-10-21 18:45:07 +02:00
|
|
|
echo "</table>\n";
|
2005-09-10 19:25:43 +02:00
|
|
|
|
|
|
|
?>
|
2005-10-21 18:45:07 +02:00
|
|
|
</BODY>
|
|
|
|
</HTML>
|