|
|
@ -113,25 +113,21 @@ else
|
|
|
|
{
|
|
|
|
{
|
|
|
|
$Spalten[$i * $GlobalZeileProStunde + $j] =
|
|
|
|
$Spalten[$i * $GlobalZeileProStunde + $j] =
|
|
|
|
"\t<tr class=\"content\">\n\t\t";
|
|
|
|
"\t<tr class=\"content\">\n\t\t";
|
|
|
|
if( $j==0)
|
|
|
|
|
|
|
|
{
|
|
|
|
//Stunde:
|
|
|
|
$SpaltenTemp = "<td rowspan=\"$GlobalZeileProStunde\">";
|
|
|
|
$SpaltenTemp="";
|
|
|
|
if( ($i == gmdate("H", time()+3600)) && (gmdate("Y-m-d", time()+ 3600) == $ausdatum) )
|
|
|
|
$SpaltenTemp.= ($i<10)? "0$i:": "$i:";
|
|
|
|
$SpaltenTemp.= "<h1>";
|
|
|
|
|
|
|
|
|
|
|
|
//Minute
|
|
|
|
if( $i < 10 )
|
|
|
|
$TempMinuten = (($j*60) / $GlobalZeileProStunde);
|
|
|
|
$SpaltenTemp.= "0";
|
|
|
|
$SpaltenTemp.= ($TempMinuten<10)? "0$TempMinuten": "$TempMinuten";
|
|
|
|
$SpaltenTemp.= "$i:";
|
|
|
|
|
|
|
|
if( ( ($j*60) / $GlobalZeileProStunde) < 10 )
|
|
|
|
//aktuelle stunde markieren
|
|
|
|
$SpaltenTemp.= "0";
|
|
|
|
if( ($i == gmdate("H", time()+3600)) && (gmdate("Y-m-d", time()+ 3600) == $ausdatum) )
|
|
|
|
|
|
|
|
$SpaltenTemp = "<h1>$SpaltenTemp</h1>";
|
|
|
|
$SpaltenTemp.= ( ($j*60) / $GlobalZeileProStunde);
|
|
|
|
|
|
|
|
if( ($i == gmdate("H", time()+3600)) && (gmdate("Y-m-d", time()+ 3600) == $ausdatum) )
|
|
|
|
$SpaltenTemp = "<td>$SpaltenTemp</td>\n";
|
|
|
|
$SpaltenTemp.= "</h1>";
|
|
|
|
$Spalten[$i * $GlobalZeileProStunde + $j].= $SpaltenTemp;
|
|
|
|
|
|
|
|
|
|
|
|
$SpaltenTemp.= "</td>\n";
|
|
|
|
|
|
|
|
$Spalten[$i * $GlobalZeileProStunde + $j].= $SpaltenTemp;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if( $raum == -1 )
|
|
|
|
if( $raum == -1 )
|
|
|
@ -146,7 +142,9 @@ else
|
|
|
|
|
|
|
|
|
|
|
|
//Ausageb Zeilen
|
|
|
|
//Ausageb Zeilen
|
|
|
|
for ($i = 0; $i < (24 * $GlobalZeileProStunde); $i++)
|
|
|
|
for ($i = 0; $i < (24 * $GlobalZeileProStunde); $i++)
|
|
|
|
|
|
|
|
{
|
|
|
|
echo $Spalten[$i]."\t</tr>\n";
|
|
|
|
echo $Spalten[$i]."\t</tr>\n";
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
echo "</table>\n";
|
|
|
|
echo "</table>\n";
|
|
|
|
|
|
|
|
|
|
|
|