- A
+
+ query("SELECT username, admin FROM user WHERE username=\"" . $_SESSION["username"] . "\" AND admin=\"1\"");
+
+ if ($out -> num_rows == 1)
+ {
+ echo '';
+ }
+ ?>
+
+
+
diff --git a/forum.php b/forum.php index 355d79a..e9ac9ad 100644 --- a/forum.php +++ b/forum.php @@ -29,8 +29,20 @@ if (!isset($_SESSION["username"]))