Code clean. Убираем идиотские ошибки.
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
<?
|
||||
session_start();
|
||||
if(!isset($_SESSION['uid'])) { header('Location: index.php'); exit; }
|
||||
include('config.php');
|
||||
include('functions.php');
|
||||
require_once "functions.php";
|
||||
$hostel = mysql_fetch_array(mysql_query('SELECT * FROM `hostel` WHERE `uid` = "'.$user['id'].'" LIMIT 1'));
|
||||
$base = array(1 => array(8, 16, 24, 32), 2 => array(15, 30, 45, 60), 3 => array(25, 50, 75, 100), 4 => array(40, 80, 120, 160));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user