hier mal der ganze code:
PHP-Code:
<? if ($_SESSION['login'] == 'true') {?>
<?menuehead("Kontostand");
$kontodaten = mysql_fetch_array(db_query("SELECT * FROM ".$db_prefix."_kontodaten WHERE uid=".$_SESSION['uid']." LIMIT 1"));
echo "".number_format($kontodaten['kontostand'],2,",",".")." ".$waehrung."\n";
echo "".number_format($kontodaten['tresor'],2,",",".")." ".Tresorguthaben."\n";
echo "".number_format($kontoinfo['bp'],2,",",".")." ".AP´s."<br />";
echo "".number_format($kontoinfo['bpg'],2,",",".")." ".AP´z."<br />";
menuefoot();?>
<?menuehead("Klicksmiley");
include ("content/sm.php");
menuefoot();?>
<?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("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("Sponsoren");
echo nl2br($inhalt);
menuefoot();
}
?>
und da soll der klickrang rein, am besten unter den kontostand
PHP-Code:
include ("content/klick_rang/klick_rangabgleich.php")
menuehead("Dein Klickrang"); ?>
<? $kontodaten = mysql_fetch_array(db_query("SELECT klickrang FROM ".$db_prefix."_kontodaten WHERE uid=".$_SESSION['uid']." LIMIT 1")); ?>
<a href="?content=/klick_rang/uebersicht"><?=$kontodaten['klickrang'];?></a>
<?menuefoot();