Хороним идиотские ошибки в проверках и инклюдах.
This commit is contained in:
+2
-1
@@ -4,10 +4,11 @@ if ($user['battle'] > 0) {
|
||||
echo "Не в бою...";
|
||||
} elseif (rand(1,100)!=1) {
|
||||
//undressall($user['id']);
|
||||
if ($_SESSION['uid'] == null) {
|
||||
if (empty($_SESSION['uid'])) {
|
||||
header("Location: index.php");
|
||||
exit;
|
||||
}
|
||||
|
||||
global $rooms;
|
||||
$rs = mysql_query("SELECT * FROM `users` WHERE `in_tower` = 1 ORDER by `room` DESC;");
|
||||
while($r = mysql_fetch_array($rs)) {
|
||||
|
||||
Reference in New Issue
Block a user