<html>
<head>

<title>[TITLE]</title>
<link type="text/css" rel="StyleSheet" href="[CSS_URL]" />
$AJAX_JS$
</head>

<body style="background:#dedeb3; margin:0px; padding:0px;">

<!-- Header -->
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td align="center">
 <table border="0" cellpadding="0" cellspacing="0" width="800" height="200">
 <tr>
 <td width="268" style="background:url('/img/1.jpg');padding-top: 5px;background-repeat: no-repeat;" align="center" valign="top"><span style="color:#413c1f;font:20pt bold Verdana,Tahoma;"><b>SITE LOGO</b></span></td>
 <td width="268" style="background:url('/img/2.jpg');padding-top: 100px;" align="center" valign="top"><a href="$HOME_PAGE_LINK$">Главная сайта</a> {IF}| <a href="[MODULE_PAGE_URL]">[MODULE_NAME]</a>{ENDIF} <?if($USER_LOGGED_IN$)?> | <a href="$PERSONAL_PAGE_LINK$">Профиль</a><?else?> | <a href="$REGISTER_LINK$">Регистрация</a><?endif?> <?if($USER_LOGGED_IN$)?> | <a href="$LOGOUT_LINK$">Выход</a><?else?> | <a href="$LOGIN_LINK$">Вход</a><?endif?></td>
 <td width="268" style="background:url('/img/3.jpg');padding-top: 100px;background-repeat: no-repeat;color:fff;" align="center" valign="top"><?if($USER_LOGGED_IN$)?>Вы вошли как <a href="$PERSONAL_PAGE_LINK$"><b>$USERNAME$</b></a> | Группа "<u>$USER_GROUP$</u>"<?else?>Привет! <b>$USERNAME$</b><?endif?> {IF}| <a href="[RSS_URL]">RSS</a>{ENDIF}</td>
 </tr>
 </table>
 </td></tr>
</table>
<!-- /Header -->

<table align="center" cellpadding="0" cellspacing="0" border="0" width="800" style="padding:0px;"><tr><td width="100%" align="center">

<!-- Body -->
<table border="0" cellpadding="0" cellspacing="0" width="800">
<tr>
<td valign="top" width="200">

<!-- -->
<table border="0" cellpadding="0" cellspacing="0" width="300" >
<tr><td align="center" width="300" height="82" style="background:url('/img/4.jpg');padding-top:15px;color:#413c1f;" align="center" valign="top"><b>Site Menu</b></td></tr>
<tr><td style="background:url('/img/5.jpg');padding-left:55px;">$SITE_MENU$</td></tr>
<tr><td align="center" width="300" height="220"><img src=" /img/6.jpg " border="0"></td></td>
</table>
<!--/-->

<!-- -->
{IF}
<table border="0" cellpadding="0" cellspacing="0" width="300" >
<tr><td align="center" width="300" height="82" style="background:url('/img/4.jpg');padding-top:15px;color:# 413c1f;" align="center" valign="top"><b> [CATS_TITLE]</b></td></tr>
<tr><td style="background:url('/img/5.jpg');padding-left:55px;">[CATEGORIES]</td></tr>
<tr><td align="center" width="300" height="220"><img src=" /img/6.jpg " border="0"></td></td>
</table>
{ENDIF}
<!--/-->

<!-- -->
 <?if($POLL$)?>
<table border="0" cellpadding="0" cellspacing="0" width="300" >
<tr><td align="center" width="300" height="82" style="background:url('/img/4.jpg');padding-top:15px;color:# 413c1f;" align="center" valign="top"><b> Site Poll</b></td></tr>
<tr><td style="background:url('/img/5.jpg');padding-left:55px;padding-right:55px;"> $POLL$</td></tr>
<tr><td align="center" width="300" height="220"><img src=" /img/6.jpg " border="0"></td></td>
</table>
<?endif?>
<!--/-->

<!-- -->
<?if($LOGIN_FORM$)?>
<table border="0" cellpadding="0" cellspacing="0" width="300" >
<tr><td align="center" width="300" height="82" style="background:url('/img/4.jpg');padding-top:15px;color:# 413c1f;" align="center" valign="top"><b> Login Form</b></td></tr>
<tr><td align="center" width="300" style="background:url('/img/5.jpg');background-repeat: repeat-y;"> $LOGIN_FORM$</td></tr>
<tr><td align="center" width="300" height="220"><img src=" /img/6.jpg " border="0"></td></td>
</table>
<?endif?>
<!--/-->

<!-- -->
{IF}
<table border="0" cellpadding="0" cellspacing="0" width="300" >
<tr><td align="center" width="300" height="82" style="background:url('/img/4.jpg');padding-top:15px;color:# 413c1f;" align="center" valign="top"><b> [CALENDAR_TITLE]</b></td></tr>
<tr><td align="center" width="300" style="background:url('/img/5.jpg');background-repeat: repeat-y;"> [CALENDAR]</td></tr>
<tr><td align="center" width="300" height="220"><img src=" /img/6.jpg " border="0"></td></td>
</table>
{ENDIF}
<!--/-->

<!-- -->
{IF}
<table border="0" cellpadding="0" cellspacing="0" width="300" >
<tr><td align="center" width="300" height="82" style="background:url('/img/4.jpg');padding-top:15px;color:# 413c1f;" align="center" valign="top"><b> [SEARCH_TITLE]</b></td></tr>
<tr><td align="center" width="300" style="background:url('/img/5.jpg');"> [SEARCH_FORM]</td></tr>
<tr><td align="center" width="300" height="220"><img src=" /img/6.jpg " border="0"></td></td></table>

{ENDIF}
<!--/-->


<!-- -->
<table border="0" cellpadding="0" cellspacing="0" width="300" >
<tr><td align="center" width="300" height="82" style="background:url('/img/4.jpg');padding-top:15px;color:# 413c1f;" align="center" valign="top"><b> Friends Links</b></td></tr>
<tr><td style="background:url('/img/5.jpg');padding-left:55px;">$GLOBAL_FRIENDS$</td></tr>
<tr><td align="center" width="300" height="220"><img src=" /img/6.jpg " border="0"></td></td>
</table>
<!--/-->

<!-- -->
<?if($COUNTER$)?>
<table border="0" cellpadding="0" cellspacing="0" width="300" >
<tr><td align="center" width="300" height="82" style="background:url('/img/4.jpg');padding-top:15px;color:# 413c1f;" align="center" valign="top"><b> Site Statistics</b></td></tr>
<tr><td align="center" width="300" style="background:url('/img/5.jpg');background-repeat: repeat-y;">$COUNTER$</td></tr>
<tr><td align="center" width="300" height="220"><img src="/img/6.jpg " border="0"></td></td>
</table>
<?endif?>
<!--/-->

</td>

<td valign="top">
<table border="0" cellpadding="0" cellspacing="0" width="500">
 <tr><td width="500" style="background:#fdfdff;padding:10px;">{IF}<b>[MODULE_NAME]</b><br>{ENDIF}[BODY]</td></tr>
 <tr><td width="500" height="200" style="background:url('/img/7.jpg');padding-left:20px;">$POWERED_BY$</td></tr>
</table>
</td>
</tr>
</table>
<!-- /Body -->

</td></tr></table>

</body>

</html>

<!-- PopUp -->
<br />
 <table border="0" cellpadding="0" cellspacing="0" width="500" height="21">
 <tr>
 <td style="background:#fdfdff;" align="center"><b>[TITLE]</b></td>
 </tr>
 </table>
<br />
<table border="0" cellpadding="0" cellspacing="0" width="500">
<tr><td width="500" style="background:#fdfdff;">[BODY]</td></tr>
<tr><td width="500" height="200"><img src="/img/7.jpg" border="0"></td></tr>
</table>
<!-- /PopUp -->