console.log('PHP: ');console.log('PHP: Не нашли отель trivago na_leninskom,Санкт-Петербург,На Ленинскомhttps://www.googleapis.com/customsearch/v1?alt=json&cx=002350544079083536145:6hlkhsgpvda&key=AIzaSyAguua6Rj0AXwUqR6oUCGhc1e04ZII3yFk&q=%D0%B3%D0%BE%D1%81%D1%82%D0%B8%D0%BD%D0%B8%D1%86%D0%B0+%D0%9D%D0%B0+%D0%9B%D0%B5%D0%BD%D0%B8%D0%BD%D1%81%D0%BA%D0%BE%D0%BC+%D0%A1%D0%B0%D0%BD%D0%BA%D1%82-%D0%9F%D0%B5%D1%82%D0%B5%D1%80%D0%B1%D1%83%D1%80%D0%B3+site:trivago.ru');jQuery.getScript("http://sopt.ru/pimcore/static/js/frontend/geoip.js/", function(){ //alert(pimcore["location"]); }); $("#table2").toggle(); $("#price_header").html(" " ); $("#price_header").css( "background-color" ,"white"); $("#price_header").css( "padding" ,"100px 0 450px 0 "); $("#price_header").append(''); $( "#searchprices" ).click(function() { if (typeof metrikaCounter != "undefined") {metrikaCounter.reachGoal('bookingbuttonclick');} $.get( "http://sopt.ru/offers-notify.php?host=" ); var mainlink=""; var checkin_date=jQuery("#dateFrom").val(); var checkout_date=jQuery("#dateTo").val(); mainlink=mainlink.replace("CHECKINDAY", checkin_date.split(".")[0]); mainlink=mainlink.replace("CHECKINMONTH", checkin_date.split(".")[1]); mainlink=mainlink.replace("CHECKINYEAR", checkin_date.split(".")[2]); mainlink=mainlink.replace("CHECKOUTDAY", checkout_date.split(".")[0]); mainlink=mainlink.replace("CHECKOUTMONTH", checkout_date.split(".")[1]); mainlink=mainlink.replace("CHECKOUTYEAR", checkout_date.split(".")[2]); window.open(mainlink, 'booking', 'window settings'); return false; });