Error

No page ID was supplied.ItemExists($Id)) { # display error message indicating page not found ?>

Error

No page found with specified ID.UserCanView($GLOBALS["G_User"])) { # set a page title PageTitle($Page->Get("Title")); # display edit and delete buttons if appropriate if ($Page->UserCanEdit($GLOBALS["G_User"])) { print ''; ?> GUIFile("cross.png") ?>"> Delete GUIFile("pencil.png") ?>"> Edit SignalEvent("EVENT_HTML_INSERTION_POINT", array($GLOBALS["AF"]->GetPageName(), "Resource Display Buttons", array( "Resource" => $Page, ))); ?> AddMetaTag([ "name" => "description", "content" => $Page->Get("Summary"), ]); # retrieve page content $PageContent = $Page->Get("Content"); # if page contains tabs if ($Page->ContainsTabs()) { # make sure JavaScript and CSS files needed for tabs are loaded $GLOBALS["AF"]->RequireUIFile('jquery-ui.js'); $GLOBALS["AF"]->RequireUIFile('jquery-ui.css', ApplicationFramework::ORDER_FIRST); # add in tab markup $PageContent = Pages_Page::ProcessTabMarkup($PageContent); } # signal view of page $GLOBALS["AF"]->SignalEvent("EVENT_FULL_RECORD_VIEW", array("ResourceId" => $Page->Id())); # display the page $GLOBALS["AF"]->RequireUIFile('Pages_Controls.css'); print $PageContent; # add editing information if appropriate if ($Page->UserCanEdit($GLOBALS["G_User"])) { $MDate = $Page->Get("Date Last Modified"); $MUser = $Page->Get("Last Modified By Id", TRUE); $MUser = array_shift($MUser); $MUserName = ($MUser->Status() == U_OKAY) ? $MUser->Name() : "(unknown)"; $EditInfo = "Last modified by ".$MUserName ." ".GetPrettyTimestamp($MDate, TRUE).""; ?>

Unauthorized Access

You do not have the permissions required to view this page.