clan gui fix

This commit is contained in:
lopar 2019-06-22 15:51:07 +03:00
parent 2f689be2f8
commit e8e6952939

View File

@ -199,19 +199,19 @@ $clan_memberlist = db::c()->query('SELECT `id`, `login`, `status`, `level`, `roo
<th>Статус</th> <th>Статус</th>
<th>Местонахождение</th> <th>Местонахождение</th>
</tr> </tr>
<tr> <?php
<?php while ($row = $clan_memberlist->fetch_assoc()):
while ($row = $clan_memberlist->fetch_assoc()): if ($row['id'] == $klan['glava']) $row['status'] = '<b style="color: #008080;">Глава клана</b>';
if ($row['id'] == $klan['glava']) $row['status'] = '<b style="color: #008080;">Глава клана</b>'; if (empty($row['status'])) $row['status'] = 'Боец';
if (empty($row['status'])) $row['status'] = 'Боец'; if ($row['room'] > 500 AND $row['room'] < 561 AND $row['online'] > 0) $rrm = 'Башня смерти';
if ($row['room'] > 500 AND $row['room'] < 561 AND $row['online'] > 0) $rrm = 'Башня смерти'; else $rrm = $rooms[$row['room']];
else $rrm = $rooms[$row['room']]; ?>
?> <tr>
<td><?= nick::id($row['id'])->full() ?></td> <td><?= nick::id($row['id'])->full() ?></td>
<td><?= $row['status'] ?></td> <td><?= $row['status'] ?></td>
<td><i style="font-size: smaller;"><?= $rrm ?></i></td> <td><i style="font-size: smaller;"><?= $rrm ?></i></td>
<?php endwhile; ?> </tr>
</tr> <?php endwhile; ?>
</table> </table>
</td> </td>
</tr> </tr>