Файл: grabs/podrobnosti/full.php
Строк: 50
<?php
include_once '../../sys/inc/start.php';
include_once '../../sys/inc/compress.php';
include_once '../../sys/inc/sess.php';
include_once '../../sys/inc/home.php';
include_once '../../sys/inc/settings.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';
title();
err();
$file=@file_get_contents("http://wap.podrobnosti.ua/utf/news2/full.wml?".$_SERVER['QUERY_STRING']);
@$array=explode('<p>',$file);
@$file=$array[2];
$file=preg_replace('|<strong>(.+)</strong> <br/>|ui','<div class="header"><center>\1<br/></center></div>
<div class="row_easy">',$file);
$file=str_replace('</p>','',$file);
$file.='</div>';
echo $file;
echo '<p>';
if (!empty($_SESSION['uri']))
{
echo '- <a href="'.$_SESSION['uri'].'">'.$_SESSION['uri_name'].'</a><br/>';
}
else
{
echo '- <a href="index.php">Назад</a><br/>';
}
echo '
</p>';
echo '<!-- // end body -->';
include_once '../../sys/inc/tfoot.php';
?>