Прикручиваем шаблон. Хороним идиотские ошибки.
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
session_start();
|
||||
if(!isset($_SESSION['uid'])) { header("Location: index.php"); }
|
||||
if(empty($_SESSION['uid'])) { header("Location: index.php"); }
|
||||
|
||||
require_once "functions.php";
|
||||
$effect = mysql_fetch_array(mysql_query("SELECT * FROM `effects` WHERE `owner` = '{$user['id']}' LIMIT 1"));
|
||||
|
||||
Reference in New Issue
Block a user