...
This commit is contained in:
parent
447a3bc196
commit
6aaf2e84b7
@ -4,7 +4,8 @@ if(!isset($_SESSION['uid'])) header("Location: index.php");
|
|||||||
include("config.php");
|
include("config.php");
|
||||||
include("functions.php");
|
include("functions.php");
|
||||||
if($user['in_tower'] == 1) { header('Location: towerin.php'); die(); }
|
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");
|
header("Cache-Control: no-cache");
|
||||||
|
|
||||||
# Защита для свитков.
|
# Защита для свитков.
|
||||||
@ -28,9 +29,9 @@ $arr = array(
|
|||||||
);
|
);
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
<!doctype html>
|
||||||
<HTML>
|
<html>
|
||||||
<HEAD>
|
<head>
|
||||||
<link rel=stylesheet href="css/main.css">
|
<link rel=stylesheet href="css/main.css">
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<style>
|
<style>
|
||||||
|
Loading…
Reference in New Issue
Block a user