summaryrefslogtreecommitdiff
path: root/nonpublic/schichtplan.1.php
diff options
context:
space:
mode:
Diffstat (limited to 'nonpublic/schichtplan.1.php')
-rwxr-xr-xnonpublic/schichtplan.1.php19
1 files changed, 19 insertions, 0 deletions
diff --git a/nonpublic/schichtplan.1.php b/nonpublic/schichtplan.1.php
new file mode 100755
index 00000000..09671527
--- /dev/null
+++ b/nonpublic/schichtplan.1.php
@@ -0,0 +1,19 @@
+<h4>&nbsp;Tage </h4>
+
+<?
+
+$SQL = "SELECT `DateS` FROM `Shifts` ORDER BY `DateS`";
+$Erg = mysql_query($SQL, $con);
+
+for ($i = 0 ; $i < mysql_fetch_row($Erg) ; $i++)
+ if ($tmp != substr(mysql_result($Erg, $i , 0), 0,10)) {
+ $tmp = substr(mysql_result($Erg, $i , 0), 0,10);
+ echo "\t<li><a href='./schichtplan.php?ausdatum=$tmp";
+ // ist ein raum gesetzt?
+ if (IsSet($raum)) {
+ echo "&raum=$raum";
+ }
+ echo "'>$tmp</a></li>\n";
+}
+
+?>