"); if (isset($langsel) && (isset($langact_x) || $quickbaract=='lang')) { if (strlen($langsel)!=2) $langsel = substr($langsel.'--',0,2); $langsel = strtolower($langsel); $t = '/doc_'.$langsel.'/'.$file; $t = 'http://'.$config['domain'].'/relocate'.$t; header("Location: $t "); exit(); } /* country */ if (isset($countrysel) && (isset($countryact_x) || $quickbaract=='country')) { $t = ''; if (isset($country[$countrysel])) $t = $country[$countrysel]; if ($countrysel=='all') $t=$page_pathnew.'countries/'; if ($t!='') { $t = '/doc_'.$lang.'/'.$t; $t = 'http://'.$config['domain'].'/relocate'.$t; header("Location: $t "); exit(); } } /* perform actions */ if (isset($act)) { // echo("act:$act
"); switch ($act) { case "findlang": if (isset($_SERVER["HTTP_ACCEPT_LANGUAGE"])) { $t = $_SERVER["HTTP_ACCEPT_LANGUAGE"]; $t = strtolower(substr($t,0,2)); if (isset($language[$t])) $lang_sel=$t; else $lang_sel=$lang_default; // echo("Your preferred Language:$lang_sel
The created language:$lang
"); if ($lang != $lang_sel) { $t = '/doc_'.$lang_sel.'/'.$file; $t = 'http://'.$config['domain'].$t; header("Location: $t "); } } break; case "reset": setcookie("actarchivclose","",time() - 3600); $actarchivclose = "off"; break; case "closearchivinfo": setcookie("actarchivclose","on",0); $actarchivclose = "on"; break; } } if (!isset($actarchivclose)) $actarchivclose = "off"; /* get file inclusion data */ $flg_archive=0; $flg_archiveinfo=0; $file_lang = '@unknown'; if (substr($file,0,7)=='archiv/') { $flg_archive=1; /* archiv info */ if ($actarchivclose=="off") $flg_archiveinfo=1; $t = substr($file,7); // $file_page = 'doc/archiv/'.$t; // $file_page = '../'.$t; $file_page = $config['archivroot'].$t; if (!file_exists($file_page)) $file_page=''; $file_lang = '@nomatter'; } else { // if (substr($file,0,4)=='new/') { $t = 'doc/'.$page_pathfile.$file; // echo("file -$t- :".file_exists($t)."
"); $ret=''; $file_page = v1_findfile($t,$lang,$file_lang); } $title='humanrights.de'; //title def // echo("-$file_page-
"); if (strlen($file_page)) { $r = getfile($file_page,$data); $body = extractbody($data); $head = extracttag_strict($data,'head'); $t = extracttag_strict($head,'title'); $file_title = $t; if (strlen($t)) $t.=' - '; $title = $t.$title; include('reader_archivestrip.php3'); } ?> <? echo($title); ?>
go to content (skip navigation)
?>
Home