Файл: public_html/musicday/index.php
Строк: 39
<?php
/**
* Автор GeGo
* Сайт: www.sumbo.su
* Еmail. GeGo-96@mail.Ru
*/
define('_IN_JOHNCMS', 1);
$headmod ="musicday";
$textl = 'Музыка каждый день!';
require_once ("../incfiles/core.php");
require_once ("../incfiles/head.php");
header("Content-type:text/html; charset=utf-8");
$id = $_GET['id'];
$f = file_get_contents("http://mobik.ru/musicday/?".$_SERVER['QUERY_STRING']."");
$f = preg_replace('|<html(.*?)<body>|si','',$f);
$f = preg_replace('|<div style(.*?)</div>|si','',$f);
$f = preg_replace('|<script(.*?)</script>|si','',$f);
$f = preg_replace('|<div class="comm_blog">(.*?)</div></div>|si','',$f);
$f = preg_replace('|<div class="reclama">(.*?)</div>|si','',$f);
$f = preg_replace('|<div class="footer">(.*?)</html>|si','',$f);
$f = preg_replace('|<?xml version="1.0" encoding="utf-8"?>(.*?)|si','',$f);
$f = str_replace('<div class="comm_navi">','<div class="topmenu">',$f);
$f = str_replace('<div class="green_line">','<div class="phdr">',$f);
$f = str_replace('<div class="menu_line_b">','<div class="menu">',$f);
$f = str_replace('<div class="menu_line">','<div class="menu">',$f);
$f = str_replace('<span class="navi_bt">','<span class="currentpage">',$f);
$f = str_replace('<div class="line_head">','<div class="topmenu">',$f);
$f = str_replace('<span class="count">','<span class="green">',$f);
$f = str_replace('<span class="count_load">','<span class="gray">',$f);
$f = str_replace('<img src="img/','<img src="http://mobik.ru/musicday/img/',$f);
$f = str_replace('?page=veiw_post&load&id=','http://mobik.ru/musicday/?page=veiw_post&load&id=',$f);
$f = str_replace('mobik_ru','sayt.ru',$f);
/* By GeGo */
echo $f.(!empty($id)?$id:'');
echo '<div class="phdr">by GeGo KZwen.Ru</div>' ;
require('../incfiles/end.php');
?>