clan gui fix
This commit is contained in:
parent
1b8bac251d
commit
8828074940
16
clan.php
16
clan.php
@ -66,14 +66,14 @@ $clan_memberlist = db::c()->query('SELECT `id`, `login`, `status`, `level`, `roo
|
||||
<meta charset="utf-8">
|
||||
</head>
|
||||
<body>
|
||||
<div><?php if (!empty($status)) err($status); ?></div>
|
||||
<div><button onclick="location.href='main.php'">Вернуться</button> <?php if (!empty($status)) err($status); ?></div>
|
||||
<table style="width: 100%">
|
||||
<tr>
|
||||
<td>
|
||||
<p style="width: 50%; vertical-align: top;" rowspan=2>
|
||||
<h3><img src="./i/klan/<?= $klan['short'] ?>.gif"><?= $klan['name'] ?></h3>
|
||||
Количество рейтинговых очков клана: <span
|
||||
style="color: #428f21; font-weight: bolder;"><?= $klan['rating'] ?></span><br>
|
||||
style="color: #428f21; font-size: larger;"><?= $klan['rating'] ?></span><br>
|
||||
|
||||
<?php if ($polno[$user['id']][0] == 1): ?>
|
||||
<div>
|
||||
@ -190,10 +190,6 @@ $clan_memberlist = db::c()->query('SELECT `id`, `login`, `status`, `level`, `roo
|
||||
|
||||
</td>
|
||||
|
||||
<td style="horiz-align: right;" align=right>
|
||||
<INPUT TYPE="button" onClick="location.href='main.php';" value="Вернуться" title="Вернуться">
|
||||
</td>
|
||||
|
||||
<td style="vertical-align: top;">
|
||||
<h3>Соклановцы</h3>
|
||||
<div style="background-color: #eee; padding: 5px;">
|
||||
@ -202,15 +198,11 @@ $clan_memberlist = db::c()->query('SELECT `id`, `login`, `status`, `level`, `roo
|
||||
while ($row = $clan_memberlist->fetch_assoc()) {
|
||||
if ($row['id'] == $klan['glava']) $row['status'] = '<b style="color: #008080;">Глава клана</b>';
|
||||
if (empty($row['status'])) $row['status'] = 'Боец';
|
||||
if ($row['online'] > 0) echo '🟢 ';
|
||||
echo nick::id($row['id'])->full();
|
||||
echo ' — ', $row['status'];
|
||||
|
||||
if ($row['room'] > 500 AND $row['room'] < 561 AND $row['online'] > 0) $rrm = 'Башня смерти';
|
||||
else $rrm = $rooms[$row['room']];
|
||||
|
||||
echo ' <i>', $rrm, '</i><BR>';
|
||||
echo '</div>';
|
||||
if ($row['online'] > 0) echo '🟢 ';
|
||||
echo nick::id($row['id'])->full(), ' — ', $row['status'], ' <i style="font-size: smaller;">(', $rrm, ')</i><BR>';
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user