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

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 table.adm tbody tr:hover td
{ {
color: #009; color: #009;
} }
form.toright {display: block; float: right;}

View File

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