# # Žorsteinn Sęvar Hjartarson # Blįsteinn.com, 2006 - 2008 # # HTML design # include("inc.preload.php"); //=========================================================[ WEBSITE CLOSED CONTENT ]=========================================================// // The website is closed, show "out of order" message if(!$PAGE_ACTIVATED) { include('theme/'.SITE_THEMEKEY.'php/page.down.php'); } //=========================================================[ PRE-PROGRAMMED FRONT ]=========================================================// else if($PAGE_SURF == SURF_FRONTPAGE) { include('theme/'.SITE_THEMEKEY.'php/page.front.php'); } //=========================================================[ LARGER GALLERY IMAGE ]=========================================================// else if($PAGE_SURF == SURF_GALLERYIMAGE) { include('theme/'.SITE_THEMEKEY.'php/page.galleryimg.php'); } //=========================================================[ SPLASH PAGE CONTENT ]=========================================================// // If the splash page should be displayed - and website is still active else if($PAGE_SPLASH) { include('theme/'.SITE_THEMEKEY.'php/page.splash.php'); } //=========================================================[ ACTIVE PAGE CONTENT ]=========================================================// // Page is activated so open theme index else if($PAGE_ACTIVATED) { include('theme/'.SITE_THEMEKEY.'php/page.index.php'); } // ------------------------[ DISCONNECT FROM DATABASE ]------------------------// $Sql->Disconnect(); ?>