diff --git a/canalizaciya.php b/canalizaciya.php index f537b00..744c1e0 100644 --- a/canalizaciya.php +++ b/canalizaciya.php @@ -1,11 +1,11 @@ 0)) header("Location: index.php"); - include "config.php"; - include "functions.php"; +session_start(); +if (!($_SESSION['uid'] > 0)) header("Location: index.php"); +include "config.php"; +include "functions.php"; $user = mysql_fetch_array(mysql_query("SELECT * FROM `users` WHERE `id` = '{$_SESSION['uid']}' LIMIT 1;")); -if($user['room']==403){ +if ($user['room'] == 403) { include "startpodzemel.php"; if ($user['battle'] != 0) { header('location: fbattle.php'); die(); } @@ -708,9 +708,58 @@ background-color: #d4cbaa; color: #000000; } +body { +margin: 0; +padding: 0; +width:100%; + +font-family: Arial; +font-size: 9px; +} + +table { +border-collapse: collapse; +} + +td { +margin: 0; +padding: 0; +} + +img { +border:0; +} + +#corners { +background: url(images/4.jpg) center top no-repeat; +} + +A:link { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; color: #fddd00; text-decoration:none;} +A:visited { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; color: #fddd00; text-decoration:none;} +A:hover { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; color: #fddd00; text-decoration:none;} + +.form { +background-color: #5B0200; +color: #000000; +border: 1px solid #6F4B3F; +font-family: Verdana, Arial, Helvetica, sans-serif; +color: #DAA43A; +font-size: 11px; +width: 89px; +height: 18px; +text-align: left; +position: inherit; +padding-bottom: 0; +} + +hr { +background : #fddd00; +border-top : 1px solid #fddd00; +color : #fddd00; +height : 2px +} -