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