tests
This commit is contained in:
parent
c27b0f4883
commit
519cd2aaf4
2
klan.php
2
klan.php
@ -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("<", "<", str_replace(">", ">", $_POST['status'])), "<B><I><U>");
|
||||
if ($klan['glava'] == $sok['id']) {
|
||||
$st = "<font color=#008080><b>Глава клана</b></font>";
|
||||
|
Loading…
Reference in New Issue
Block a user