summaryrefslogtreecommitdiff
path: root/nonpublic/schichtplan_beamer.php
diff options
context:
space:
mode:
authorcookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8>2005-09-10 17:25:43 +0000
committercookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8>2005-09-10 17:25:43 +0000
commit310c2ce98fc8c0e94559c9ed8587101d92f6e853 (patch)
tree7093065a133e434fb7e551803e8700661d04c5bb /nonpublic/schichtplan_beamer.php
add total system
git-svn-id: svn://svn.cccv.de/engel-system@1 29ba0400-6e00-0410-a75a-ca02368028f8
Diffstat (limited to 'nonpublic/schichtplan_beamer.php')
-rwxr-xr-xnonpublic/schichtplan_beamer.php56
1 files changed, 56 insertions, 0 deletions
diff --git a/nonpublic/schichtplan_beamer.php b/nonpublic/schichtplan_beamer.php
new file mode 100755
index 00000000..c862fefa
--- /dev/null
+++ b/nonpublic/schichtplan_beamer.php
@@ -0,0 +1,56 @@
+<?php
+$title = "Himmel";
+$header = "Schichtpl&auml;ne f&uuml;r Beamer";
+$Page["Public"] = "Y";
+$Page["ShowTabel"] = "N";
+$Page["AutoReload"] = 30;
+
+include ("./inc/header.php");
+include ("./inc/funktion_user.php");
+include ("./inc/funktionen.php");
+include ("./inc/funktion_schichtplan_beamer.php");
+
+$Time = time()+3600+3600;
+
+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>&nbsp;</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;
+}
+
+echo "</table>";
+
+
+include ("./inc/footer.php");
+?>