Просмотр файла themes/default.php

Размер файла: 2.23Kb
<?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');
  } 
   else 
  {
    ob_start();
  }  
  
include "mytheme.php";
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: $font_size; font-family: Courier new; color: $font_color; background-color: $background_color }
      a:link,a:active,a:visited { text-decoration: underline; color : $a_link_color }
      a:hover { text-decoration: none; color : $a_hover_color }
	  p {margin: 1px 0px 1px 0px; padding: 1px 1px 1px 1px; font-size: 11px;}
      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: 0px; border-top: ".$b_border_top."px solid $b_border_top_color; border-left: ".$b_border_left."px solid $b_border_left_color; border-right: ".$b_border_right."px solid $b_border_right_color; border-bottom: ".$b_border_bottom."px solid $b_border_bottom_color; padding: 2px; vertical-align: middle;  background-color: $b_background_color;}
      .c {margin: 0px; border-top: ".$c_border_top."px solid $c_border_top_color; border-left: ".$c_border_left."px solid $c_border_left_color; border-right: ".$c_border_right."px solid $c_border_right_color; border-bottom: ".$c_border_bottom."px solid $c_border_bottom_color; padding: 2px; vertical-align: middle; background-color: $c_background_color;  font-size: $c_font_size px; color: $c_font_color;}
      .d {border:2px solid #000000;}
	  </style>
      </head>
      <body>";
echo "<p align=\"center\" class=\"c\">";
if(!empty($logo))
 {
  echo "<img src=\"$logo\" alt=\"logo\" /><br />";
 }
echo "$textlogo";
echo "</p>";

list($msec,$sec)=explode(chr(32),microtime()); 
$headtime=$sec+$msec;
?>