if (!isset($_GET['id']) || !is_number($_GET['id'])) { error(404); } $ArticleID = $_GET['id']; $Latest = $Alias->article($ArticleID); list($Revision, $Title, $Body, $Read, $Edit, $Date, $AuthorID, $AuthorName) = array_shift($Latest); if ($Read > $LoggedUser['EffectiveClass']) { error(404); } if ($Edit > $LoggedUser['EffectiveClass']) { error(403); } View::show_header("Revisions of ".$Title); ?>