array("assets/javascripts/core.js"), "css" => array("assets/css/core.css"), "title" => $meta_title )); require_once root_dir().'_index.html.php'; Renderosity\Facades\TMPL::renderFooter('layouts/application/footer.html.php'); } elseif( is_numeric($_GET['aid']) ){ require_once root_dir().'alerts/index.php'; Renderosity\Facades\TMPL::renderHeader('layouts/application/header.html.php', array( "js" => array("assets/javascripts/core.js"), "css" => array("assets/css/core.css") )); require_once root_dir().'_index.html.php'; Renderosity\Facades\TMPL::renderFooter('layouts/application/footer.html.php'); } elseif( isset($_GET['rssearch']) ){ if (!empty($_GET['rssearch'])) require_once root_dir().'search/index.php'; Renderosity\Facades\TMPL::renderHeader('layouts/application/header.html.php', array( "js" => array("assets/javascripts/core.js"), "css" => array("assets/css/core.css"), "title" => $meta_title)); require_once root_dir().'_index.html.php'; Renderosity\Facades\TMPL::renderFooter('layouts/application/footer.html.php'); } elseif( !logged_in() ) { require_once root_dir() . 'homepage/index.php'; Renderosity\Facades\TMPL::renderHeader('layouts/application/header.html.php', array( "js" => array("assets/javascripts/core.js"), "css" => array("assets/css/core.css", "assets/css/news.css", "assets/css/awards.css"))); require_once root_dir() . '_index.html.php'; Renderosity\Facades\TMPL::renderFooter('layouts/application/footer.html.php'); } elseif (isset($_GET['uid']) || isset($_GET['news']) || is_numeric($_GET['aid']) || isset($_GET['rssearch']) || isset($_GET['notifications']) || isset($_GET['activities'])) { require_once root_dir().'dashboard/index.php'; Renderosity\Facades\TMPL::renderHeader('layouts/application/header.html.php', array( "js" => array( "assets/javascripts/core.js", "assets/javascripts/imageLoader.js", "assets/javascripts/notifications.js"), "css" => array( "assets/css/core.css" ))); require_once root_dir().'_index.html.php'; Renderosity\Facades\TMPL::renderFooter('layouts/application/footer.html.php'); }else{ require_once root_dir().'dashboard/index.php'; Renderosity\Facades\TMPL::renderHeader('layouts/application/homeHeader.html.php', array( "js" => array( "assets/javascripts/core.js", "assets/javascripts/camera.min.js", "assets/javascripts/jquery.easing.1.3.js", "assets/javascripts/jquery.mobile.customized.min.js", "assets/javascripts/homepage.js"), "css" => array( "assets/css/core.css", "assets/css/camera.css" ))); ?>