PHP-Code:
<? if ($_SESSION['login'] == 'true') {?>
<?menuehead("Games");?>
<a href="?content=/spiele/slots/waterland/index"> <img src="images/button.png" border="0" alt=""> Waterland
<a href="?content=/spiele/s4m_die_schatzinsel/index"> <img src="images/button.png" border="0" alt=""> Schatzinsel
<a href="?content=/spiele/arthur/index"> <img src="images/button.png" border="0" alt=""> Arthur
<a href="?content=/spiele/elitemulti/index"> <img src="images/button.png" border="0" alt=""> EliteMulti
<a href="?content=/spiele/VerruecktePyramideVMS1/index"> <img src="images/button.png" border="0" alt=""> Pyramide
<a href="?content=/spiele/gpa_western_slot/index"> <img src="images/button.png" border="0" alt=""> PinupGirls
<a href="?content=/spiele/Backstube/index"> <img src="images/button.png" border="0" alt=""> Backstube
<a href="?content=/spiele/BlueSubmarine/index"> <img src="images/button.png" border="0" alt=""> Submarine
<a href="?content=/spiele/Freegame_Flowers_VMS1.x/index"> <img src="images/button.png" border="0" alt=""> FreeFlowers
<a href="?content=/spiele/Gems/index"> <img src="images/button.png" border="0" alt=""> Gems
<a href="?content=/spiele/CasinoLasVegasVMS1/index"> <img src="images/button.png" border="0" alt=""> GasinoVegas
<a href="?content=/spiele/MathMaster5000/index"> <img src="images/button.png" border="0" alt=""> 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=""> <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();
}
?>