Вход Регистрация
Файл: mir_news/subj.php
Строк: 45
<?php
include_once '../sys/inc/start.php';
include_once 
'../sys/inc/compress.php';
include_once 
'../sys/inc/db_connect.php';
include_once 
'../sys/inc/ipua.php';
include_once 
'../sys/inc/fnc.php';
include_once 
'../sys/inc/user.php';
$set['title']='Новости';
include_once 
'../sys/inc/thead.php';
top();
err();

$_SESSION['uri']=$_SERVER['REQUEST_URI'];
$file=@file_get_contents("http://wap.podrobnosti.ua/utf/news2/subj.wml?".$_SERVER['QUERY_STRING']);
@
$array=explode('<p>',$file);
@
$file=$array[2];
preg_match('|<strong>(.+)</strong>&nbsp;<br/>|ui',$file,$out);
$_SESSION['uri_name']=$out['1'];
$file=preg_replace('|<strong>(.+)</strong>&nbsp;<br/>|ui','<div class="foot1"><center>\1<br/></center></div>',$file);
$file=preg_replace('|-&nbsp;<a href="full.wml?|ui','<div class="foot"><a href="full.php?',$file);
$file=str_replace('</a><br/>','</a><br/></div>',$file);
$file=preg_replace('|</p>s<p align="left">|ui','<p>',$file);
$file=preg_replace('|subj.wml?|','subj.php?',$file);
echo 
$file;
echo 
'<p> - <a href="index.php">В начало</a><br/></p>';
echo 
'<!-- // end body -->';



include_once 
'../sys/inc/tfoot.php';
?>
Онлайн: 2
Реклама