if (isset($_SERVER['HTTP_REFERER'])) {$ref = $_SERVER['HTTP_REFERER'];} else {$ref='';}; if (isset($_GET['text'])) {$text = urlencode($_GET['text']);} else {$text='';}; if (preg_match("/internationalproperty.ru\/gallery_(.*)\.shtml/", $ref)) { ?>