$nav_tab = 'home'; $showpage = 'home'; $title = SITE_TITLE; $description = SITE_DESCRIPTION; $keywords = GOOGLE_KEYWORDS; //get GET variables if(isset($_GET['page'])) { $page = $_GET['page']; } else { $page = 'home'; } if(isset($_GET['section'])) { $section = $_GET['section']; } else { $section = ''; } $about_array=array('misiunea_noastra', 'valorile_noastre', 'competente', 'domenii_de_expertiza', 'branse', 'referinte', 'de_ce_externalizam', 'de_ce_intersoft'); if($section > '') { if(in_array($section, $about_array)) { if('misiunea_noastra' == $section) { $nav_tab .= '> misiunea noastra'; $title = 'Misiunea noastra : '.$title; } else if( 'valorile_noastre'== $section ) { $nav_tab .= ' > valorile noastre'; $title = 'Valorile noastre : '.$title; } else if( 'competente'== $section ) { $nav_tab .= ' > competente'; $title = 'Competente : '.$title; } else if( 'domenii_de_expertiza'== $section ) { $nav_tab .= ' > domenii de expertiza'; $title = 'Domenii de expertiza : '.$title; } else if( 'branse'==$section ) { $nav_tab .= ' > domenii de aplicare'; $title = 'Domenii de aplicare : '.$title; } else if( 'referinte'==$section ) { $nav_tab .= ' > referinte'; $title = 'Referinte : '.$title; } else if( 'de_ce_externalizam'==$section ) { $nav_tab .= ' > avantajele externalizarii'; $title = 'Avantajele externalizarii : '.$title; } else if( 'de_ce_intersoft'==$section ) { $nav_tab .= ' > ce ofera Intersoft'; $title = 'Ce ofera Intersoft : '.$title; } $description = str_replace('_', ' ', $section).' - '.$description; } else { if($page=='gestiune_de_proiect') { $nav_tab .= ' > metodologii de proiect'; } else { $nav_tab .= ' > '.strtolower(str_replace('_', ' ', $page)).' '; } if( 'proiect_framework' == $section ) { $nav_tab .= ' > gestiune de proiect fara riscuri'; $title = 'Gestiune de proiect fara riscuri : '.ucfirst(str_replace('_', ' ', $page)).' : '.$title; } else if( 'consultanta_stategica' == $section ) { $nav_tab .= ' > consiliere strategica'; $title = 'Consiliere strategica : '.ucfirst(str_replace('_', ' ', $page)).' : '.$title; } else if( 'consultanta_ict' == $section ) { $nav_tab .= ' > consultanta si consiliere ICT'; $title = 'Consultanta si consiliere ICT : '.ucfirst(str_replace('_', ' ', $page)).' : '.$title; } else if( 'fidelizare' == $section ) { $nav_tab .= ' > fidelizarea clientelei'; $title = 'Fidelizarea clientelei : '.ucfirst(str_replace('_', ' ', $page)).' : '.$title; } else { $nav_tab .= ' > '.str_replace('_', ' ', $section).''; $title = ucfirst(str_replace('_', ' ', $section)).' : '.ucfirst(str_replace('_', ' ', $page)).' : '.$title; } $description = str_replace('_', ' ', $page.' '.$section).' - '.$description; $keywords = str_replace('_', ',', $page.'_'.$section).','.$keywords; } $showpage = $section; } else { if($page=='gestiune_de_proiect') { $nav_tab .= ' > metodologii de proiect'; $title = 'Metodologii de proiect : '.$title; } elseif($page=='home') { $title = ucfirst(str_replace('_', ' ', $page)).' : '.$title; } else { $nav_tab .= ' > '.str_replace('_', ' ', $page).''; $title = ucfirst(str_replace('_', ' ', $page)).' : '.$title; } $description = str_replace('_', ' ', $page).' - '.$description; $keywords = str_replace('_', ',', $page).','.$keywords; $showpage = $page; } ?>