|
|
@ -215,6 +215,7 @@ if($charm == 3) {
|
|
|
|
if($tausch_geld != null) {
|
|
|
|
if($tausch_geld != null) {
|
|
|
|
$row = mysql_fetch_array(mysql_query("SELECT level FROM arena WHERE besitzer = ".$user['id'].";"));
|
|
|
|
$row = mysql_fetch_array(mysql_query("SELECT level FROM arena WHERE besitzer = ".$user['id'].";"));
|
|
|
|
$arenalvl = $row['level'];
|
|
|
|
$arenalvl = $row['level'];
|
|
|
|
|
|
|
|
$tausch_geld = round($tausch_geld);
|
|
|
|
|
|
|
|
|
|
|
|
if($tausch_geld <= ($arenalvl * 10000)) {
|
|
|
|
if($tausch_geld <= ($arenalvl * 10000)) {
|
|
|
|
if($tausch_geld <= $user['geld']) {
|
|
|
|
if($tausch_geld <= $user['geld']) {
|
|
|
|