<?php include "config.inc.php"; ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=<?=$charset; ?>" />
<title><?=$sitename;?> - <?=$sitetitle;?></title>
<meta name="keywords" content="<?php echo $metakeywords;?>" />
<meta name="description" content="<?php echo $metadescription;?>" />
<link href="/favicon.ico" rel="shortcut icon" type="image/x-icon" />
<link href="../templates/beauty/style.css" rel="stylesheet" type="text/css" media="screen" />
</head>
<!--[if lte IE 6]>
<style type=text/css>
  .mdiv {
    HEIGHT: 1%
  }
</STYLE>
<![endif]-->
<!--[if gte IE 7.0]>
<style type="text/css">
  .mdiv {
    display: inline-block;
  }
</style>
<![endif]-->
</head><body>
<a name="top"></a>
<div id="area">
<div id="topmenu">
  <ul class="menuitem" id="tabmenu">
<?php include "templates/beauty/upmenu.php"; ?>
  </li></ul>
</div>
<div class="mdiv" id="header">
  <h1><?=$sitename; ?></h1>
</div>
<div class="mdiv" id="toppnl">
  <div class="box" style="width: 50%;"><?=$lnav; ?>
  </div>
  <div class="box" style="width: 50%;">
  </div>
</div>
<div class="mdiv" id="page">
  <div id="bodyframe">
  <div id="content">
    <div style="padding: 10px 15px 20px;">
  <table class="info" cellpadding="0" cellspacing="0">
    <tbody>
    <tr>
      <td valign="top">
        <table>
          <tbody>
          <tr>
            <td colspan="2" valign="top">
              <h1><div class="h1title"><?=$sitetitle; ?></div></h1>
              <p><?=$contentcenter; ?></p>
              <?php include "mycode/$myinclude.php"; ?>
          </tr>
          <tr>
          </tr>
          </tbody>
        </table>
      </td>
    </tr>
    </tbody>
  </table>
	</div>
  </div>
  <div id="leftpanel">
  <div class="mdtbl">
    <h3>Навигация</h3>
    <table width="100%" border="0" cellpadding="0" cellspacing="0">
      <tbody>
<?php include "templates/beauty/mainmenu.php"; ?>
      </tbody>
    </table>
  </div>
  <div class="mdtbl">
    <h3>Статистика</h3>
<?php include "templates/beauty/counter.php"; ?>
      </tbody>
    </table>
  </div>
  <div class="mdtbl">
    <h3>Друзья и партнеры</h3>
<?php include "templates/beauty/friends.php"; ?>
</div>
  </div>
  </div>
</div>
<div class="mdiv" id="botsl">
  <div class="box" style="width: 99%;">
  <div class="mdtbl">
  </div>
  </div>
</div>
<div id="bottom">
<p id="copyright">&copy; 2009 <a href="<?=$siteaddress; ?>"><?=$sitename; ?></a>.<br>Все права защищены.</p>
  <div id="btmlnk">Powered by<a href="http://www.kan-studio.ru.ru">Kandidat CMS</a></div>
</div>
</div>
</body
></html>