View file themes/modern.php

File size: 1.62Kb
<?php
header("expires: mon, 26 jul 1997 05:00:00 gmt"); 
header("cache-control: no-cache, must-revalidate"); 
header("pragma: no-cache"); 
header("last-modified: ".gmdate("d, d m y h:i:s")."gmt");
header("Content-type:text/html; charset=utf-8");

if ($gzip=="1") // gzip сжатие
  {
    ob_start('ob_gzhandler');
  }  
  
echo "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">
      <html>
      <head>";
echo "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\">
      <title>
      $title
      </title>
      <style type=\"text/css\">
      body { font-weight: 11; font-size: 11; font-family: Courier new; color: #000000; background-color: #999999 }
      a:link,a:active,a:visited { text-decoration: underline; color : #003366 }
      a:hover { text-decoration: none; color : #FF0000 }
      div { margin: 1px 0px 1px 0px; padding: 1px 1px 1px 1px; font-size: 11px;}
      table { margin: 1px 0px 1px 0px; padding: 1px 1px 1px 1px;}
      .b {margin: 5px; padding: 5px; border: 3px dotted #aaa; background-color: #eee; font-size:12px; padding: 2px; vertical-align: middle; }
      .c {margin: 5px; padding: 5px; border: 3px dotted #aaa; background-color: #eee; font-size:12px; padding: 2px; vertical-align: middle; background-color: #666666;  font-size: 11px; color: #FFFFFF;}
      .d {background-color: #0000FF;  text-align: center; font-size: 12px; color: #FFFF00; }
      </style>
      </head>
      <body>";
echo '<div class=c>'.$logo.'<br>'.$textlogo.'</div>';
list($msec,$sec)=explode(chr(32),microtime()); 
$headtime=$sec+$msec;
?>