1
0
mirror of https://github.com/Daichimarukana/uwuzu.git synced 2026-06-05 03:24:41 +00:00

uwuzu version 1.2.28

This commit is contained in:
daichimarukana
2023-12-20 22:36:44 +09:00
parent 6367282bb5
commit 51d7d84b63
89 changed files with 2770 additions and 1998 deletions
+2 -1
View File
@@ -36,7 +36,7 @@ if(isset($_GET['limit'])) {
if (!empty($pdo)) {
$sql = "SELECT account, username, uniqid, rpuniqid, ueuse, datetime, photo1, photo2, video1, favorite, abi, abidate FROM ueuse WHERE rpuniqid = '' ORDER BY datetime DESC LIMIT " . intval($offset) . ", " . intval($itemsPerPage);
$sql = "SELECT account, username, uniqid, rpuniqid, ueuse, datetime, photo1, photo2, video1, favorite, abi, abidate, nsfw FROM ueuse WHERE rpuniqid = '' ORDER BY datetime DESC LIMIT " . intval($offset) . ", " . intval($itemsPerPage);
$message_array = $pdo->query($sql);
while ($row = $message_array->fetch(PDO::FETCH_ASSOC)) {
@@ -77,6 +77,7 @@ if(isset($_GET['limit'])) {
'datetime' => htmlentities($ueusedata["datetime"]),
'abi' => htmlentities($ueusedata["abi"]),
'abidatetime' => htmlentities($ueusedata["abidate"]),
'nsfw' => htmlentities($ueusedata["nsfw"]),
];
$response[$ueusedata["uniqid"]] = $item; // ループ内で $response にデータを追加