Просмотр файла podrobnosti_ua/full.php

Размер файла: 1.06Kb
<?php
require_once ("../includes/start.php");
require_once ("../includes/functions.php");
require_once ("../includes/header.php");
include_once ("../themes/".$config['themes']."/index.php");
$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\>\&nbsp\;\<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 '
- <a href="index.php">В начало</a><br/>
- <a href="/">Главная</a><br/>
</p>';
echo '<!-- // end body -->';

list($generic_newmsec,$generic_newsec)=explode(chr('32'),microtime());
echo '<br/>'.round((($generic_newsec+$generic_newmsec)-$generic_time),'4').'<br/>';

include_once ("../themes/".$config['themes']."/foot.php");
?>