summaryrefslogtreecommitdiff
path: root/www-ssl/nonpublic/schichtplan_beamer.php
diff options
context:
space:
mode:
authorcookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8>2005-11-06 17:14:25 +0000
committercookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8>2005-11-06 17:14:25 +0000
commit866c47ec603595e8fe67da5f0e5d162a70b1f7b4 (patch)
treeef2b85462576150f017ba6bd53ace13dc60dc510 /www-ssl/nonpublic/schichtplan_beamer.php
parentfbc8e11b91b0565ae5d23472fc4e5bfc7d879939 (diff)
move files
git-svn-id: svn://svn.cccv.de/engel-system@20 29ba0400-6e00-0410-a75a-ca02368028f8
Diffstat (limited to 'www-ssl/nonpublic/schichtplan_beamer.php')
-rwxr-xr-xwww-ssl/nonpublic/schichtplan_beamer.php64
1 files changed, 64 insertions, 0 deletions
diff --git a/www-ssl/nonpublic/schichtplan_beamer.php b/www-ssl/nonpublic/schichtplan_beamer.php
new file mode 100755
index 00000000..bcaca64c
--- /dev/null
+++ b/www-ssl/nonpublic/schichtplan_beamer.php
@@ -0,0 +1,64 @@
+<?php
+include ("./inc/config.php");
+include ("./inc/db.php");
+include ("./inc/funktion_lang.php");
+
+include ("./inc/funktion_user.php");
+include ("./inc/funktionen.php");
+include ("./inc/funktion_schichtplan_beamer.php");
+
+$Time = time()+3600+3600;
+//$Time = 1104241344;
+?>
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<HTML>
+<HEAD>
+<TITLE>Schichtpl&auml;ne f&uuml;r Beamer</TITLE>
+<!--<link rel=stylesheet type="text/css" href="./inc/css/style1.css">-->
+<meta http-equiv="refresh" content="30; URL=<?echo substr($url, 0, strlen($url)-1). $_SERVER['PHP_SELF']?>">
+</HEAD>
+<BODY>
+<?
+
+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>\n";
+
+?>
+</BODY>
+</HTML>