update about

This commit is contained in:
themohooks 2024-07-20 22:12:31 +03:00
parent 80855997ab
commit f65b34f777
2 changed files with 11 additions and 0 deletions

BIN
static/img/152.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

View file

@ -53,6 +53,17 @@ use \App\Models\User;
?> ?>
</ul> </ul>
</div> </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> </table>
</td> </td>