Um paidlinks und Highforced anzuzeigen mußt du noch einiges ganz oben einfügen...(gibt aber auch schnipsel oder sogar im download eine anleitung dazu)
PHP-Code:
//Highforced Anfang
if (!isset($hfc_gebucht)) $hfc_gebucht = '';
if (!isset($hfc_menge)) $hfc_menge = '';
if (!isset($hfc_wert)) $hfc_wert = '';
if (!isset($in_hfc_gebucht)) $in_hfc_gebucht = '';
if (!isset($in_hfc_menge)) $in_hfc_menge = '';
if (!isset($in_hfc_wert)) $in_hfc_wert = '';
//Highforced Ende
// Textlinks Anfang
if (!isset($fc_txt_gebucht)) $fc_txt_gebucht = '';
if (!isset($fc_txt_menge)) $fc_txt_menge = '';
if (!isset($fc_txt_wert)) $fc_txt_wert = '';
if (!isset($in_fc_txt_gebucht)) $in_fc_txt_gebucht = '';
if (!isset($in_fc_txt_menge)) $in_fc_txt_menge = '';
if (!isset($in_fc_txt_wert)) $in_fc_txt_wert = '';
// Textlinks Ende
und
PHP-Code:
//Highforced Anfang
$ex_hfc = db_query("SELECT * FROM ".$db_prefix."_gebuchte_werbung WHERE menge >= 1 and werbeart = 'highforced' and status = '1'");
while ($count = mysql_fetch_array($ex_hfc)) {
$hfc_gebucht++;
$hfc_menge = $hfc_menge + $count['menge'];
$hfc_wert = $hfc_wert + ($count['verdienst']*$count['menge']);
}
//Highforced Ende
// Textlinks Anfang
$ex_fc_txt = db_query("SELECT * FROM ".$db_prefix."_gebuchte_werbung WHERE menge >= 1 and werbeart = 'paidlinks' and status = '1'");
while ($count = mysql_fetch_array($ex_fc_txt)) {
$fc_txt_gebucht++;
$fc_txt_menge = $fc_txt_menge + $count['menge'];
$fc_txt_wert = $fc_txt_wert + ($count['verdienst']*$count['menge']);
}
// Textlinks Ende
und dann unten die anzeige :
PHP-Code:
<?head("Mediadaten - Werbung");?>
<table width="100%" border="0" cellpadding="1" cellspacing="1">
<tr>
<td width="50%">Forcedklick Kampagnen</td>
<td width="50%"><?=@number_format($fc_gebucht,0,",",".");?> Kampagnen</td>
</tr>
<tr>
<td width="50%">Forcedklick Restklicks</td>
<td width="50%"><?=@number_format($fc_menge,0,",",".");?> Klicks</td>
</tr>
<tr>
<td width="50%">Forcedklicks Gesamtwert</td>
<td width="50%"><?=@number_format($fc_wert,2,",",".");?> <?=$waehrung;?></td>
</tr>
<tr>
<td colspan="2" width="100%%"><hr size="1" width="100%" color="#800000"></td>
</tr>
<tr>
<td width="50%">HighForcedklick Kampagnen</td>
<td width="50%"><?=@number_format($hfc_gebucht,0,",",".");?> Kampagnen</td>
</tr>
<tr>
<td width="50%">HighForcedklick Restklicks</td>
<td width="50%"><?=@number_format($hfc_menge,0,",",".");?> Klicks</td>
</tr>
<tr>
<td width="50%">HighForcedklicks Gesamtwert</td>
<td width="50%"><?=@number_format($hfc_wert,2,",",".");?> <?=$waehrung;?></td>
</tr>
<tr>
<td colspan="2" width="100%%"><hr size="1" width="100%" color="#800000"></td>
</tr>
<tr>
<td width="50%">Forcedtextlink Kampagnen</td>
<td width="50%"><?=@number_format($fc_txt_gebucht,0,",",".");?> Kampagnen</td>
</tr>
<tr>
<td width="50%">Forcedtextlink Restklicks</td>
<td width="50%"><?=@number_format($fc_txt_menge,0,",",".");?> Klicks</td>
</tr>
<tr>
<td width="50%">Forcedtextlink Gesamtwert</td>
<td width="50%"><?=@number_format($fc_txt_wert,2,",",".");?> <?=$waehrung;?></td>
</tr>
</table>
<?foot();?>