<?php
$file=preg_replace('|<?xml(.*?)?>|is', '',$file);
$file=preg_replace('|<?
<!DOCTYPE(.*?)</head>|is', '',$file);
$file=preg_replace('|<body>(.*?)/tr>
</table>
</div>
|is', '',$file);
$file=preg_replace('| <div class="sub">Информация</div>(.*?)</body>
</html>|is', '',$file);
$file = str_replace('"item"', '"main_menu"', $file);
?>