if(!is_number($_GET['id']) || $_GET['id'] == ''){ error(404); } $ArticleID=$_GET['id']; $Article = $Alias->article($ArticleID); list($Revision, $Title, $Body, $Read, $Edit, $Date, $Author) = array_shift($Article); if($Edit > $LoggedUser['EffectiveClass']){ error('You do not have access to edit this article.'); } show_header('Edit '.$Title); ?>