<html>
<head> <title>[TITLE]</title>
<link type="text/css" rel="StyleSheet" href="[CSS_URL]" />
</head>
<body style="background: #000000; margin:0px; padding:0px;">
<!-- <header> -->
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="background: url('/img/1.jpg');" height="178">
<tr><td height="178" width="100%" align="left">
<table cellpadding="0" cellspacing="0" border="0" height="178" width="100%">
<tr><td width="454" align="left"><img src="/img/2.jpg" border="0"></td><td align="center"><span style="color:#999999;font:20pt bold Verdana,Tahoma;">SITE LOGO</span></td></tr>
</table></td></tr>
<tr><td height="20" align="center" style="background: #d2d2d2;"><a class="mm" href="$HOME_PAGE_LINK$">Главная сайта</a> {IF}| <a class="mm" href="[MODULE_PAGE_URL]">[MODULE_NAME]</a>{ENDIF} %IF($USER_LOGGED_IN$)% | <a class="mm" href="$PERSONAL_PAGE_LINK$">Профиль</a>%ELSE% | <a class="mm" href="$REGISTER_LINK$">Регистрация</a>%ENDIF% %IF($USER_LOGGED_IN$)% | <a class="mm" href="$LOGOUT_LINK$">Выход</a>%ELSE% | <a class="mm" href="$LOGIN_LINK$">Вход</a>%ENDIF%</td></tr>
</table>
<!-- </header> -->
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="padding-left: 5px; padding-right: 5px;"><tr><td align="center">
<!-- <body> -->
<table border="0" cellpadding="0" cellspacing="0" width="100%" style="background:none;">
<tr>
<td valign="top" width="178">
<!-- -->
<table border="0" cellpadding="2" cellspacing="1" style="background:none;" width="178">
<tr><td align="center" style="background: #000000; height: 20px; color: #999999;"><b>Site Menu</b></td></tr>
<tr><td style="background: url('/img/3.jpg') #000000;background-repeat:no-repeat;padding:5px 5px 5px 5px;">$SITE_MENU$</td></tr>
</table><br />
<!--/-->
<!-- -->
<?if?>
<table border="0" cellpadding="2" cellspacing="1" style="background:none;" width="178">
<tr><td align="center" style="background: #000000; height: 20px; color: #999999;"><b>[CATS_TITLE]</b></td></tr>
<tr><td style="background: url('/img/3.jpg') #000000;background-repeat:no-repeat;padding:5px 5px 5px 5px;">[CATEGORIES]</td></tr>
</table><br />
<?endif?>
<!--/-->
<!-- -->
<?if($POLL$)?>
<table border="0" cellpadding="2" cellspacing="1" style="background:none;" width="178">
<tr><td align="center" style="background: #000000; height: 20px; color: #999999;"><b>Site Poll</b></td></tr>
<tr><td style="background: url('/img/3.jpg') #000000;background-repeat:no-repeat;padding:5px 5px 5px 5px;">$POLL$</td></tr>
</table><br />
<?endif?>
<!--/-->
</td>
<td valign="top" style="padding:0px 10px 0px 10px;">
<table border="0" cellpadding="10" cellspacing="0" width="100%"><tr><td style="background: #000000;">[BODY]</td></tr></table>
</td>
<td valign="top" width="178">
<!-- -->
<?if($LOGIN_FORM$)?>
<table border="0" cellpadding="2" cellspacing="1" style="background:none;" width="178">
<tr><td align="center" style="background: #000000; height: 20px; color: #999999;"><b>Login Form</b></td></tr>
<tr><td style="background: url('/img/3.jpg') #000000;background-repeat:no-repeat;padding:5px 5px 5px 5px;">$LOGIN_FORM$</td></tr>
</table><br />
<?endif?>
<!--/-->
<!-- -->
<?if?>
<table border="0" cellpadding="2" cellspacing="1" style="background:none;" width="178">
<tr><td align="center" style="background: #000000; height: 20px; color: #999999;"><b>[CALENDAR_TITLE]</b></td></tr>
<tr><td style="background: url('/img/3.jpg') #000000;background-repeat:no-repeat;padding:5px 5px 5px 5px;">[CALENDAR]</td></tr>
</table><br />
<?endif?>
<!--/-->
<!-- -->
<?if?>
<table border="0" cellpadding="2" cellspacing="1" style="background:none;" width="178">
<tr><td align="center" style="background: #000000; height: 20px; color: #999999;"><b>[SEARCH_TITLE]</b></td></tr>
<tr><td style="background: url('/img/3.jpg') #000000;background-repeat:no-repeat;padding:5px 5px 5px 5px;">[SEARCH_FORM]</td></tr>
</table><br />
<?endif?>
<!--/-->
<!-- -->
<table border="0" cellpadding="2" cellspacing="1" style="background:none;" width="178">
<tr><td align="center" style="background: #000000; height: 20px; color: #999999;"><b>Friends Links</b></td></tr>
<tr><td style="background: url('/img/3.jpg') #000000;background-repeat:no-repeat;padding:5px 5px 5px 5px;">$GLOBAL_FRIENDS$</td></tr>
</table><br />
<!--/-->
<!-- -->
<?if($COUNTER$)?>
<table border="0" cellpadding="2" cellspacing="1" style="background:none;" width="178">
<tr><td align="center" style="background: #000000; height: 20px; color: #999999;"><b>Site Statistics</b></td></tr>
<tr><td style="background: url('/img/3.jpg') #000000;background-repeat:no-repeat;padding:5px 5px 5px 5px;">$COUNTER$</td></tr>
</table><br />
<?endif?>
<!--/-->
</td>
</tr>
</table>
<!-- </body> -->
</td></tr></table>
<!-- <footer> -->
<br />
<table border="0" cellpadding="4" cellspacing="0" width="100%" style="background:#d2d2d2" height="20">
<tr><td align="left" height="20">$POWERED_BY$</td><td align="right" height="20"></tr>
</table>
<!-- </footer> -->
</body>
</html>
<!-- <popup> -->
<table border="0" cellpadding="2" cellspacing="1" style="background:#000000;" width="100%">
<tr><td style="color:#000000;font-weight:bold;height:20px;background: url('/img/4.jpg');" align="center"><b>[TITLE]</b></td></tr>
<tr><td align="center" style="background:#000000;padding:5px;">[BODY]</td></tr>
</table>
<!-- </popup> -->