Вот код как и просил
<?php
define('_IN_JOHNCMS', 1);
$textl = 'Темы на MySITE.Ru';
require('../incfiles/core.php');
require('../incfiles/head.php');
$file = file("http://wapos.ru/themes?".$_SERVER['QUERY_STRING']);
$file = @implode ("",$file);
$file = preg_replace('/<a href="http:\/\/wap.1124.ru(.*?)<\/a>/si','',$file);
$file = preg_replace('/<a href="http:\/\/demo.1124.ru(.*?)<\/a>/si','',$file);
$file = preg_replace('/<a href="http:\/\/wapos.ru\/opera.xhtml(.*?)<\/a>/si','',$file);
$file = preg_replace('/<a href="http:\/\/wapos.ru\/jimm(.*?)<\/a>/si','',$file);
$file = preg_replace('/<a href="http:\/\/1124.ru(.*?)<\/a>/si','',$file);
$file = preg_replace('/<a href="http:\/\/wap2.1124.ru(.*?)<\/a>/si','',$file);
$file = preg_replace('/<a href="http:\/\/wapos.ru(.*?)<\/a>/si','',$file);
$file = preg_replace('/<a href="http:\/\/spin2win.wapos.ru(.*?)<\/a>/si','',$file);
$file = str_replace('Jimm Wapos ICQ 0.7.0','',$file);
$file = str_replace('Новая версия Opera mini 4.3','',$file);
$file = str_replace('Аська на мобильный!','',$file);
$file = str_replace('Лучшая версия мобильной ICQ','',$file);
$file = str_replace('WAPOS.RU','',$file);
$file = str_replace('(c) Wapos.ru 2009','',$file);
$file = str_replace('<img src="imgs/folder.gif" alt="-" />','',$file);
$file = str_replace('http://waplog.net/ru/c.shtml','',$file);
$file = str_replace('http://c.waplog.net/ru/5896.cnt','',$file);
$file = str_replace('<a href="?5896">','',$file);
$file = str_replace('<img src="" alt="w" />','',$file);
$file = str_replace('wap 1','',$file);
$file = str_replace('wap 2','',$file);
$file = str_replace('|','',$file);
$file = str_replace('<< На главную','',$file);
$file = str_replace('Версия:','',$file);
$file = str_replace('<br/><br/>','<br/>',$file);
$file = str_replace('<div class="logo"><img src="../imgs/o/logo.gif" alt=""/></div>','',$file);
$file = str_replace('</div><br/>','',$file);
$file = str_replace('<img class="ico" src="../imgs/o/f.gif" alt=""/>','',$file);
$file = str_replace('<a href="index.php?wml=1">','',$file);
$file = str_replace(' ','',$file);
$file = str_replace('<title>Темы на Wapos.Ru</title> ','<title>Темы на MySITE.Ru</title>',$file);
$file = str_replace('<div class="menu">','MySITE.Ru<br/>',$file);
//убираем хрень (ipman)
$file = preg_replace('/<?xml(.*?)<div class=\"m\">/si','',$file);
$file = preg_replace('#<div class="top">(.*)</html>#isU','', $file);
echo $file;
require('../incfiles/end.php');
?>