Вход Регистрация
Файл: x.h9m.su/index.php
Строк: 112
<?php

/**
*** АВТОР СКРИПТА: serj - пользователь форума lark.ru***
 */

include 'conf.php';
header("Content-type:text/html; charset=all");

$host"www.lark.ru";
$path="/".$_SERVER['QUERY_STRING'];
$fp=fsockopen($host,80,$errno$errstr,10);
if(!
$fp) { echo "$errstr ($errno)<br/>n"; }else{
$data "";
$post=0; foreach($_POST as $key=>$value){
$post=1$data.="&$key=$value";} if($data)$data=substr($data,1);
if(
$post$headers "POST $path HTTP/1.0rn";else
$headers "GET $path HTTP/1.0rn"$headers .= "Host: $hostrn";
$headers .= "Accept: text/html, application/xml;q=0.9, application/xhtml+xml, image/png, image/jpeg, image/gif,image/x-bitmap, */*;q=0.1rn";
$headers .= "Accept-Charset: utf-8;q=0.6 windows-1251;q=0.1*;q=0.1rn";
$headers .= "Accept-Encoding: utf-8rn";
$headers .= "Accept-Language: ru, en;q=0.9rn";
$headers .= "User-Agent: ".$_SERVER['HTTP_USER_AGENT']."rn";
if(
$post){ $headers .= "Content-type: application/x-www-form-urlencodedrn";
$headers .= "Content-Length: ".strlen ($data)."rn";
$headers .= "rn"$headers .= $data;}else $headers.="rn";
@
fwrite($fp$headers); while($file != "rn"$file = @fgets($fp128);
$file ''; while(!feof($fp)) $file .= @fgets($fp4096); @fclose($fp); }
################

$file=str_replace('href="login.lm','href="?login.lm',$file);
$file=str_replace('href="/forum','href="http://lark.ru/forum',$file);
$file=str_replace('href="/','href="?',$file);
$file=str_replace('<img src="/','<img src="http://lark.ru/',$file);
$file=str_replace('<img src="reg.lm?','<img src="http://lark.ru/reg.lm?',$file);
$file=str_replace('action=".','action="',$file);
$file=str_replace('action="/','action="?',$file);
$file=str_replace('action="http://lark.ru/','action="?',$file);
$file=str_replace('type="text/css" href="http://lark.ru/css/default.css','type="text/css" href="'.$style.'',$file);
$file=str_replace('href="/css/default.css','href="'.$style.'',$file);
$file=str_replace('href="http://lark.ru/','href="?',$file);
$file=str_replace('URL=http://lark.ru','URL=?',$file);
$file=str_replace('action="login.lm','action="?login.lm',$file);
$file=str_replace('action="mynews.lm','action="?mynews.lm',$file);
$file=str_replace('href="http://lark.ru/login.lm','href="?login.lm',$file);
$file=str_replace('href="profile.settings.lm','href="?profile.settings.lm',$file);
$file=str_replace('href="mynews.lm','href="?mynews.lm',$file);
$file=str_replace('href="myforum.lm','href="?myforum.lm',$file);
$file=str_replace('href="styles.lm','href="?styles.lm',$file);
$file=str_replace('href="pagetuner.lm','href="?pagetuner.lm',$file);
$file=str_replace('href="gb.lm','href="?gb.lm',$file);
$file=str_replace('href="myusers.lm','href="?myusers.lm',$file);
$file=str_replace('href="msg_system.lm','href="?msg_system.lm',$file);
$file=str_replace('href="stats.lm','href="?stats.lm',$file);
$file=str_replace('href="cp.lm','href="?cp.lm',$file);
$file=str_replace('href="gb.settings.lm','href="?gb.settings.lm',$file);
$file=str_replace('href="editor.settings.lm','href="?editor.settings.lm',$file);
$file=str_replace('href="mycat.lm','href="?mycat.lm',$file);
$file=str_replace('href="domains.lm','href="?domains.lm',$file);
$file=str_replace('href="mypartners.lm','href="?mypartners.lm',$file);
$file=str_replace('href="payment/','href="?payment/',$file);
$file=str_replace('href="lark_news.lm','href="?lark_news.lm',$file);
$file=str_replace('href="help.lm','href="?help.lm',$file);
$file=str_replace('action="myforum.lm','action="?myforum.lm',$file);
$file=str_replace('action="gb.lm','action="?gb.lm',$file);
$file=str_replace('action="rawtext.lm','action="?rawtext.lm',$file);
$file=str_replace('action="domains.lm','action="?domains.lm',$file);
$file=str_replace('action="pagetuner.lm','action="?pagetuner.lm',$file);
$file=str_replace('action="activate_promocode.lm','action="?payment/activate_promocode.lm',$file);
$file=str_replace('action="mycat.lm','action="?mycat.lm',$file);
$file=str_replace('href="reg.lm','href="?reg.lm',$file);
$file=str_replace('href="forgot_password.lm','href="?forgot_password.lm',$file);
$file=str_replace('action="forgot_password.lm','action="?forgot_password.lm',$file);
$file=str_replace('src="forgot_password.lm','src="http://lark.ru/forgot_password.lm',$file);
$file=str_replace('href="catalog.lm','href="?catalog.lm',$file);
$file=str_replace('www.lark.ru/','?',$file);

$file=str_replace('href="confirm_profile.lm','href="?confirm_profile.lm',$file);
$file=str_replace('src="confirm_profile.lm','src="http://lark.ru/confirm_profile.lm',$file);
$file=str_replace('action="confirm_profile.lm','action="http://lark.ru/confirm_profile.lm',$file);

$file=str_replace('?favicon.ico',''.$fav.'',$file);
$file=str_replace('Создай свой wap сайт с мобильного телефона! Это легко и бесплатно!',''.$des.'',$file);
$file=str_replace('Lark.ru: конструктор мобильных сайтов: Создать сайт с телефона',''.$tit.'',$file);
$file=str_replace('Лучший конструктор сайтов</div>',''.$block1.'</div>',$file);
$file=str_replace('Легко.</span>',''.$block2.'</span>',$file);
$file=str_replace('Бесплатно.</span>',''.$block3.'</span>',$file);
$file=str_replace('Навсегда.</span>',''.$block4.'</span>',$file);
$file=str_replace('У нас вы можете бесплатно создать для себя сайт прямо с вашего смартфона,','',$file);
$file=str_replace('телефона или планшета, он работает с мобильных и компьютеров.',''.$block5.'',$file);
$file=str_replace('alt="Ларк.ру"','alt="'.$walt.'"',$file);
$file=str_replace('http://lark.ru/img/lark.png',''.$lot.'',$file);
$file=str_replace('Конструктор сайтов Lark.ru</div>',''.$fat.'</div>',$file);
$file=str_replace('?forum/','http://lark.ru/forum/',$file);
$file=str_replace('alt="WapMaSs" width="167" height="49"','alt="WapMaSs" width="100" height="70"',$file);
echo 
$file;


?>
Онлайн: 0
Реклама