<?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{ background-color: #9C9C9C; color: #8B0000; text-align: left; width: 300px; margin: 1px auto; font-family: 'Courier New', sans-serif; font-size:12px; } .text { text-align: left; background-color: #FFFFFF; } a:link,a:active,a:visited { text-decoration: none; color :#CD0000;font-size:12px; } a:hover { text-decoration: none; color :#000;background-color: #CD0000;font-size:14px; } 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:3px solid #8B0000; border-left:3px solid #CD0000; border-right:3px solid #8B0000; border-bottom:3px solid #CD0000; padding: 2px; vertical-align: middle; background-color:#000; font-size:14px; color:#CD0000;} .c {margin: 0px; border-top:3px solid #8B0000; border-left:3px solid #CD0000; border-right:3px solid #8B0000; border-bottom:3px solid #CD0000; padding: 0px; vertical-align: middle; background-color:#000; font-size:12px; color:#CD0000;text-align:center;} #content { background: #9C9C9C; color:#000 } #content a { color:#000; } </style> </head> <body>"; echo "<p align="center" class="c">"; if(!empty($logo)) { echo "<img src="$logo" alt="logo" /> "; } //echo "$textlogo"; echo "</p>"; list($msec,$sec)=explode(chr(32),microtime()); $headtime=$sec+$msec; if(!empty($_GET['lang'])){ $_SESSION['language']=$_GET['lang']; } if($_SESSION['language']=='eng'){ include'templates/ENG.php'; include'../templates/ENG.php'; include'../../templates/ENG.php'; function htmltoxhtml($mylng){ $mylng=languge($mylng); return $mylng; } ob_start(htmltoxhtml); } ?>