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:
|
// Safeknacker/Zahlenraten/Bandit Jackpot
$guthaben = $db->query_first("SELECT waehrung,zr_pott FROM bb".$n."_guthaben WHERE gutid='1'");
$waehrung = $guthaben['waehrung'];
//**Zahlenraten**//
$zrjackpot = $guthaben['zr_pott'];
//**Bandit**//
$banditpott =$db->fetch_array($db->query("SELECT * FROM bb".$n."_bandit"));
$banditjackpot = $banditpott['pott'];
//**Safeknacker**//
$safe_jackpot = $db->query("SELECT jackpot FROM bb".$n."_safeknacker");
while ($row = $db->fetch_array($safe_jackpot)) {
$safejackpot = $row['jackpot'];
}
//**Slotmachine**//
$sm_c = $db->query_first("SELECT * FROM bb".$n."_guthaben_slotm_config WHERE id = '1'");
$sm_c['progressive_jackpot'] = intval(($sm_c['progressive_jackpot']/100)*$sm_c['jackpot_prozent']);
if($sm_c['progressive_jackpot'] < $sm_c['progressive_jackpot_min']) {
$sm_c['progressive_jackpot'] = $sm_c['progressive_jackpot_min'];
}else{
$sm_c['progressive_jackpot'] = $sm_c['progressive_jackpot'];
}
$slotmachine = $sm_c['progressive_jackpot'];
//**Lotto**//
$lottojackpot_q = $db->query_first("SELECT einnahmen FROM bb".$n."_guthaben_lottogeld WHERE lgid = '1'");
$lottojackpot = round($lottojackpot_q['einnahmen'] * 1.16);
// Safeknacker/Zahlenraten/Bandit Jackpot Ende |