Просмотр файла ser/pogoda/index.php

Размер файла: 1.31Kb
<?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();
aut();
header ('<?xml version="1.0"encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">');
$file = file("http://wapos.ru/weather/index.php?$QUERY_STRING");
$file = @implode("", $file);
$file = preg_replace('/<div class="header_down">(.*?)<\/p>/si',"$reclama3$reclama4
<center>$foot</center>",$file);
$file=str_replace('Wapos.Ru</title>',"$title</title>",$file);
$file = preg_replace('/<div class="header_up">(.*?)<\/div>/si',"$rec$reclama2",$file);
$file=str_replace('<div class="block">','<div class="block_c"><div class="icon_p">',$file);
$file=str_replace('&#x041E;&#x0431;&#x0440;&#x0430;&#x0449;&#x0435;&#x043D;&#x0438;&#x0439;:','&#x041E;&#x0431;&#x0440;&#x0430;&#x0449;&#x0435;&#x043D;&#x0438;&#x0439;:',$file);
print "$file";

include_once '../../sys/inc/tfoot.php';
?>