Файл: www/servis/w_news/full.php
Строк: 26
<?php
include '../../config.php';
div('Мировые новости');
$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="msg1"><center>\1<br/></center></div>
<div class="msg2">',$file);
$file=str_replace('</p>','',$file);
$file.='</div>';
echo $file;
if (!empty($_SESSION['uri']))
{
echo '» <a href="'.$_SESSION['uri'].'">'.$_SESSION['uri_name'].'</a><br/>';
}
else
{
echo '<div class="msg2">« <a href="index.php">Назад</a><br/>« <a href="/servis/">Сервисы</a></div>';
}
echo '<div class="msg2">« <a href="index.php">Мировые новости</a><br/>« <a href="/servis/">Сервисы</a></div>';
//list($generic_newmsec,$generic_newsec)=explode(chr('32'),microtime());
//echo '<br/>'.round((($generic_newsec+$generic_newmsec)-$generic_time),'4').'<br/>';
include '../../foot.php';
?>