<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/strict.dtd">
<?php
  ///////////////////////////////////////////////////
  //2007 (C)
  //Карпухин Павел
  ///////////////////////////////////////////////////

   if(empty($title))       $title       = $TEXT['global-title'];
   if(empty($description)) $description = $TEXT['global-description'];
   if(empty($keywords))    $keywords    = $TEXT['global-keywords'];
?>
<html>
<head>
<meta http-equiv="Expires" content="Mon, 23 May 1995 02:00:00 GMT" />
<meta http-equiv="Cache-Control" content="no-cache, must-revalidate" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="description" content="<?php echo $description; ?>" />
<meta name="keywords" content="<?php echo $keywords; ?>" />
<title><?php echo $title; ?></title>
<script type="text/javascript" language="JavaScript" src="utils/drop_down.js"></script>
<link rel="StyleSheet" type="text/css" href="utils/reader.css" />
<link rel="icon" href="Favicon/forecast.ico" type="image/x-icon" />
<link rel="shortcut icon" href="Favicon/forecast.ico" type="image/x-icon" />
</head>
<body leftmargin="0" marginheight="0" marginwidth="0" rightmargin="0" bottommargin="0" topmargin="0" >
<?php
$month["01"] = $TEXT['month01'];
$month["02"] = $TEXT['month02'];
$month["03"] = $TEXT['month03'];
$month["04"] = $TEXT['month04'];
$month["05"] = $TEXT['month05'];
$month["06"] = $TEXT['month06'];
$month["07"] = $TEXT['month07'];
$month["08"] = $TEXT['month08'];
$month["09"] = $TEXT['month09'];
$month["10"] = $TEXT['month10'];
$month["11"] = $TEXT['month11'];
$month["12"] = $TEXT['month12'];
$date_day = date("d");
$week["0"] = $TEXT['week01'];
$week["1"] = $TEXT['week02'];
$week["2"] = $TEXT['week03'];
$week["3"] = $TEXT['week04'];
$week["4"] = $TEXT['week05'];
$week["5"] = $TEXT['week06'];
$week["6"] = $TEXT['week07'];
$date_week = date("w");
$date_month = date("m");
$date_year = date("Y");
$year = $TEXT['year'];

$chislo = (date("$week[$date_week]\<\B\R />$date_day $month[$date_month]\<\B\R /> $date_year $year"));

  if(! @mysql_select_db($dbname,$dbcnx))
  {
    echo "<table align='center' border='0'><tr align='center' ><td><img alt='stop' src='img/stop.png' /></td></tr><tr  align='center' ><td><span class='res'>".$TEXT['error-conf3']."</span></td></tr></table>
             </body></html>";
    exit();
  }

?>
<table class=clock width="100%" border="0" cellspacing="0">
    <tr align="center">
        <td align="left"><img alt="picture" src= 'img/top_image.png' height='20' border='0' /></td>
        <td class="clock"><?php echo $chislo; ?></td>
    </tr>
<table width=100% class=topheader border="0" cellspacing="5">
<tr align="center" valign="middle">
  <td align="left"><span class="topsearch">&nbsp; <?php echo $TEXT['global-forecast']; ?></span></td>
  <td class="meteoinfo"><?php echo $TEXT['global-meteoinfo']; ?></td>
</tr>
</table>
<div class="menu_news_mesto_pogoda">
<table align="right" width=15% border="0">
<tr align="right">
       <td align="right" class="menu">
          <ul id="nav">
          <li><a href="#"><?php echo $TEXT['menu']; ?></a>
            <ul>
            <li><a href="index.php" class=link title="<?php echo $TEXT['menu-btn1-title']; ?>"><?php echo $TEXT['menu-btn10']; ?></a></li>
            </ul>
          </li>
          </ul>
       </td>
</tr>
</table>
</div>