Вход Регистрация
Файл: muzxit.ru/sport/index.php
Строк: 35
<?php
define
('_IN_JOHNCMS'1);
$headmod ="sport";
$textl 'Sport yangiliklari';
$rootpath '../';
require_once (
"../incfiles/core.php");
require_once (
"../incfiles/head.php");
echo 
'<div class="phdr"><b>Spo'rt yangiliklari</b></div>';

$file = file_get_contents ("http://m.stadion.uz".$_GET['
get']);
$file = str_replace("/mobile.php/","?get=/mobile.php/",$file);
$file = str_replace("/main/","?get=/main/",$file);
$file = preg_replace('
|<!DOCTYPE(.*?)<!-- news list !-->|si','',$file);

$file = preg_replace('
|<!DOCTYPE(.*?)</p>(.*?)</p>|si','',$file);

$file = str_replace('
<ul id="newslist">','',$file);
$file = str_replace('
<h2>','',$file);
$file = str_replace('
<a href="http://m.stadion.uz/news">So`nggi хаbаrlаr</a>','<a href="/sport">So`nggi хаbаrlаr</a>',$file);
$file = str_replace('
<h1>','',$file);
$file = str_replace('
</h1>','',$file);
$file = str_replace('
</h2>','',$file);
$file = str_replace('
<li>','<div class="menu">',$file);
$file = str_replace('
</li>','</div>',$file);
$file = str_replace('
<div style="font-size: 11px; text-align:justify;">','<div class="menu">',$file);
$file = preg_replace('
|<li(.*?)>|si','<div class="phdr2">',$file);
$file = preg_replace('
|<h1(.*?)>|si','',$file);
$file = str_replace('
<span id='time'>','<span class='gray'>',$file);

$file = preg_replace('
|<!-- end of news list !-->(.*?)</html>|si','',$file);
$file = preg_replace('
|<div style="font-size: 11px; float-right;">(.*?)</html>|si','',$file);
$file = preg_replace('
|<span id='total_comments'>(.*?)</span>|si','',$file);
include '
teg.php';
echo $file;






require_once ("../incfiles/end.php");
?>
Онлайн: 1
Реклама