article($ArticleID); list($Revision, $Title, $Body, $Read, $Edit, $Date, $AuthorID, $AuthorName) = array_shift($Latest); if($Read > $LoggedUser['Class']){ error(404); } if($Edit > $LoggedUser['Class']){ error(403); } show_header("Revisions of ".$Title); ?>

Revision history for

query("SELECT w.Revision, w.Title, w.Author, u.Username, w.Date FROM wiki_revisions AS w LEFT JOIN users_main AS u ON u.ID=w.Author WHERE w.ID='$ArticleID' ORDER BY Revision DESC"); while(list($Revision, $Title, $AuthorID, $AuthorName, $Date) = $DB->next_record()) { ?>
Revision Title Author Age Old New