Просмотр файла video.php

Размер файла: 3.26Kb
  1. <?
  2. // граббер видео с сайта http://on-porn.ru
  3. // просто распакаовать в папку
  4. // и настроить дизайн
  5. // можно использовать как сервис вида video.php?url=site.ru
  6. // made by WapGid http://wapgid.org
  7.  
  8. if(!empty($link)){header ("Location: http://on-porn.ru/videoload".$link); exit;
  9. }
  10. if(empty($url)){$url=$_SERVER['HTTP_HOST'];}
  11. if(empty($z)){$file = file("http://on-porn.ru/video.php?z=2");}
  12. else{$file = file("http://on-porn.ru/video.php?$QUERY_STRING");}
  13. $file = @implode("", $file);
  14.  
  15.  
  16. $file = preg_replace('/<?xml version=(.*?)<div class="box">/si','',$file);
  17. $file = preg_replace('/<div class="box">(.*?)<\/html>/si','<div class="box"><a href="http://'.$url.'">&copy; '.$url.'</a></div>',$file);
  18. $file=str_replace('<?', "", $file);
  19. $file=str_replace('src="/', 'src="http://on-porn.ru/', $file);
  20. $file=str_replace('url='.$url.'&amp;', '', $file);
  21.  
  22. $file=str_replace('php?', 'php?url='.$url.'&amp;', $file);
  23. $file=str_replace('<a href="/videoload', '<a href="/video.php?link=', $file);
  24. $file=str_replace('http://on-porn.ru/videoload', 'http://xxx.dobrik.ru/video.php?file=', $file);
  25.  
  26. $file=str_replace('<a href="/video.php', '<a href="video.php', $file);
  27. $file = preg_replace('/<!--kom-->(.*?)<!--kom-->/si','',$file);
  28. $file = preg_replace('/<!--pre-->(.*?)<!--pre-->/si','',$file);
  29.  
  30.  
  31. ///массив с рекламой ниже случайный вывод
  32. $reklam[]='<a href="http://onban.ru/6044.pic.main">Частное XXX Фото Видео</a>';
  33. $reklam[]='<a href="http://onban.ru/6044.pic.main">Бесплатный ХХХ Раздел</a>';
  34. $reklam[]='<a href="http://onban.ru/6044.pic.main">→Супер разделы←</a>';
  35. $reklam[]='<a href="http://adpix.ru/5042.go.main">А у нас Бесплатно Всё</a>';
  36. $reklam[]='<a href="http://adpix.ru/5042.go.main">Загрузки - Бесплатно</a>';
  37. $reklam[]='<a href="http://adpix.ru/5042.go.main">Sex Видео-Фото 18+</a>';
  38.  
  39.  
  40.  
  41. print '<?xml version="1.0" encoding="utf-8"?>
  42. <!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
  43. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ru">
  44. <head>
  45. <style type="text/css" media="all">
  46. @import url(style.css);
  47. </style><title>'.strtoupper($url).'</title>
  48. <link rel="shortcut icon" type="image/x-icon" href="pic/favicon.ico"/>
  49. </head><body>
  50. <div class="headlogo">';
  51. if($url=='wapgid.org') { print '<img src="pic/logo.png" alt=""/>';}else {print '<b>'.$url.'</b>';}
  52. print '</div>';
  53.  
  54. //выводим случайную рекламу цифра 2 количество ссылок
  55. if($url=='wapgid.org') {
  56. print '<div class="vreklam">';
  57. shuffle($reklam);
  58. for($i=0;$i<2;$i++){
  59. print $reklam[$i].'<br />';
  60. }
  61. print '</div>'; }
  62. print '<div class="box">';
  63.  
  64.  
  65.  
  66. echo $file;
  67.  
  68. // свои баннеры
  69. if($url=='wapgid.org') {
  70. print '<div class="nreklam">
  71. <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 />
  72. <a href="http://waplog.net/c.shtml?316001"><img src="http://c.waplog.net/316001.cnt" alt="waplog" /></a></div></body></html>';
  73.  
  74. }
  75. ?>