mirror of
https://github.com/claradex/nativegallery.git
synced 2024-11-15 03:31:10 +03:00
update about
This commit is contained in:
parent
80855997ab
commit
f65b34f777
2 changed files with 11 additions and 0 deletions
BIN
static/img/152.ico
Normal file
BIN
static/img/152.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 25 KiB |
|
@ -53,6 +53,17 @@ use \App\Models\User;
|
|||
?>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="p20">
|
||||
<h4><img src="/static/img/152.ico">Модераторы</h4>
|
||||
<ul style="list-style: none; margin: 0; padding: 0;">
|
||||
<?php
|
||||
$admins = DB::query('SELECT * FROM users WHERE admin=3');
|
||||
foreach ($admins as $a) {
|
||||
echo '<li><b><a href="/author/'.$a['id'].'/"><img onerror="this.src = `/static/img/avatar.png`; this.onerror = null;" src="'.$a['photourl'].'" width="32" style="border-radius: 3px; margin-right: 5px;">'.htmlspecialchars($a['username']).'</a></b></li>';
|
||||
}
|
||||
?>
|
||||
</ul>
|
||||
</div>
|
||||
</table>
|
||||
|
||||
</td>
|
||||
|
|
Loading…
Reference in a new issue