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.'); } View::show_header('Edit '.$Title, 'jquery'); ?>