diff options
Diffstat (limited to 'nonpublic/schichtplan.1.php')
-rwxr-xr-x | nonpublic/schichtplan.1.php | 19 |
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> 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"; +} + +?> |