|
|
@ -113,26 +113,22 @@ 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)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
$SpaltenTemp = "<td rowspan=\"$GlobalZeileProStunde\">";
|
|
|
|
|
|
|
|
if( ($i == gmdate("H", time()+3600)) && (gmdate("Y-m-d", time()+ 3600) == $ausdatum) )
|
|
|
|
|
|
|
|
$SpaltenTemp.= "<h1>";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if( $i < 10 )
|
|
|
|
//Stunde:
|
|
|
|
$SpaltenTemp.= "0";
|
|
|
|
$SpaltenTemp="";
|
|
|
|
$SpaltenTemp.= "$i:";
|
|
|
|
$SpaltenTemp.= ($i<10)? "0$i:": "$i:";
|
|
|
|
if( ( ($j*60) / $GlobalZeileProStunde) < 10 )
|
|
|
|
|
|
|
|
$SpaltenTemp.= "0";
|
|
|
|
//Minute
|
|
|
|
|
|
|
|
$TempMinuten = (($j*60) / $GlobalZeileProStunde);
|
|
|
|
|
|
|
|
$SpaltenTemp.= ($TempMinuten<10)? "0$TempMinuten": "$TempMinuten";
|
|
|
|
|
|
|
|
|
|
|
|
$SpaltenTemp.= ( ($j*60) / $GlobalZeileProStunde);
|
|
|
|
//aktuelle stunde markieren
|
|
|
|
if( ($i == gmdate("H", time()+3600)) && (gmdate("Y-m-d", time()+ 3600) == $ausdatum) )
|
|
|
|
if( ($i == gmdate("H", time()+3600)) && (gmdate("Y-m-d", time()+ 3600) == $ausdatum) )
|
|
|
|
$SpaltenTemp.= "</h1>";
|
|
|
|
$SpaltenTemp = "<h1>$SpaltenTemp</h1>";
|
|
|
|
|
|
|
|
|
|
|
|
$SpaltenTemp.= "</td>\n";
|
|
|
|
$SpaltenTemp = "<td>$SpaltenTemp</td>\n";
|
|
|
|
$Spalten[$i * $GlobalZeileProStunde + $j].= $SpaltenTemp;
|
|
|
|
$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";
|
|
|
|
|
|
|
|
|
|
|
|