top.location.href='index.php';"; } $city=$db["city_game"]; $walk = $db["walk"]; $orden = $db["orden"]; $level = $db["level"]; $hp = $db["hp"]; $hp_all = $db["hp_all"]; $room = $db["room"]; $podval = $db["podval"]; $login = $db["login"]; if(empty($act)){$act = "";} ?>
"; while ($s<10) {$s++; print""; while ($y<$s) {$y++; $x = "x"; if ("$podval" == "") {$podval="Подвал $a$x$y";} $s2=mysql_query("Update characters Set podval ='$podval' where login='$login'"); if ("Подвал $a$x$y" == "$podval") {$color = "0000ff";} else {$color= "000000";} $ox=$a; $oy=$y; print""; }} $s=0;$y=0; print "
$ox x $oy
"; } ?> "; $name = $pod["name"]; $wood = mysql_query("SELECT * FROM podval WHERE type='$id'"); $wod = mysql_fetch_array($wood); $names=$wod["type"]; $number=$wod["number"]; $woodaa = mysql_query("SELECT * FROM inv WHERE owner='$login' AND object_id = '$id' AND object_type = 'wood' "); if($woodaa){ while ($woodaaa = mysql_fetch_array($woodaa)) { $ida = $woodaaa["id"]; $object_ids = $woodaaa["object_id"]; } if ($object_ids == $id) {$idas = $ida; $add= "true";} else {$idas = ""; $add = "false";} } else {print " ";} if ($number == 100 ) {$numb = "собрано";} else if ($add == "true") {$numb = " "; } else if ($add == "false") {$numb = "";} print ""; if ($id == 5) {print "";} $id++; } ?>
$ima
$name
$number $numb
0 ORDER BY add_resourses DESC"); while ($add = mysql_fetch_array($adders)){ $i++; $login_add=$add["login"]; $c=$add["clan_short"]; $o=$add["orden"]; $cs = ""; $or = ""; $s = $add["sex"]; $level = $add["level"]; if ($s == "male" ) {$sx = "";} else {$sx = "";} $res_add = $add["add_resourses"]; print ""; } ?>
Рейтинг
Персонаж
ресурсы
деньги
$i
$or$cs$login_add [$level]$sx
$res_add