Jim Shepich III
link)){
echo "";
//If the directory assigns the page to an external link, redirect to that location.
}
if(isset($page->iframe)){
echo "";
//If the directory says to embed the page in an iframe, then do that.
} else {
echo file_get_contents(__DIR__ ."/pages/".$page->file);
//Otherwise, just write the HTML of the page in the content area.
}
?>