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