<?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']='Opera';//здесь пишем название страници
include_once '../../sys/inc/thead.php';
title();
err();
aut();
$file=file_get_contents('http://opera.staso.ru/?'.$_SERVER['QUERY_STRING']);
$file=preg_replace('|<!DOCTYPE(.*?)<body>|is', '',$file);
$file=preg_replace('|<div class="rek">(.*?)</div>|is','', $file);
$file=str_replace('<img src="images/img/b2.png" alt="*" />','', $file);
$file=str_replace('<img src="images/img/b.png" alt="*" />','', $file);
$file=str_replace('<img src="images/img/b3.png" alt="*" />','', $file);
$file=preg_replace('|<div class="head2">(.*?)</div>|is','<div class="top">Конструктор Opera Mini</div>',$file);
$file=preg_replace('|<div class="foot">(.*?)</div>|is','',$file);
$file=str_replace('<img src="contents','<img src="http://opera.staso.ru/contents', $file);
$file=preg_replace('|<div class="blue">(.*?)</html>|is','<hr />
- <a href="../">Конструкторы<a/><br/> - ', $file);
$file=str_replace("<a href='downloads","<a href='http://opera.staso.ru/downloads", $file);
echo $file;
include_once '../../sys/inc/tfoot.php';
?>