Hallo,
in content/intern/mediadaten.php
Code:
$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
Code:
<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