Просмотр файла css/web/index.php

Размер файла: 1.15Kb
  1. <?php
  2. Error_Reporting(E_ALL & ~E_NOTICE);
  3. Error_Reporting (ERROR | WARNING);
  4.  
  5. echo '<?xml version="1.0" encoding="utf-8"?>
  6. <!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
  7. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ru">
  8. <head>
  9. <meta http-equiv="content-type" content="application/xhtml+xml; charset=utf-8" />';
  10.  
  11. $maindir = $_SERVER['DOCUMENT_ROOT'];
  12. $maindir=htmlspecialchars($maindir, ENT_QUOTES);
  13. $maindir = htmlspecialchars(stripslashes($maindir));
  14. include_once "$maindir/forum/includ/setting.php";
  15.  
  16. echo'<link rel="shortcut icon" href="'.$conf_icon.'">';
  17. echo'<link rel="stylesheet" href="http://'.$_SERVER['HTTP_HOST'].'/css/web/web.css" type="text/css" /></head><body>';
  18. echo'<big><b><font face="verdana" size="4">'.$_SERVER['HTTP_HOST'].'</font></b></big><div class=bgr>';
  19.  
  20. include_once "$maindir/forum/on/index.php";
  21. include_once "$maindir/service/md5/includ_md5_page.php";
  22.  
  23. Header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
  24. Header('Cache-Control: no-cache, must-revalidate');
  25. Header('Pragma: no-cache');
  26. Header('Last-Modified: '.gmdate("D, d M Y H:i:s").'GMT');
  27.  
  28. ?>
  29.