1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
|
<?php
$mincoins = "500";
$frameseite = "http://....html";
$fehlerseite = "http://....html";
$filename ="_F0000MDS0000.php";
require('global.php');
/* PostingCoins by Viktor */
if ($postingcoins==1) {
$coinsdat = $db->query_first("SELECT * FROM bb".$n."_posting_coins_user WHERE userid = '".$wbbuserdata[userid]."'");
if (!$coinsdat) {
$coins = 0;
} else {
$coins = $coinsdat['coins'];
}
}
/* PostingCoins by Viktor */
if ($coins <= $mincoins){
print '
<table border=0 cellspacing=0 cellpadding=0>
<tr>
<td><img border=0 src='.$fehlerseite.' width=352 height=288></td>
</tr>
<tr>
<td bgcolor=#94000>
<p align=center><b><font size=2 color=#FFFFFF>Bonus für mehr als '.$mincoins.' Coins Guthaben!</font></b>
</td>
</tr>
</table>';
} else {
print'<iframe src= '.$frameseite.' width=375 height=345 scrolling=no frameborder=0></iframe>';
}
?>
|