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

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

echo 
'<div class="cred">Гороскоп</div>';

$x = file_get_contents('http://ka4ka.ru/info/horoscope/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('/info/horoscope/index.php', '', $x);
    
$x = preg_replace('#ka4ka=(.*)(")#isU', '"', $x);
    
$x = preg_replace('#<!--(.*)(-->)#isU', '', $x);
    
$x = preg_replace('/<a href="/cabinet.php?(.*)Регистрация</a><br />/isU', '', $x);
    
$x = preg_replace('#[T:(.*)]<br /></small>#isU', '', $x);
    
$x = preg_replace('#<?(.*)alt="" /><br />#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';

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