Code clean. Убираем идиотские ошибки.
This commit is contained in:
+1
-2
@@ -1,8 +1,7 @@
|
||||
<?php
|
||||
session_start();
|
||||
if(!isset($_SESSION['uid'])) { header('Location: index.php'); exit; }
|
||||
include('config.php');
|
||||
include('functions.php');
|
||||
require_once "functions.php";
|
||||
|
||||
$d = mysql_fetch_array(mysql_query("SELECT SUM(`massa`) AS `mass` FROM `inventory` WHERE `owner` = '{$user['id']}' AND `dressed` = 0 AND `setsale` = 0"));
|
||||
$in = mysql_fetch_array(mysql_query('SELECT COUNT(*) AS `cnt` FROM `inventory` WHERE `owner` = "-101'.$user['id'].'"'));
|
||||
|
||||
Reference in New Issue
Block a user