PHP-Code:
<? if ($_SESSION['login'] == 'true') {
menuehead("Wer ist online");
include ("lib/weristonline.php");
menuefoot();
menuehead("WMS");?>
<a href="?content=/wms/index"> Werbung Buchen </a>
<?php menuefoot();
}
$filename = 'lib/texte/box1.txt';
$fp = fopen ($filename, "r");
$inhalt = fread ($fp, filesize ($filename));
fclose ($fp);
$inhalt = str_replace('\\', '', $inhalt);
$filename = 'lib/texte/box2.txt';
$fp = fopen ($filename, "r");
$inhalt = fread ($fp, filesize ($filename));
fclose ($fp);
$inhalt = str_replace('\\', '', $inhalt);
if ($inhalt != ''){
menuehead("Partner");
echo nl2br($inhalt);
menuefoot();
}
?>