Versuche es mal so:
PHP-Code:
<? menuehead("Navigation");
if ($_SESSION['login'] == 'true') {?>
<img src="images/pfeil.gif" border="0" alt=""> <a href="?content=/konto/uebersicht">Kontoübersicht</a><br>
<img src="images/pfeil.gif" border="0" alt=""> <a href="?content=/konto/buchungen">Transaktionsliste</a><br>
<img src="images/pfeil.gif" border="0" alt=""> <a href="?content=/konto/bonustransfer">BonusLose überw.</a><br>
<img src="images/pfeil.gif" border="0" alt=""> <a href="?content=/konto/umbuchen">BonusLose umb.</a><br>
<img src="images/pfeil.gif" border="0" alt=""> <a href="?content=/konto/nickpage">Nickpage einr.</a><br>
<img src="images/pfeil.gif" border="0" alt=""> <a href="?content=/konto/tresor">Tresor</a><br>
<img src="/images/pfeil.gif" border="0" alt=""> <a href="?content=/konto/transfer">Überweisung</a><br>
<img src="images/pfeil.gif" border="0" alt=""> <a href="?content=/konto/refuebersicht">Refübersicht</a><br />
<img src="images/pfeil.gif" border="0" alt=""> <a href="?content=/konto/userprofil">Userprofil</a><br />
<img src="images/pfeil.gif" border="0" alt=""> <a href="?content=/intern/startseite&logout=true"><i>Logout</i></a>
<?} else {?>
<form action="" method="post">
<table width="100%" align="center" cellpadding="0" cellspacing="0" border="0">
<tr>
<td align="center">
<b>Nickname:</b><br>
<input type="Text" name="nickname" value="<?=$_POST['nickname'];?>" style="width=110px;"><br>
<b>Passwort:</b><br>
<input type="Password" name="passwort" value="" style="width=110px;"><br>
<select name="autologin" size="1" style="width=110px;">
<option value="true" SELECTED>Mit Autologin </option>
<option value="false">Ohne Autologin </option>
</select><br>
<br>
<input type="Submit" name="checkid" value="Login" style="width=110px;"><br><br>
</td>
</tr>
<tr>
<td height="15" align="left">
<img src="images/pfeil.gif" border="0" alt=""> <a href="?content=/intern/daten">Daten vergessen?</a>
</td>
</tr>
<tr>
<td height="15" align="left">
<img src="images/pfeil.gif" border="0" alt=""> <a href="?content=/intern/anmelden">Registrieren</a>
</td>
</tr>
</table>
</form>
<? } ?>
<? menuefoot();?>
<? if ($_SESSION['login'] == 'true') {?>
<?menuehead("PN System");?>
<img src="images/pfeil.gif" border="0" alt=""> <a href="?content=/pnsys/inbox">Posteingang</a>
<?
$sql = db_query("SELECT COUNT(id) AS neu FROM ".$db_prefix."_inbox WHERE empfaenger_id=".$_SESSION['uid']." AND gelesen=0");
$msg = @mysql_fetch_array($sql);
echo '<b>('.$msg['neu'].')</b>'; ?><br>
<img src="images/pfeil.gif" border="0" alt=""> <a href="?content=/pnsys/outbox">Postausgang</a><br>
<img src="images/pfeil.gif" border="0" alt=""> <a href="?content=/pnsys/neu">Neue PN</a><br />
<img src="images/pfeil.gif" border="0" alt=""> <a href="?content=/pnsys/nref">PN an meine Refs</a><br />
<img src="images/pfeil.gif" border="0" alt=""> <a href="?content=/intern/alert-messenger/user">interner Chat</a><br />
<? menuefoot();?>
<? menuehead("Klick4");
if ($_SESSION['login'] == 'true') {?>
<?
//Anzahl unbestätigter Kampagnen ermitteln
$hfhistory = mysql_num_rows(db_query("SELECT t1.tan FROM ".$db_prefix."_gebuchte_werbung AS t1 LEFT OUTER JOIN ".$db_prefix."_reloads AS t2 ON (t2.tan = t1.tan AND (t2.uid = ".$_SESSION['uid']." OR t2.ip = '".$ip."') AND t2.bis >= '".time()."') WHERE t2.tan IS NULL AND t1.werbeart = 'highforced' AND t1.menge > 0 AND t1.status = 1 AND t1.verdienst > 0 AND t1.sponsor != '".$_SESSION['uid']."'"));
$fbhistory = mysql_num_rows(db_query("SELECT t1.tan FROM ".$db_prefix."_gebuchte_werbung AS t1 LEFT OUTER JOIN ".$db_prefix."_reloads AS t2 ON (t2.tan = t1.tan AND (t2.uid = ".$_SESSION['uid']." OR t2.ip = '".$ip."') AND t2.bis >= '".time()."') WHERE t2.tan IS NULL AND t1.werbeart = 'forcedbanner' AND t1.menge > 0 AND t1.status = 1 AND t1.verdienst > 0 AND t1.sponsor != '".$_SESSION['uid']."'"));
$plhistory = mysql_num_rows(db_query("SELECT t1.tan FROM ".$db_prefix."_gebuchte_werbung AS t1 LEFT OUTER JOIN ".$db_prefix."_reloads AS t2 ON (t2.tan = t1.tan AND (t2.uid = ".$_SESSION['uid']." OR t2.ip = '".$ip."') AND t2.bis >= '".time()."') WHERE t2.tan IS NULL AND t1.werbeart = 'paidlinks' AND t1.menge > 0 AND t1.status = 1 AND t1.verdienst > 0 AND t1.sponsor != '".$_SESSION['uid']."'"));
$pmhistory = mysql_num_rows(db_query("SELECT t1.tan FROM ".$db_prefix."_gebuchte_werbung AS t1 LEFT OUTER JOIN ".$db_prefix."_reloads_mail AS t2 ON (t2.tan = t1.tan AND (t2.uid = ".$_SESSION['uid']." OR t2.ip = '".$ip."') AND t2.bis >= '".time()."') WHERE t2.tan IS NULL AND t1.werbeart = 'paidmail' AND t1.menge > 0 AND t1.status = 1 AND t1.verdienst > 0 AND t1.sponsor != '".$_SESSION['uid']."'"));
?>
<img src="images/pfeil.gif" border="0" alt=""> <a href="?content=/start"><b>Startseite</b> <?=$startanzeige?></a><br>
<img src="images/pfeil.gif" border="0" alt=""> <a href="?content=/verdienen/betteln4">Betteln4ShopLose</a><br>
<img src="images/pfeil.gif" border="0" alt=""> <a href="surf.php" target="_blank" class="menue">Surfbar (OFF)</a><br>
<img src="images/pfeil.gif" border="0" alt=""> <a href="?content=/verdienen/klick4">Paidbanner(<?=$fbhistory;?>)</a><br>
<img src="images/pfeil.gif" border="0" alt=""> <a href="?content=/verdienen/paidlinks">Paidlinks(<?=$plhistory;?>)</a><br>
<img src="images/pfeil.gif" border="0" alt=""> <a href="?content=/verdienen/highforced">Highforced Banner(<?=$hfhistory;?>)</a><br>
<img src="images/pfeil.gif" border="0" alt=""> <a href="?content=/verdienen/klick4win">Klick4Win</a><br>
<img src="images/pfeil.gif" border="0" alt=""> <a href="?content=/verdienen/easy-inbox">Paidmails (<?=$pmhistory;?>)</a><br>
<? menuefoot();?>
<? menuehead("Zusatzverdienst");?>
<img src="images/pfeil.gif" border="0" alt=""> <a href="?content=/verdienen/bonusaktionen">Bonusaktionen</a><br>
<img src="images/pfeil.gif" border="0" alt=""> <a href="?content=/bonus/aktionen">Bonusaktionen 2</a><br>
<? menuefoot();?>
<? menuehead("PrämienShop");?>
<img src="images/pfeil.gif" border="0" alt=""> <a href="?content=/shop/index"><b>PrämienShop</b></a><br>
<? menuefoot();?>
<? menuehead("Gutscheine")?>
<img src='images/pfeil.gif' border='0' alt=''> <a href='?content=/gutscheine'>Neuer Gutschein</a><br>
<img src='images/pfeil.gif' border='0' alt=''> <a href='?content=/gut_einl'>Gutschein einlösen</a><br>
<img src='images/pfeil.gif' border='0' alt=''> <a href='?content=/gut_ubs'>Gutscheinübersicht</a><br>
<? menuefoot();?>
<? menuehead("Unsere Rallys");?>
<img src="images/pfeil.gif" border="0" alt=""> <a href="?content=/ralleys/aktiv">Aktivralley</a><br />
<img src="images/pfeil.gif" border="0" alt=""> <a href="?content=/ralleys/bettel">Bettelralley</a><br>
<img src="images/pfeil.gif" border="0" alt=""> <a href="?content=/ralleys/klick">Klickralley</a><br />
<img src="images/pfeil.gif" border="0" alt=""> <a href="?content=/ralleys/ref">Refralley</a><br>
<img src="images/pfeil.gif" border="0" alt=""> <a href="?content=/ralleys/tlklickrally">Textlinkralley</a><br>
<? menuefoot();?>
<?
$filename = 'lib/texte/box2.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();
}
?>
<? } ?>
Edit: Keine Ahnung, ob es funktioniert. Probiere es einfach mal aus.^^