<?php
$title = 'Готовое домашнее задание';

include '../inc/head.php';


$file=file_get_contents('http://4oko.ru/otvet/?'.$_SERVER['QUERY_STRING']);

$file = str_replace ('<?xml version="1.0" encoding="utf-8"?>', '', $file ) ;
$file = preg_replace ('/<!DOCTYPE html(.*?)<body>/si' ,'' ,$file );
$file = preg_replace ('/<div class="head">(.*?)<\/div>/si' ,'', $file );
$file = preg_replace ('/<div class="title">(.*?)<\/div>/si' ,'', $file );
$file = preg_replace ('/<div class="tab">(.*?)<\/div>/si' ,'', $file );
$file = preg_replace ('/<div class="adv">(.*?)<\/div>/si' , '', $file );
$file = str_replace ('<div class="hov">' ,'<div class="menu">', $file );
$file = preg_replace ('/<div class="foot">(.*?)<\/html>/si' ,'', $file );



echo $file;

include '../inc/foot2.php';

?>
