0 ){ $browser = 'firefox'; } $levels=rtrim($_SERVER['REQUEST_URI'],'/'); $levels = explode('/',$levels); $vid = $_SERVER['QUERY_STRING']; if(strstr($vid,'vid')){ $videoArray = explode('=',$vid); } foreach($levels as $level){ if(!$level){ array_shift($levels); }else{ $GOLBALS['dir_route']='../'; } } $beforeQ=explode('?',$levels[0]); $levels[0]=$beforeQ[0]; $levels[0]==''?$levels[0]='home':null; ?>