View file sams/video/video_list.php

File size: 1.97Kb
<?php
//Требование: PHP,wml
//Автор: wax
//Сайт автора: http://mmfki.net
//Email: [email protected]

header ("Content-type:text/vnd.wap.wml; charset=utf-8");
print '<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
"http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>';
echo '<head><meta http-equiv="Cache-Control" content="no-cache" forua="true"/></head>';
echo '<card title="Супер видео! - mmfki.net">';
print '<b>mmfki.net</b>';
$file = file("http://samsungi.ru/body/wap_video/video_list.php?$QUERY_STRING");
$file = @implode("", $file);
$file = preg_replace("|(.*)../../images/|","<img src=\"http://samsungi.ru/../../images/",$file);
$file = preg_replace("|(.*)/files/|","<br/>&#187; <a href=\"http://samsungi.ru/files/",$file);


$file = preg_replace("|(.*)version(.*)|","",$file);

$file = preg_replace("|(.*)//WAPFORUM//DTD(.*)|","",$file);
$file = preg_replace("|(.*)wapforum.org(.*)|","",$file);
$file = preg_replace("|(.*)wml(.*)|","",$file);
$file = preg_replace("|(.*)waplog.net/(.*)|", "",$file);
$file = preg_replace("|(.*)playfon.ru(.*)|","",$file);
$file = str_replace('<a href="http://eha.ru/index.php?ref=7">NEW! Только для взрослых!</a>','',$file);
$file = preg_replace("|(.*)eha.ru(.*)|","",$file);

$file = preg_replace("|(.*)c100.nsk.ru(.*)|","",$file);
$file = preg_replace("|</p>|","",$file);
$file = preg_replace("|(.*)align|","",$file);
$file = str_replace('="center">','',$file);

$file = str_replace('="left">','',$file);

$file = str_replace('&lt;--------&gt;','',$file);
$file = str_replace('&lt;----/\----&gt;','&lt;----/\----&gt;<br/>',$file);


$file = str_replace('Топ 50 скачиваний','Самые - самые',$file);
$file = str_replace('50 новинок','Новинки',$file);
$file = preg_replace("|(.*)card(.*)|","",$file);
print "$file";

print '<a href="http://mmfki.net">На главную</a><br/>';
print '</card></wml>';
?>