Update 2 files
- /html/users.php - /html/src/css/style.css
This commit is contained in:
parent
9037e028eb
commit
8cbd304089
@ -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;
|
||||
}
|
||||
|
@ -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 "<div class='row'><div class='user-pp'><img src=" . $user_pp . " class='user-pp-image'></div><form action='' method='post'><div>Nom : " . $row['display_name'] . "</div><div>login : " . $row['username'] . "</div><div>Email : " . $row['email'] . "</div><div><select name='role' required>";
|
||||
foreach($roles as $id => $nom) {
|
||||
if($row['role'] == $id) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user