Вход Регистрация
Файл: archive/www/musimka.ru/service/news.php
Строк: 17
<?php

require '../connect.php';
include 
'../head.php';

echo 
'<div class="cred">Новости</div>';

 
$x file_get_contents('http://ka4ka.ru/info/news/index.php?' $_SERVER['QUERY_STRING']);

if (empty(
$x)) {
    
err('Извините, сервис новостей пока недоступен!');
} else {
    
$x preg_replace('#content="text/css"(.*)</style>#isU'''$x);
//    $x = preg_replace('#Назад(.*)]</div></div>#si', '', $x);
    
$x str_replace('./?act''news.php?act'$x);
    
$x preg_replace('#ka4ka=(.*)(")#isU''"'$x);
    
$x preg_replace('#<!--(.*)(-->)#isU'''$x);
//    $x = str_replace('</p><p align="center">Версия сайта <a href="/?go=ver&amp;d=1&amp;">xHTML</a>|WML</p></card></wml>', '', $x);
    
echo $div_left $x $div_end;
}
unset(
$x);

include 
'../foot.php';

?>
Онлайн: 2
Реклама