[php]

$service_key = “772511a6370894c6f7f1f68ae8b8d43a”;
$service_url = “https://obs.hmist.com.tr/search.php”;

$a = parse_url($_SERVER[“REQUEST_URI”]);

if (isset($a[“query”])){
parse_str($a[“query”], $aa);
unset($aa[“page”]);
$a[“query”] = http_build_query($aa);
$urlpgn = $a[“path”].”?”.$a[“query”];
} else $urlpgn = $a[“path”];

$data = array(
“action” => “home”,
“lang” => “tr”,
“timezone” => “Europe/Istanbul”,
“callback” => “http://hpkon.net/?page_id=2598”,
“urlpgn” => $urlpgn,
“page” => 1,
“page_list” => 10,
“back” => “http://hpkon.net/?page_id=2598”,
“data” => [“formpost” => [“page_id” => 2598]],
);

foreach ($data as $key => $value) {
if (isset($_GET[$key])) $data[$key] = $_GET[$key];
}

$data[“key”] = $service_key;
$url = $service_url.’?’.http_build_query($data);
$d = file_get_contents($url);
echo $d;
?>
[/php]