From 54d5220fddbb6a94bffee1e84c40d5d259ea347f Mon Sep 17 00:00:00 2001 From: lopar Date: Fri, 23 Mar 2018 20:42:07 +0200 Subject: [PATCH] =?UTF-8?q?=D1=80=D0=B5=D0=B3=D0=B8=D1=81=D1=82=D1=80?= =?UTF-8?q?=D0=B0=D1=82=D1=83=D1=80=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- klanedit.php | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/klanedit.php b/klanedit.php index 3f06510..bdc5cf5 100644 --- a/klanedit.php +++ b/klanedit.php @@ -48,19 +48,17 @@ if ($klanName && $klanAbbr && $klanDescr) { if ($user['admin'] == '1') { $clanreg = db::c()->query('SELECT `date`,`name`,`abbr`,`owner`,`descr` FROM `reg_klan`'); - if ($clanreg) { - echo ""; - while ($clanreg_row = $clanreg->fetch_assoc()) { - echo " + echo '
Заявки на регистрацию кланов
'; + while ($clanreg_row = $clanreg->fetch_assoc()) { + echo ""; - } - echo "
", $clanreg_row['date'], " ", $clanreg_row['name'], " ", $clanreg_row['abbr'], " ", nick::id($clanreg_row['owner'])->full(), " ", nl2br($clanreg_row['descr']), "
"; } + echo ''; } ?> Для регистрации клана необходимо иметь: