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

uwuzu version 1.2.11

This commit is contained in:
daichimarukana
2023-08-25 00:45:43 +09:00
parent 468536b4a8
commit 4ebbb1ca82
21 changed files with 586 additions and 466 deletions
+2 -2
View File
@@ -67,7 +67,7 @@ try {
//--------------------------------------
$userQuery = $dbh->prepare("SELECT username, userid, loginid, profile, role FROM account WHERE userid = :userid");
$userQuery = $dbh->prepare("SELECT username, userid, loginid, profile, role, iconname FROM account WHERE userid = :userid");
$userQuery->bindValue(':userid', $userid);
$userQuery->execute();
$userData = $userQuery->fetch();
@@ -195,7 +195,7 @@ $pdo = null;
<?php endif; ?>
<div class="myarea">
<img src="image.php">
<img src="<?php echo htmlentities($userData['iconname']); ?>">
<p>名前</p>
<h2><?php if( !empty($row["username"]) ){ echo htmlentities( $row["username"], ENT_QUOTES, 'UTF-8'); } ?></h2>
<div class="roleboxes">