query("SELECT username, admin FROM user WHERE BINARY username=\"" . $_SESSION["username"] . "\" AND admin=\"1\"");
if ($out -> num_rows == 1)
{
echo '
';
}
?>



query("SELECT username FROM user WHERE BINARY username=\"" . $_SESSION["username"] . "\""); if ($out -> num_rows != 1) { fail: echo "nope"; header("Location: ./index.php"); return; } ?>