|
|
@ -448,7 +448,7 @@ function displayKampfErstellen($user, $portal, $pagenum){
|
|
|
|
$qry = db_query('Select * from arena where besitzer = '.$user['id']);
|
|
|
|
$qry = db_query('Select * from arena where besitzer = '.$user['id']);
|
|
|
|
$arena = mysqli_fetch_assoc($qry);
|
|
|
|
$arena = mysqli_fetch_assoc($qry);
|
|
|
|
if(mysqli_num_rows($qry) == 0){
|
|
|
|
if(mysqli_num_rows($qry) == 0){
|
|
|
|
db_query('INSERT arena(besitzer, exp) values (\''.$user_ida['id'].'\', \'0,'.calculateRequiredExpArena(1).'\')');
|
|
|
|
db_query('INSERT arena(besitzer, exp) values (\''.$user['id'].'\', \'0,'.calculateRequiredExpArena(1).'\')');
|
|
|
|
$arena = mysqli_fetch_assoc(db_query('Select * from arena where besitzer = '.$user['id']));
|
|
|
|
$arena = mysqli_fetch_assoc(db_query('Select * from arena where besitzer = '.$user['id']));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if($arena['mietlasten'] > 7){
|
|
|
|
if($arena['mietlasten'] > 7){
|
|
|
|