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

This commit is contained in:
lopar 2018-03-23 20:33:22 +02:00
parent ee8e23969b
commit cfd253beed
2 changed files with 9 additions and 7 deletions

View File

@ -1015,6 +1015,4 @@ table.adm td {
table.adm tbody tr:hover td
{
color: #009;
}
form.toright {display: block; float: right;}
}

View File

@ -34,16 +34,20 @@ if ($klanName && $klanAbbr && $klanDescr) {
<head>
<link rel=stylesheet href="css/main.css">
<meta charset="utf-8">
<script>
function leave() {
top.frames['main'].location = 'city.php?strah'
}
</script>
</head>
<body>
<h1>Регистратура кланов</h1>
<form class="toright" action="city.php">
<input type="submit" onClick="location.href='city.php?strah';" value="Вернуться">
</form>
<a href=# onclick=leave()> ← выйти из регистратуры</a>
<?php
if ($user['admin'] == '1') {
$clanreg = db::c()->query('SELECT * FROM `reg_klan`');
echo "<table class='adm'><th colspan='9'>Заявки на регистрацию кланов</th>";
echo "<table><th colspan='9'>Заявки на регистрацию кланов</th>";
while ($clanreg_row = $clanreg->fetch_assoc()) {
echo "<TR>
<TD>", $clanreg_row['date'], "</TD>