PHP-Code:
<? if ($_SESSION['login'] == 'true') {?>

<?menuehead("Games");?>
<a href="?content=/spiele/slots/waterland/index">&nbsp;<img src="images/button.png" border="0" alt="">&nbsp;Waterland
<a href="?content=/spiele/s4m_die_schatzinsel/index">&nbsp;<img src="images/button.png" border="0" alt="">&nbsp;Schatzinsel
<a href="?content=/spiele/arthur/index">&nbsp;<img src="images/button.png" border="0" alt="">&nbsp;Arthur
<a href="?content=/spiele/elitemulti/index">&nbsp;<img src="images/button.png" border="0" alt="">&nbsp;EliteMulti
<a href="?content=/spiele/VerruecktePyramideVMS1/index">&nbsp;<img src="images/button.png" border="0" alt="">&nbsp;Pyramide
<a href="?content=/spiele/gpa_western_slot/index">&nbsp;<img src="images/button.png" border="0" alt="">&nbsp;PinupGirls
<a href="?content=/spiele/Backstube/index">&nbsp;<img src="images/button.png" border="0" alt="">&nbsp;Backstube
<a href="?content=/spiele/BlueSubmarine/index">&nbsp;<img src="images/button.png" border="0" alt="">&nbsp;Submarine
<a href="?content=/spiele/Freegame_Flowers_VMS1.x/index">&nbsp;<img src="images/button.png" border="0" alt="">&nbsp;FreeFlowers
<a href="?content=/spiele/Gems/index">&nbsp;<img src="images/button.png" border="0" alt="">&nbsp;Gems
<a href="?content=/spiele/CasinoLasVegasVMS1/index">&nbsp;<img src="images/button.png" border="0" alt="">&nbsp;GasinoVegas
<a href="?content=/spiele/MathMaster5000/index">&nbsp;<img src="images/button.png" border="0" alt="">&nbsp;MathMaster
<?menuefoot();


menuehead("Wer ist online");
include ("lib/weristonline.php");
menuefoot();
}


?>
<?menuehead("Tages-Klick-Bonus")?>
<? include ("content/smilie.php"); ?>
<?menuefoot();?>

<?menuehead("Anteile heute");
$betreiber_daten = mysql_fetch_array(db_query("SELECT * FROM ".$db_prefix."_anteil_einst"));
$ges_anteile = mysql_fetch_array(db_query("SELECT SUM(menge) AS a_ges FROM ".$db_prefix."_anteil where uid !='".$betreiber_daten['betreiber_id']."'"));
$im_pot = mysql_fetch_array(db_query("SELECT * FROM ".$db_prefix."_anteil_pot"));
$potanteil= $im_pot['pot'] / $ges_anteile['a_ges'];
$wert = $betreiber_daten['auto'] + $potanteil;
?>
<center><span class="Stil41">Anteile heute: <?=number_format($wert,2,",",".");?> Lose
<?menuefoot();?>
<?
$kontodaten= mysql_fetch_array(db_query("SELECT * FROM ".$db_prefix."_kontodaten WHERE uid=".$_SESSION['uid']." LIMIT 1")); 
$config = mysql_fetch_array(db_query("SELECT * FROM ".$db_prefix."_bonuspoints LIMIT 1")); 
?>
<?menuehead("Bonuspoints");?>
<b>Akt. Bonuspoints</b><br>
<?=number_format($kontodaten['bonuspoints'],2,",",".");?><br>
<b>Akt. Zins</b><br>
<?=number_format($config['zinsen'],2,",",".");?> %<br>
<hr>
<img src="images/pfeil.gif" border="0" alt="">&nbsp;<a href="?content=/konto/buchungen_bonuspoints">Buchungen | Bonus</a><br />
<hr>
<b>Games</b><br>
<?menuefoot();?>

<? menuehead("AP-Champion"); ?>
<? $userp1 = mysql_fetch_array(db_query("SELECT * FROM ".$db_prefix."_aphighscore"));?>

 <table cellpadding="5" cellspacing="1" width="100%" class=menue border="0" bordercolor="#640002">
<tr>
 
 <td><b><? echo $userp1['nick']; ?></b></td>
 <td><b><? echo number_format($userp1['anzahl'],0,",","."); ?></b></td>
 
 </tr>
<tr background="../images/line2.jpg">
 <td colspan="2"><center><b><font color="#66ff00">XXXXXX Rekord-Bonus</b></td>
</tr>
<tr background="../images/line2.jpg">
 <td colspan="2"><center><b><font color="#66ff00">+ XXXXXX Bonus tägl.</b></td>
</tr>

<tr>
 <td colspan="2"><center><b>Rekord vom: <?echo $userp1['datum']; ?></b></td>
</tr>

 </table>



<?menuefoot();?>

<? $sking = mysql_fetch_array(db_query("SELECT s.aktiv,s.aking,u.nickname FROM ".$db_prefix."_seitenkoenig_conf s LEFT JOIN ".$db_prefix."_userdaten u on s.aking = u.uid"));
   if ($sking['aktiv'] == 1) {
   menuehead("Seitenkönig");?>
   <center><b><? 
   if ($sking['aking'] != 0) {
   echo $sking['nickname'];
   } else { 
   echo '<i>Niemand</i>';
   }   
   ?></b><br>
   <a href="?content=/seitenkoenig"><font size="1">Info</font></a>
   </center>
   <?menuefoot();
   }
   ?>