Only admins can access the page now.";
}
else {
echo'
pagelock
';
$ergebnis=safe_query("SELECT * FROM `".PREFIX."lock`");
$ds=mysql_fetch_array($ergebnis);
echo'';
}
} else {
if($_POST['submit'] != "" AND $_POST['unlock'] AND ispageadmin($userID)) {
safe_query("UPDATE `".PREFIX."settings` SET closed='0'");
echo "Page unlocked!";
}
else {
echo'pagelock
';
$ergebnis=safe_query("SELECT * FROM `".PREFIX."lock`");
$ds=mysql_fetch_array($ergebnis);
echo'';
}
}
?>