getString('url'); if ($_GET["report"] == "website") { $report_type = LISTING_REPORT_CLICK_THRU; if ((string_strpos($url, "http://") === false) && (string_strpos($url, "https://") === false)) $url = "http://".$url; } report_newRecord("listing", $_GET["id"], $report_type); $url = html_entity_decode($url); header ("Location: $url"); exit; ?>