1
0
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:
daichimarukana
2023-08-22 23:07:46 +09:00
parent ea570c2d3d
commit a0640ebf9a
24 changed files with 230 additions and 72 deletions
+1
View File
@@ -86,6 +86,7 @@ if (!empty($pdo)) {
if ($userData) {
$message['username'] = $userData['username'];
$message['role'] = $userData['role'];
}
}
+1 -1
View File
@@ -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;
+1
View File
@@ -92,6 +92,7 @@ if (!empty($pdo)) {
if ($userData) {
$message['username'] = $userData['username'];
$message['role'] = $userData['role'];
}
}
+1
View File
@@ -100,6 +100,7 @@ if (!empty($pdo)) {
if ($userData) {
$message['username'] = $userData['username'];
$message['role'] = $userData['role'];
}
}
+1
View File
@@ -99,6 +99,7 @@ if (!empty($pdo)) {
if ($userData) {
$message['username'] = $userData['username'];
$message['role'] = $userData['role'];
}
}
+7
View File
@@ -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")) {