jap hab insgesamt 3 spalten!
<td width="7" bgcolor="#000000" height="393" align="center" valign="top" rowspan="4">
</td>
<td width="646" bgcolor="#FF6600" height="393" align="center" valign="top" rowspan="4">
<font face="Verdana" size="6">News
</font>
<?
if ($_GET["include"]!="") {
if (file_exists($_GET["include"])) {
include($_GET["include"]);
} else {
echo "Datei nicht gefunden";
}
}
?>
HIER 1. zelle die nicht funkt!
<td width="218" bgcolor="#FF6600" height="84" align="center" valign="top" background="wars1.gif">
</td>
</tr>
<tr>
HIER 2. zelle die nicht funkt!
<td width="218" bgcolor="#FF6600" height="84" align="center" valign="top" background="upcoming1.gif">
<p align="left"></a></font></td>
</tr>
<tr>
HIER 3. zelle die nicht funkt!
<td width="218" bgcolor="#FF6600" height="84" align="center" valign="top" background="counter1.gif">
<p align="center"><font size=1 face="Verdana"><?php include("ap-counter/bzaehler.php"); ?>
<?php
$datei = "onlinestat/useronline.dat";
$min = 5;
$time = time() - $min*60;
$current_ip = $_SERVER['REMOTE_ADDR'];
// alte Beiträge löschen
if(file_exists($datei)) {
$lines = file($datei);
foreach($lines as $key=>$data) {
list($ip, $timest) = explode("µ", $data);
if(trim($timest) < $time
|| trim($ip) == $current_ip) {
unset($lines[$key]);
}
}
}
$lines[] = $current_ip."µ".time()."\n";
$save = implode("", $lines);
$handle = fopen($datei, "w");
fputs($handle, $save);
fclose($handle);
$user = count($lines);
if($user == 1) {
echo "Es ist 1 User online";
} else {
echo "Es sind ".$user." User online";
}
?>
</td>
</tr>
<tr>
<td width="218" bgcolor="#FF6600" height="139" align="center" valign="top">
<font size=2 face="Verdana">- Powered by -</font>

</tr>
<tr>
<td with="218" height="100%" bgcolor="#FF6600" align="center" valign="top">
</td>
</tr>
</table>
HIER 1 zelle die nicht funkt!