clan gui fix

This commit is contained in:
lopar 2019-06-22 15:51:07 +03:00
parent 2f689be2f8
commit e8e6952939
1 changed files with 10 additions and 10 deletions

View File

@ -199,19 +199,19 @@ $clan_memberlist = db::c()->query('SELECT `id`, `login`, `status`, `level`, `roo
<th>Статус</th>
<th>Местонахождение</th>
</tr>
<tr>
<?php
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['room'] > 500 AND $row['room'] < 561 AND $row['online'] > 0) $rrm = 'Башня смерти';
else $rrm = $rooms[$row['room']];
?>
<?php
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['room'] > 500 AND $row['room'] < 561 AND $row['online'] > 0) $rrm = 'Башня смерти';
else $rrm = $rooms[$row['room']];
?>
<tr>
<td><?= nick::id($row['id'])->full() ?></td>
<td><?= $row['status'] ?></td>
<td><i style="font-size: smaller;"><?= $rrm ?></i></td>
<?php endwhile; ?>
</tr>
</tr>
<?php endwhile; ?>
</table>
</td>
</tr>