From 8cbd30408960f1fad0cd11af7d43f393c24b3379 Mon Sep 17 00:00:00 2001 From: Jan BELLON Date: Mon, 11 Mar 2024 23:01:18 +0000 Subject: [PATCH] Update 2 files - /html/users.php - /html/src/css/style.css --- html/src/css/style.css | 8 ++++++++ html/users.php | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/html/src/css/style.css b/html/src/css/style.css index 64ff471d..292f2aa1 100644 --- a/html/src/css/style.css +++ b/html/src/css/style.css @@ -189,6 +189,14 @@ a { border: 5px solid var(--banner-background); } +.user-pp-image { + width: 10em; + height: 10em; + border-radius: 10em; + transform: translate(0, -60%); + border: 5px solid var(--banner-background); +} + .user-profile .user-pp { height: 6em; } diff --git a/html/users.php b/html/users.php index 83c63a93..e3a1952d 100644 --- a/html/users.php +++ b/html/users.php @@ -81,7 +81,7 @@ if(isset($_POST['userid']) && isset($_POST['role']) && isset($_POST['accreditati if ($resultat) { foreach($resultat as $row) { - $user_pp = $row['profile_picture'] == NULL ? "https://abs.twimg.com/sticky/default_profile_images/default_profile_400x400.png" : $resultat[0]['profile_picture']; + $user_pp = $row['profile_picture'] == NULL ? "https://abs.twimg.com/sticky/default_profile_images/default_profile_400x400.png" : $row['profile_picture']; echo "
Nom : " . $row['display_name'] . "
login : " . $row['username'] . "
Email : " . $row['email'] . "