File size: 2.68Kb
<?php
session_name("SESID");
session_start();
$popravka = $sdvigclock*3600;
$hour = date("G",time() + $popravka);
$hour = round($hour);
$time=date("$hour:i", time() + $popravka);
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");
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>";
$athem="$_SESSION[athemes]";
if($athem!="1"){
echo '<link rel="stylesheet" href="'.$home.'/themes/style.css" type="text/css"></head><body>';
}else{
echo'<style type="text/css">
body { font-weight: normal; font-family: Verdana; font-size: 13px; color: silver; background-color: #333333 }
a:link { text-decoration: none; font-family: Arial; font-weight: bold; color : lime }
a:active { text-decoration: none; font-family: Arial; font-weight: bold; color : #666666 }
a:visited { text-decoration: none; font-family: Arial; font-weight: bold; color : lime }
a:hover { text-decoration: none; font-family: Arial; font-weight: bold; font-size: 14px; color : silver }
div { border-top: 0px solid #FFFFFF; border-left: 2px solid silver; border-right: 2px solid silver; border-bottom: 0px solid #FFFFFF; padding: 2px;}
table { margin: 0px 0px 0px 0px; padding: 0px 0px 0px 0px; font-size: 13px;}
.a {margin: 0px; border-top: 2px solid #BBBBBB; border-left: 2px solid #BBBBBB; border-right: 2px solid #BBBBBB; border-bottom: 0px solid #FFFFFF; padding: 3px; vertical-align: middle; background-color: black; text-align: left; font-family: Georgia; font-size: 13px; color: #FFFFFF; }
.b {margin: 0px; border-top: 1px solid #BBBBBB; border-left: 2px solid #BBBBBB; border-right: 2px solid #BBBBBB; border-bottom: 1px solid #BBBBBB; padding: 1px; vertical-align: middle; background-color: black; text-align: left; font-family: Georgia; font-size: 13px; color: #FFFFFF; }
.c {margin: 0px; border-top: 0px solid #FFFFFF; border-left: 2px solid #BBBBBB; border-right: 2px solid #BBBBBB; border-bottom: 2px solid #BBBBBB; padding: 1px; vertical-align: middle; background-color: black; text-align: left; font-family: Georgia; font-size: 13px; color: #FFFFFF; }
.d {background-color: #BCD0ED; text-align: left; font-size: 12px; color: #000000; }
</style></head><body bgcolor="#66CCFF">'; }
echo "<div class=\"a\"><center>";
if(!empty($logo)){
echo "<img src=\"$logo\" alt=\"$textlogo\" />"; }else{
echo"Время системы: $time"; }
echo "</center></div>";
?>