регистратура
This commit is contained in:
parent
ee8e23969b
commit
cfd253beed
@ -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;}
|
|
12
klanedit.php
12
klanedit.php
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user