Vem:
    ,     JohnCMS.          http://sotoz.ru/load/fotoprikol    ?         JohnCMS,           .     index.php   (      http:// .//index.php) :

 <?php

 define('_IN_JOHNCMS', 1);

 $headmod ="";

 $textl = '';

 require_once ("../incfiles/core.php");

 require_once ("../incfiles/head.php");

 header("Content-type:text/html; charset=utf-8");


  ,    .        , ?      :

 $file = file_get_contents("http://sotoz.ru/nightlife/superchart/superchart.php?".$_SERVER['QUERY_STRING']);


      ,     ,     .       ? .          .          (  ,  ),       ,     ,    ..     ,   ? ,  ,    ,    ,     http://sotoz.ru/nightlife/superchart/superchart.php    ,   .        .    ,    SUPERCHART #113  07.11.2009,      ?    :



 $file=preg_replace('/<?xml(.*?)<div class=\"mainmenu\">/si','',$file);




  ,   .          !   :      ,    ??  : 

 <?xml           .. <div class="mainmenu">

    ,     (.*?) !   ,   ,     .       <div class=\"mainmenu\">  ?    ,   preg_replace()    (/)    ("),          (\),   :    http://sotoz.ru      ,     ,        http:\/ \/sotoz.ru      ,       ,       $file=preg_replace('/\"\"(.*?)<div class=\"mainmenu\">/si','',$file);  ?)    .      :



 $file=preg_replace('/<\/div><small>(.*?)<\/html>/si','',$file);




     </div><small>         ,           </html>  . 



   ,      SotoZ.Ru,        ,    :



 $file = str_replace('SotoZ.Ru', ' .', $file);




      ,    ,  ,        ,   ,    ,    .  ,         , ,  ,       ,   SotoZ.Ru   .     .  ,   ,    ,    ,            ,   .            str_replace();    :



 $file = str_replace('</b><a href="', '</b><a href="http://sotoz.ru/nightlife/superchart/', $file);




               !       ,        =) 

     ,   :



 echo $file;



    !   .

       :



 require_once ("../../incfiles/end.php");

 ?>




       .    ,       ,       ,     ..   )
  Venser