Only admins can access the page now."; } else { echo'

pagelock

'; $ergebnis=safe_query("SELECT * FROM `".PREFIX."lock`"); $ds=mysql_fetch_array($ergebnis); echo'
Pagelock Reason: you can use HTML-tags
'; } } 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'
The Page ist locked since '.date("Y\-m\-d, G:i",$ds[time]).'

Do you want to unlock the page?

'; } } ?>