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

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,6 +1,6 @@
<?php
if(!isset($_SESSION['uid'])) { header("Location: index.php"); }
if(empty($_SESSION['uid'])) { header("Location: index.php"); }
$tar = mysql_fetch_array(mysql_query("SELECT `id`, `align` FROM `users` WHERE `login` = '".mysql_real_escape_string($_POST['ldnick'])."' LIMIT 1"));
$target = $_POST['ldnick'];