1
0
mirror of https://github.com/Daichimarukana/uwuzu.git synced 2026-06-04 19:14:41 +00:00

uwuzu v1.6.0 Hapuego

This commit is contained in:
だいちまる
2025-08-05 13:46:18 +09:00
parent 0d7c0a8879
commit e15b52a205
70 changed files with 7406 additions and 5172 deletions
+11 -1
View File
@@ -113,6 +113,16 @@ if( !empty($pdo) ) {
}else{
$userData['headname'] = "../" . $userData['headname'];
}
$apitokenQuery = $pdo->prepare("SELECT 1 FROM api WHERE userid = :userid LIMIT 1");
$apitokenQuery->bindValue(':userid', $userid);
$apitokenQuery->execute();
if ($apitokenQuery->fetch()) {
$is_allow_bot = true;
} else {
$is_allow_bot = false;
}
}
@@ -548,7 +558,7 @@ $pdo = null;
<textarea id="profile" type="text" placeholder="" class="inbox" name="profile" value=""><?php if( !empty($userData['profile']) ){ echo safetext( $userData['profile']); } ?></textarea>
</div>
<?php if(!empty($userData['token'])){?>
<?php if(!empty($userData['token']) || $is_allow_bot === true){?>
<p>このアカウントがBotであることを公開する</p>
<div class="switch_button">