mirror of
https://github.com/Daichimarukana/uwuzu.git
synced 2026-06-05 03:24:41 +00:00
uwuzu version 1.2.9
This commit is contained in:
@@ -86,6 +86,7 @@ if (!empty($pdo)) {
|
||||
|
||||
if ($userData) {
|
||||
$message['username'] = $userData['username'];
|
||||
$message['role'] = $userData['role'];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@ try {
|
||||
|
||||
$userid = htmlentities($_GET['userid']);
|
||||
|
||||
$itemsPerPage = 30; // 1ページあたりの投稿数
|
||||
$itemsPerPage = 15; // 1ページあたりの投稿数
|
||||
$pageNumber = htmlentities(isset($_GET['page'])) ? htmlentities(intval($_GET['page'])) : 1;
|
||||
$offset = ($pageNumber - 1) * $itemsPerPage;
|
||||
|
||||
|
||||
@@ -92,6 +92,7 @@ if (!empty($pdo)) {
|
||||
|
||||
if ($userData) {
|
||||
$message['username'] = $userData['username'];
|
||||
$message['role'] = $userData['role'];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -100,6 +100,7 @@ if (!empty($pdo)) {
|
||||
|
||||
if ($userData) {
|
||||
$message['username'] = $userData['username'];
|
||||
$message['role'] = $userData['role'];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -99,6 +99,7 @@ if (!empty($pdo)) {
|
||||
|
||||
if ($userData) {
|
||||
$message['username'] = $userData['username'];
|
||||
$message['role'] = $userData['role'];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -24,6 +24,13 @@ class MessageDisplay {
|
||||
echo ' <div class="idbox">';
|
||||
echo ' <a href="/@' . htmlentities($this->value['account']) . '">@' . htmlentities($this->value['account']) . '</a>';
|
||||
echo ' </div>';
|
||||
if (false !== strpos($this->value['role'], 'official')) {
|
||||
echo ' <div class="checkicon">';
|
||||
echo ' <div class="check" />';
|
||||
echo ' </div>';
|
||||
echo '</div>';
|
||||
}
|
||||
|
||||
echo ' <div class="time">';
|
||||
$day = date("Ymd", strtotime(htmlentities($this->value['datetime'])));
|
||||
if ($day == date("Ymd")) {
|
||||
|
||||
Reference in New Issue
Block a user