page_title=PAGE_TITLE; // This is the page title $LGCLASS->tpl_header_file='_header.tpl'; // This is the top header $LGCLASS->tpl_footer_file='_footer.tpl'; // Footer file $LGCLASS->css_file_array[]='site.css'; // Stylesheet that needs to be added to the header. //$LGCLASS->javascript_file_array[]='images.js'; $LGCLASS->javascript_file_array[]='/common/javascript.js'; $LGCLASS->page_tpl='article_controller.tpl'; // This current's page template file. // This controlls the header Image if(!$_GET[page]){ $page = 'collections'; }else{ $page = $_GET[page]; } if($page=="home_landing") $LGCLASS->root_tpl='_landing_template.tpl'; // This is the main template where everything gets put together else if (strpos($page,"gallery")!== false){ $LGCLASS->root_tpl='_main_template_gallery.tpl'; }else $LGCLASS->root_tpl='_main_template.tpl'; // This is the main template where everything gets put together collectContentForCategory($page); assignArticleHeaderImage($page); $testimonials = assignRandomQuote("testimonials"); $smarty->assign('testimonials',$testimonials); $LGCLASS->pageConstructor(); ?>