'; function ddnayoAcsRcd($id_hotel) { if($_SERVER['HTTP_REFERER']!= null) { $tmpref = $_SERVER['HTTP_REFERER']; $tmpref = str_replace("http://","",$tmpref); $tmpref = str_replace("https://","",$tmpref); if(strpos($tmpref,$_SERVER['HTTP_HOST']) === false) { $url = "https://www.ddnayo.com/RsvSys/AccessRecord.ashx?id_hotel=".$id_hotel."&referrer=".urlencode($_SERVER['HTTP_REFERER']); echo ""; } } } ddnayoAcsRcd(16312); echo '' ?>