This commit is contained in:
lopar 2019-06-21 01:13:43 +03:00
parent c27b0f4883
commit 519cd2aaf4

View File

@ -87,7 +87,7 @@ if (isset($_POST['kr']) && ($_POST['kolv'] > 0)) {
}
if (!empty($_POST['login'])) {
$sok = db::c()->query('SELECT `id`, `status` FROM `users` WHERE `klan` = "?s" AND `login` = "?s"', $klan['id'], $user['id'])->fetch_assoc();
$sok = db::c()->query('SELECT `id`, `status` FROM `users` WHERE `klan` = "?s" AND `login` = "?s"', $klan['id'], $_POST['login'])->fetch_assoc();
$st = strip_tags(str_replace("&lt;", "<", str_replace("&gt;", ">", $_POST['status'])), "<B><I><U>");
if ($klan['glava'] == $sok['id']) {
$st = "<font color=#008080><b>Глава клана</b></font>";