loadCategory($_GET['cat']); }else if(isset($_GET['p'])){ $num = explode("-", $_GET['p']); $cms_content = $cms->loadArticle($num[0]); }else if(isset($_GET['q'])){ $cms_content = $cms->loadSearch($_GET['q']); }else{ $cms_content = $cms->loadIndex($page); } include SERVER_PATH.THEME_PATH.'index.php';