Размер файла: 3.26Kb
- <?
- // граббер видео с сайта http://on-porn.ru
- // просто распакаовать в папку
- // и настроить дизайн
- // можно использовать как сервис вида video.php?url=site.ru
- // made by WapGid http://wapgid.org
-
- if(!empty($link)){header ("Location: http://on-porn.ru/videoload".$link); exit;
- }
- if(empty($url)){$url=$_SERVER['HTTP_HOST'];}
- if(empty($z)){$file = file("http://on-porn.ru/video.php?z=2");}
- else{$file = file("http://on-porn.ru/video.php?$QUERY_STRING");}
- $file = @implode("", $file);
-
-
- $file = preg_replace('/<?xml version=(.*?)<div class="box">/si','',$file);
- $file = preg_replace('/<div class="box">(.*?)<\/html>/si','<div class="box"><a href="http://'.$url.'">© '.$url.'</a></div>',$file);
- $file=str_replace('<?', "", $file);
- $file=str_replace('src="/', 'src="http://on-porn.ru/', $file);
- $file=str_replace('url='.$url.'&', '', $file);
-
- $file=str_replace('php?', 'php?url='.$url.'&', $file);
- $file=str_replace('<a href="/videoload', '<a href="/video.php?link=', $file);
- $file=str_replace('http://on-porn.ru/videoload', 'http://xxx.dobrik.ru/video.php?file=', $file);
-
- $file=str_replace('<a href="/video.php', '<a href="video.php', $file);
- $file = preg_replace('/<!--kom-->(.*?)<!--kom-->/si','',$file);
- $file = preg_replace('/<!--pre-->(.*?)<!--pre-->/si','',$file);
-
-
- ///массив с рекламой ниже случайный вывод
- $reklam[]='<a href="http://onban.ru/6044.pic.main">Частное XXX Фото Видео</a>';
- $reklam[]='<a href="http://onban.ru/6044.pic.main">Бесплатный ХХХ Раздел</a>';
- $reklam[]='<a href="http://onban.ru/6044.pic.main">→Супер разделы←</a>';
- $reklam[]='<a href="http://adpix.ru/5042.go.main">А у нас Бесплатно Всё</a>';
- $reklam[]='<a href="http://adpix.ru/5042.go.main">Загрузки - Бесплатно</a>';
- $reklam[]='<a href="http://adpix.ru/5042.go.main">Sex Видео-Фото 18+</a>';
-
-
-
- print '<?xml version="1.0" encoding="utf-8"?>
- <!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ru">
- <head>
- <style type="text/css" media="all">
- @import url(style.css);
- </style><title>'.strtoupper($url).'</title>
- <link rel="shortcut icon" type="image/x-icon" href="pic/favicon.ico"/>
- </head><body>
- <div class="headlogo">';
- if($url=='wapgid.org') { print '<img src="pic/logo.png" alt=""/>';}else {print '<b>'.$url.'</b>';}
- print '</div>';
-
- //выводим случайную рекламу цифра 2 количество ссылок
- if($url=='wapgid.org') {
- print '<div class="vreklam">';
- shuffle($reklam);
- for($i=0;$i<2;$i++){
- print $reklam[$i].'<br />';
- }
- print '</div>'; }
- print '<div class="box">';
-
-
-
- echo $file;
-
- // свои баннеры
- if($url=='wapgid.org') {
- print '<div class="nreklam">
- <a href="http://onban.ru/6044.go.main"><img src="http://onban.ru/6044.pic.main" alt="onban.ru"/></a><a href="http://adpix.ru/5042.go.main"><img src="http://adpix.ru/5042.img.main" alt="adpix.ru"/></a><br />
- <a href="http://waplog.net/c.shtml?316001"><img src="http://c.waplog.net/316001.cnt" alt="waplog" /></a></div></body></html>';
-
- }
- ?>