From 75448045cfe70054c8f4bae1bcfaf9bb0f70d330 Mon Sep 17 00:00:00 2001 From: Moritz helios Rudert Date: Wed, 1 Jun 2011 12:13:39 +0200 Subject: fixes --- www-ssl/nonpublic/schichtplan_beamer.php | 96 +++++++++++++++----------------- 1 file changed, 45 insertions(+), 51 deletions(-) mode change 100755 => 100644 www-ssl/nonpublic/schichtplan_beamer.php (limited to 'www-ssl/nonpublic/schichtplan_beamer.php') diff --git a/www-ssl/nonpublic/schichtplan_beamer.php b/www-ssl/nonpublic/schichtplan_beamer.php old mode 100755 new mode 100644 index cc2a48e7..2e4e78c2 --- a/www-ssl/nonpublic/schichtplan_beamer.php +++ b/www-ssl/nonpublic/schichtplan_beamer.php @@ -1,61 +1,55 @@ + - - -Schichtpläne für Beamer - - - - - + +Schichtpläne für Beamer + + + + -echo "\n"; +\n"; echo "- - - - - \n"; - -echo "\n". -// "\t\n". - "\t\n". - "\t\n". - "\t\n". - "\t\n". - "\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 = "\n\t\n". $Out . "\n"; - - echo $Out; + + + + + \n"; + +echo "\n" . + "\n". + "\n". + "\n". + "\n". + "\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); + + if($AnzahlEintraege == 0) + $Out = ""; + else + $Out = "\n\n" . $Out . "\n"; + + echo $Out; } +?> -echo "
 ". gmdate("d.m.y", $Time). "". gmdate("H", $Time-3600). ":00". gmdate("H", $Time+0). ":00". gmdate("H", $Time+3600). ":00
_". $RoomEntry["Name"]. "_
". gmdate("d.m.y", $Time) ."". gmdate("H", $Time - 3600) . ":00". gmdate("H", $Time + 0) . ":00". gmdate("H", $Time + 3600) .":00
_" . $RoomEntry["Name"] . "_
\n"; + -?> - - + + -- cgit v1.2.3-54-g00ecf