Прикручиваем шаблон. Хороним идиотские ошибки.

This commit is contained in:
Igor Barkov (iwork)
2020-09-30 15:58:44 +03:00
parent 733d1cf87b
commit 2f723e02b8
22 changed files with 44 additions and 42 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
<?
if(!isset($_SESSION['uid'])) { header('Location: ../index.php'); exit; }
if(empty($_SESSION['uid'])) { header('Location: ../index.php'); exit; }
$us = mysql_fetch_array(mysql_query('SELECT `id`, `vip`, `vip_time`, `login` FROM `users` WHERE `login` = "'.mysql_real_escape_string($_POST['target']).'" LIMIT 1'));
$vip = mysql_fetch_array(mysql_query('SELECT `id`, `uid`, `sokr`, `zash`, `invisible`, `attack`, `bloodattack`, `sleep30`, `travmoff`, `dontattack`, `unsleep`, `pers_attack` FROM `abils_vip` WHERE `uid` = "'.$us['id'].'" LIMIT 1'));