Вход Регистрация
Файл: filmwap/index.php
Строк: 34
<?php
include 'head.php';

echo
'<div clas="a52">';echo'<div clas="a52">';echo'<div clas="a52">';
/*
if(isset($_GET['mod'])=='find'){
$curl = curl_init();
curl_setopt($curl,CURLOPT_URL,'http://7ba.ru/video/?'.$_SERVER['QUERY_STRING']);
$_SESSION[test]==$_POST[vq];
if(isset($_POST[vq]))mysql_query("UPDATE `simba` SET `search` = '$_POST[vq]' WHERE `id` = '$user[id]'");
$count=mysql_result(mysql_query("SELECT COUNT(*) FROM `simba` WHERE `id` = '$user[id]'"),0);
if($count=='0')mysql_query("INSERT INTO `simba` SET `search` = '$_POST[vq]', `id` = '$user[id]'");
}else
*/
if($_GET['id']){
$curl curl_init();
curl_setopt($curl,CURLOPT_URL,'http://7ba.ru/video/'.$_GET['id']);

}else{
$curl curl_init();
curl_setopt($curl,CURLOPT_URL,'http://7ba.ru/video/?'.$_SERVER['QUERY_STRING']);
}
curl_setopt($curl,CURLOPT_USERAGENT,'Nokia: 5130');
curl_setopt($curl,CURLOPT_TIMEOUT,5);
curl_setopt($curl,CURLOPT_POSTFIELDS,1);
/*
$q=mysql_fetch_array(mysql_query("SELECT * FROM `simba` WHERE `id` = '$user[id]'"));
if(isset($_POST[vq]) || $_GET[mod]=='find')curl_setopt($curl,CURLOPT_POSTFIELDS, "vq=$q[search]");
*/
if(isset($_POST[vq]))curl_setopt($curl,CURLOPT_POSTFIELDS"vq=$_POST[vq]");
curl_setopt($curl,CURLOPT_RETURNTRANSFER,1);
$text curl_exec($curl);
curl_close($curl);

$text str_replace('<img src="/','<img src="http://7ba.ru/',$text);
$text str_replace("<td class='auts'>","",$text);
$text str_replace('<a href="/d','<a href="http://wap.pux.su/d',$text);
$text str_replace('<div class="linkes" onclick="location.href='/video/','<div class="main"><a href="load.php?id=',$text);
$text = str_replace('<li>','<div class="nav2">',$text);
$text = str_replace('Личные рекомендации фильмов!','',$text);
$text = str_replace('<ul class="navigation-link-3">','',$text);
$text = str_replace('</b></div>','</b>',$text);
$text = str_replace('</li>','</div>',$text);
$text = str_replace('';">','">',$text);
$text = str_replace('<div class="item-no-marker">','<div class="nav2">',$text);
$text = str_replace('<div class="box-link">','<div class="main">',$text);
$text = str_replace('<div class="block-title">','<div class="foot">',$text);
$text = str_replace('Отправить в SMS','',$text);
$text = str_replace('Поделиться ссылкой:','',$text);
$text = str_replace('<div class="body">','<div class="gw">',$text);
if(
$_GET['mod']=='find')$text=preg_replace('|---(.*?)</body>|is', '<div class="jgagd">', $text);
$text=preg_replace('|<body>(.*?)</b>|is', '', $text);
$text=preg_replace('|<а href="ex/catalog/5/|is', '<span class="', $text);
$text=preg_replace('|<style(.*?)</style>|is', '', $text);
$text=preg_replace('|<br/><br/>(.*?)</body>|is', '', $text);
$text=preg_replace('|<div class="title">(.*?)</div>|is', '', $text);
$text=preg_replace('|Сегодня в Кино!|is', '', $text);
$text=preg_replace('|<table style="width:100%; marign:0">(.*?)</body>|is', '', $text);

$text=preg_replace('|<div class="linkes" onclick="location.href='/ex/catalog/5/|is''<span class="'$text);
$text=preg_replace('|<head>(.*?)</table></div>|is'''$text);
$text=preg_replace('|Для(.*?)---|is''<div class="main">'$text);
$text=preg_replace('|<img src="http://7ba.ru/includes/css/touch/img/moi_fajly.png" alt="Обменник" class="fileimg"/>(.*?)</div>|is'''$text);

$text=preg_replace('|href="/video/|is''href="load.php?id='$text);

echo 
$text;

echo
'</div>';echo'</div>';
if(isset(
$_GET['id']) || isset($_GET['mod'])){echo "<div class='foot'><img src='/style/icons/str2.gif'> <a href='/filmwap'>Мобильные фильмы</a> | <a href='/filmwap/load.php?id=tags.html'>Жанры</a></div>";}else{echo "<div class='foot'><img src='/style/icons/str.gif'><a href='/filmwap/load.php?id=tags.html'>Жанры</a></div>";}
 include 
'foot.php';
?>
Онлайн: 0
Реклама