just print something damn
This commit is contained in:
parent
770d4cfbae
commit
18ff87aff3
@ -30,14 +30,7 @@ if(isset($_GET['user']) ) {
|
|||||||
$error = "<b>no user found</b>";
|
$error = "<b>no user found</b>";
|
||||||
} else {
|
} else {
|
||||||
$showForm = false;
|
$showForm = false;
|
||||||
echo 'The User '.$user['username'].' with the ID '.$user['id'].' has:';
|
echo "adminrights y/n";
|
||||||
if($user['isadmin'] == "0"){
|
|
||||||
echo "<br>no admin rights";
|
|
||||||
} if($user['isadmin'] == "1"){
|
|
||||||
echo "<br> ADMIN RIGHTS!";
|
|
||||||
} else {
|
|
||||||
echo "<br><i>A faulty user.</i>";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user