if(file_exists(dirname($helppath)."/help/index.htm")) { //redirect to lang/xx/help/index.htm if($showlite==2) { header("Status: " . $code . " Moved Permanently"); header("Location: ./".dirname($helppath)."/help/index.htm"); header("Content-Type: text/html"); exit; } //open lang/xx/help/index.htm in iframe window (text skins) else $inframe="./".dirname($helppath)."/help/index.htm"; } else { //redirect to html/help/index.htm if($showlite==2) { $code = "302"; if ($SERVER_PROTOCOL == "HTTP/1.1") $code = "303"; header("Status: " . $code . " Moved Permanently"); header("Location: ./help/index.htm"); header("Content-Type: text/html"); exit; } //open html/help/index.htm in iframe window (text skins) else $inframe="./help/index.htm"; } $createdata .='