diff --git a/functions.php b/functions.php index 08f1569..d63d5a2 100644 --- a/functions.php +++ b/functions.php @@ -9,6 +9,9 @@ require_once 'config.php'; require_once 'classes/u.php'; $u = new u($_SESSION['uid']); +/** Бля, если это сработает... */ +$user = $u->i(); + define("HPADDICTIONEFFECT", 33); $ip = filter_input(INPUT_SERVER,'REMOTE_ADDR', FILTER_VALIDATE_IP); diff --git a/main.php b/main.php index f415859..3cc937f 100644 --- a/main.php +++ b/main.php @@ -14,8 +14,6 @@ if ($u->i()['battle'] != 0) { die(); } -/** Бля, если это сработает... */ -$user = $u->i(); //if($user['klan']) { // $shadow = mysql_fetch_array(mysql_query("SELECT `id`, `mshadow`, `wshadow` FROM `clans` WHERE `id` = '{$user['klan']}' LIMIT 1"));