Хороним идиотские ошибки в проверках и инклюдах.

This commit is contained in:
Igor Barkov (iwork)
2020-09-30 15:30:00 +03:00
parent 2e167b79dd
commit 95fa17237a
112 changed files with 223 additions and 119 deletions
+2 -1
View File
@@ -6,11 +6,12 @@ $coma[] = "Бойтесь, нарушители!";
$coma[] = "Наша служба и опасна, и трудна!";
if ($_SESSION['uid'] == null) {
if (empty($_SESSION['uid'])) {
header("Location: index.php");
exit;
}
$target=$_POST['target'];
$tar = mysql_fetch_array(mysql_query("SELECT `id`,`align` FROM `users` WHERE `login` = '{$_POST['target']}' LIMIT 1;"));
if ($tar['id']) {