change author page

This commit is contained in:
2025-11-20 15:47:00 +08:00
parent 9404edad6e
commit 6517cb2bac
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -100,7 +100,7 @@ include '../views/header.php';
<tr>
<td><?= $user['id'] ?></td>
<td>
<strong><?= e($user['username']) ?></strong>
<strong><a href="/author.php?id=<?= $user['id'] ?>"><?= e($user['username']) ?></a></strong>
<?php if ($user['id'] == $_SESSION['user_id']): ?>
<br><small style="color: #666;">(Вы)</small>
<?php endif; ?>