the-carnage
28.12.2007, 22:56
Was muss mann eingeben wenn man bonuslose so in den mediadaten sehen will
Guthaben aller User 0,00 BonusLose
Guthaben Ø pro User 0,00 BonusLose
Roadstar
28.12.2007, 23:57
Hallo,
in content/intern/mediadaten.php
$kontostats = mysql_fetch_array(db_query("SELECT COUNT(uid) AS kd_uid , SUM(kontostand) AS kd_kontostand , SUM(bonuslose) AS kd_bonuslose, SUM(klicks) AS kd_klicks , SUM(angebettelt) AS kd_angebettelt , SUM(kv) AS kd_kv , SUM(bv) AS kd_bv FROM ".$db_prefix."_kontodaten"));
und
<tr>
<td width="50%">Bonuslose aller User</td>
<td width="50%"><?=@number_format($kontostats['kd_bonuslose'],2,",",".");?> Bonus<?=$waehrung;?></td>
</tr>
<tr>
<td width="50%">Ø Bonuslose pro User</td>
<td width="50%"><?=@number_format($kontostats['kd_bonuslose'] / $kontostats['kd_uid'],2,",",".");?> Bonus<?=$waehrung;?></td>
</tr>
Müsste so funktionieren ...
Liebe Grüsse,
Roadstar
Powered by vBulletin® Version 4.2.5 Copyright ©2024 Adduco Digital e.K. und vBulletin Solutions, Inc. Alle Rechte vorbehalten.