Code:
<? if ($_SESSION['login'] == 'true') {?>
<?menuehead("Games");?>
<ul>
<li><a href="#">Link</a></li>
<li><a href="#">Link</a></li>
<li><a href="#">Link</a></li>
<li><a href="#">Link</a></li>
</ul>
<?menuefoot();
menuehead("Wer ist online");
include ("lib/weristonline.php");
menuefoot();
}
$filename = 'lib/texte/box1.txt';
$fp = fopen ($filename, "r");
$inhalt = fread ($fp, filesize ($filename));
fclose ($fp);
$inhalt = str_replace('\\', '', $inhalt);
if ($inhalt != ''){
menuehead("Unsere Sponsoren");
echo nl2br($inhalt);
menuefoot();
}
?>
in
Code:
<? if ($_SESSION['login'] == 'true') {?>
<?menuehead("Games");?>
<ul>
<li><a href="#">Link</a></li>
<li><a href="#">Link</a></li>
<li><a href="#">Link</a></li>
<li><a href="#">Link</a></li>
</ul>
<?menuefoot();
}
menuehead("Wer ist online");
include ("lib/weristonline.php");
menuefoot();
$filename = 'lib/texte/box1.txt';
$fp = fopen ($filename, "r");
$inhalt = fread ($fp, filesize ($filename));
fclose ($fp);
$inhalt = str_replace('\\', '', $inhalt);
if ($inhalt != ''){
menuehead("Unsere Sponsoren");
echo nl2br($inhalt);
menuefoot();
}
?>
Aber vielei solltest mal darüber nachdenken dir jemanden ins Boot zu holen der sich mit Programmierung auskennt.