регистратура

This commit is contained in:
lopar 2018-03-23 20:42:07 +02:00
parent b9a4ad44e3
commit 54d5220fdd

View File

@ -48,19 +48,17 @@ if ($klanName && $klanAbbr && $klanDescr) {
if ($user['admin'] == '1') { if ($user['admin'] == '1') {
$clanreg = db::c()->query('SELECT `date`,`name`,`abbr`,`owner`,`descr` FROM `reg_klan`'); $clanreg = db::c()->query('SELECT `date`,`name`,`abbr`,`owner`,`descr` FROM `reg_klan`');
if ($clanreg) { echo '<table>';
echo "<table><caption>Заявки на регистрацию кланов</caption>"; while ($clanreg_row = $clanreg->fetch_assoc()) {
while ($clanreg_row = $clanreg->fetch_assoc()) { echo "<TR>
echo "<TR>
<TD>", $clanreg_row['date'], "</TD> <TD>", $clanreg_row['date'], "</TD>
<TD>", $clanreg_row['name'], "</TD> <TD>", $clanreg_row['name'], "</TD>
<TD>", $clanreg_row['abbr'], "</TD> <TD>", $clanreg_row['abbr'], "</TD>
<TD>", nick::id($clanreg_row['owner'])->full(), "</TD> <TD>", nick::id($clanreg_row['owner'])->full(), "</TD>
<TD>", nl2br($clanreg_row['descr']), "</TD> <TD>", nl2br($clanreg_row['descr']), "</TD>
</TR>"; </TR>";
}
echo "</table>";
} }
echo '</table>';
} }
?> ?>
Для регистрации клана необходимо иметь: Для регистрации клана необходимо иметь: