home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 October / CMCD1004.ISO / Software / Shareware / Programare / cnstats / reports / manual.php < prev    next >
Encoding:
PHP Script  |  2004-07-12  |  592 b   |  19 lines

  1. <?php
  2. if ($CONFIG["language"]=="english") $postfix="";
  3. else $postfix="_".$CONFIG["language"];
  4.  
  5.  
  6. $d=file("manual/index".$postfix.".htm");
  7. $d=implode($d,"");
  8. $p1=strpos($d,"<BODY>");
  9. $p2=strpos($d,"</BODY>");
  10. $d=substr($d,$p1,$p2-$p1);
  11.  
  12. $d=str_replace("../img/","img/",$d);
  13. $d=str_replace("<P>","<P align=\"justify\">",$d);
  14. $d=str_replace("<UL>","<UL style=\"margin:20px;\">",$d);
  15. $d=str_replace("<hr","<div align='right'><A href='javascript:history.back();'>".$LANG["back"]."</a></div><HR",$d);
  16.  
  17. print "<table cellspacing=10><tr><td>".$d."</td></tr></table>";
  18. $NOFILTER=1;
  19. ?>