This commit is contained in:
Igor Barkov [iwork] 2018-03-06 20:52:42 +02:00
parent 447a3bc196
commit 6aaf2e84b7
1 changed files with 5 additions and 4 deletions

View File

@ -4,7 +4,8 @@ if(!isset($_SESSION['uid'])) header("Location: index.php");
include("config.php");
include("functions.php");
if($user['in_tower'] == 1) { header('Location: towerin.php'); die(); }
$al = mysql_fetch_assoc(mysql_query("SELECT * FROM `aligns` WHERE `align` = '{$user['align']}' LIMIT 1"));
//$al = mysql_fetch_assoc(mysql_query("SELECT * FROM `aligns` WHERE `align` = '{$user['align']}' LIMIT 1"));
$al = db::c()->query('SELECT `accses`,`name` FROM `aligns` WHERE `align` = ?i', $user['align'])->fetch_assoc();
header("Cache-Control: no-cache");
# Защита для свитков.
@ -28,9 +29,9 @@ $arr = array(
);
?>
<HTML>
<HEAD>
<!doctype html>
<html>
<head>
<link rel=stylesheet href="css/main.css">
<meta charset="utf-8">
<style>