<html xmlns="http://www.w3.org/1999/xhtml">
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>[TITLE]</title>
<link rel="stylesheet" href="[CSS_URL]" type="text/css" media="all" />
<script type="text/javascript">var homeurl="$HOME_PAGE_LINK$";var urlid="page-$PAGE_ID$";var modid="mod-$MODULE_ID$";</script>
</head>

<body>
<div id="overlay">
 <div id="main-bg">
  <div class="wrapper">
   <!-- <header> -->
   <div id="header">
    <div class="head-l">
     <div class="head-r">
      <div class="head-m">
       <div id="site-logo">
        <div class="logo-l">
           <div class="site-names">
            <div class="site-name"><a href="$HOME_PAGE_LINK$">$SITE_NAME$</a></div>
            <div class="site-descr">SITE LOGO</div>
           </div>
        </div>
       </div>
       <div id="catmenu">
        <!-- <sblock_menu> -->CONTENT<!-- </sblock_menu> -->
        <div class="clr"></div>
       </div>
       <div class="clr"></div>
       <div class="head-bot">
        <div id="st-switcher">
           <a href="#" class="st-red"><span></span></a>
           <a href="#" class="st-yellow"><span></span></a>
           <a href="#" class="st-green"><span></span></a>
           <a href="#" class="st-cyan"><span></span></a>
           <a href="#" class="st-blue"><span></span></a>
           <a href="#" class="st-violet"><span></span></a>
           <a href="#" class="st-pink"><span></span></a>
        </div>
        <?if($USERS_ON$)?>
        <div id="usr-lnks">
         <?if($USER_LOGGED_IN$)?>
         <a href="$PERSONAL_PAGE_LINK$" title="Персональная страница">Профиль</a> / <a href="$LOGOUT_LINK$" title="Выйти">Выход</a><?if($RSS_LINK$)?> / <a href="$RSS_LINK$" title="RSS">RSS</a><?endif?>
         <?else?>
         <a href="$REGISTER_LINK$" title="Регистрация">Регистрация</a> / <a href="$LOGIN_LINK$" title="Вход">Вход</a><?if($RSS_LINK$)?> / <a href="$RSS_LINK$" title="RSS">RSS</a><?endif?>
         <?endif?>
        </div>
        <?endif?>
        <div id="search">
      <div class="search-box">
	  	<div class="searchForm"><form onSubmit="this.sfSbm.disabled=true" method="get" style="margin:0" action="$HOME_PAGE_LINK$search/"><div class="schQuery"><input value="Поиск по сайту..." type="text" name="q" maxlength="30" size="20" class="queryField" /></div><div class="schBtn"><input type="submit" class="searchSbmFl" name="sfSbm" value="Найти" /></div></form></div>
      </div>
	 </div>
       </div>
      </div>
     </div>
    </div>
   </div>
   <!-- </header> -->
   <div id="casing"<?if($MODULE_ID$='forum')?> class="forum-casing"<?endif?>>
    <div class="casing-t">
     <div class="casing-b">
      <div class="casing-m">      
       <?if($MODULE_ID$='forum')?>
       <div id="forum-box">
       <?endif?>
       <!-- <middle> -->
       <div id="sidebar">
        <!-- <container> --><!-- <block> -->
        <div class="sidebox">
         <div class="sidetitle"><span>TITLE</span></div>
         <div class="inner">CONTENT</div>
        <div class="clr"></div>
        </div>
        <!-- </block> --><!-- </container> --> 
                    
        <div class="sidebox" id="ut-spon"><div class="sidetitle"><div>Наши спонсоры</div></div><div class="inner"><span><a href="http://bookeden.ru/" target="_blank">Обзор книг</a></span><span><a href="http://junglenews.ru/" target="_blank">Новинки кино</a></span></div></div>
       </div>
       <div id="content">[BODY]</div>
       <!-- </middle> -->
       <div class="clr"></div>       
       <?if($MODULE_ID$='forum')?>
       </div>
       <div class="sidebox" id="ut-spon"><div class="sidetitle"><div>Наши спонсоры</div></div><div class="inner"><span><a href="http://bookeden.ru/" target="_blank">Обзор книг</a></span><span><a href="http://junglenews.ru/" target="_blank">Новинки кино</a></span></div></div>
       <?endif?>
      </div>
     </div>
    </div>
   </div>
   <!-- <footer> -->
   <div id="footer">
    <div class="fleft">
        [COPYRIGHT]<br />
		$POWERED_BY$
    </div>
    <div class="fright">
            <a class="ut-logo" href="http://uthemes.ru/board/" target="_blank">шаблоны для ucoz cs</a>
    </div>
    <div class="clr"></div>
   </div>
   <!-- </footer> -->
  </div>
 </div>
</div>
<script type="text/javascript" src="/js/ui.js"></script>
</body>
</html>
<!-- <popup> -->
<table border="0" cellpadding="10" cellspacing="0" width="98%" class="popuptable">
<tr><td><div class="popuptitle">[TITLE]</div><div class="popupbody">[BODY]</div></td></tr>
</table>
<!-- </popup> -->