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

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


<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr><td align="right" width="5%" style="background:url('/img/1.jpg') right repeat-y;"><img src="/img/1.jpg" border="0"></td>
<td width="90%" valign="top" style="border-bottom:1px solid #000000;">
<table border="0" cellpadding="2" cellspacing="0" width="100%" height="200" style="border-bottom:1px solid #494949;">
<tr><td style="background:url('/img/2.png') no-repeat;"></td></tr>
</table>
<table cellpadding="0" cellspacing="0" border="0" width="100%" height="23" style="border:1px solid #262626;background:url('/img/3.gif');">
 <tr>
 <td width="50%" align="left" style="font-size:10px;padding-left:10px;"><a href="$HOME_PAGE_LINK$" title="Главная"><!--<s5176>-->Главная<!--</s>--></a><?if($USERS_ON$)?><?if($USER_LOGGED_IN$)?> | <a href="$PERSONAL_PAGE_LINK$" title="Мой профиль"><!--<s5214>-->Мой профиль<!--</s>--></a><?else?> | <a href="$REGISTER_LINK$" title="Регистрация"><!--<s3089>-->Регистрация<!--</s>--></a><?endif?><?endif?> <?if($USERS_ON$)?><?if($USER_LOGGED_IN$)?> | <a href="$LOGOUT_LINK$" title="Выход"><!--<s5164>-->Выход<!--</s>--></a><?else?> | <a href="$LOGIN_LINK$" title="Вход"><!--<s3087>-->Вход<!--</s>--></a><?endif?><?endif?></td>
 <td width="50%" align="right" style="font-size:10px;padding-right:10px;"><?if($USERS_ON$)?><?if($USER_LOGGED_IN$)?><!--<s5200> -->Вы вошли как<!--</s>--> <a href="$PERSONAL_PAGE_LINK$" title="Мой профиль"><b>$USERNAME$</b></a> | <!--<s3167>-->Группа<!--</s>--> "<u>$USER_GROUP$</u>"<?else?><!--<s5212>-->Приветствую Вас<!--</s>--> <b>$USERNAME$</b><?endif?><?endif?> <?if($RSS_LINK$)?>| <a href="$RSS_LINK$" title="RSS">RSS</a><?endif?></td>
 </tr>
</table>

<table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td valign="top" style="background:#000000;">

<!-- <middle> -->
<table border="0" cellpadding="0" cellspacing="2" width="100%">
<tr>
<td valign="top" style="width:185px;">

<!-- blo n4 -->
<table border="0" cellpadding="0" cellspacing="0" width="185">
<tr><td height="38" style="background:url('/img/4.png') #000000;color:#FFFFFF;padding-left:50px;font-size:12px;"><b>Меню сайта</b></td></tr>
<tr><td style="background:#000000;">$GLOBAL_M$</td></tr>
</table>
<!-- blo-end -->

<!-- blo n4 -->
<?if($CATEGORIES$)?>
<table border="0" cellpadding="0" cellspacing="0" width="185">
<tr><td height="38" style="background:url('/img/4.png') #000000;color:#FFFFFF;padding-left:50px;font-size:12px;"><b>Категории</b></td></tr>
<tr><td style="background:#000000;">$CATEGORIES$</td></tr>
</table>
<?endif?>
<!-- blo-end -->



<!-- blo n4 -->
<?if($CHAT_BOX$)?>
<table border="0" cellpadding="0" cellspacing="0" width="185">
<tr><td height="38" style="background:url('/img/4.png') #000000;color:#FFFFFF;padding-left:50px;font-size:12px;"><b>Мини-чат</b></td></tr>
<tr><td style="background:#000000;">$CHAT_BOX$</td></tr>
</table>
<?endif?>
<!-- blo-end -->

<!-- blo n4 -->
<?if($POLL$)?>
<table border="0" cellpadding="0" cellspacing="0" width="185">
<tr><td height="38" style="background:url('/img/4.png') #000000;color:#FFFFFF;padding-left:50px;font-size:12px;"><b>Опрос</b></td></tr>
<tr><td style="background:#000000;">$POLL$</td></tr>
</table>
<?endif?>
<!-- blo-end --> 
</td>

<td valign="top">
<table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td style="background:#000000;padding:10px;">[BODY]</td></tr></table>
</td>

<td valign="top" style="width:185px;">

<!-- blo n4 -->
<table border="0" cellpadding="0" cellspacing="0" width="185">
<tr><td height="38" style="background:url('/img/4.png') #000000;color:#FFFFFF;padding-left:50px;font-size:12px;"><b>Мини-профиль</b></td></tr>
<tr><td style="background:#000000;">

<!-- !!!!! -->
<center><font color="#cccccc" face="Verdana"><strong><script 
language="JavaScript"> 
<!--begin sababa.webhost.ru 
var h=(new Date()).getHours(); 
if (h > 23 || h <7) document.write('Привет лунатикам! :)') ; 
if (h > 6 && h < 12) document.write('Доброе утро! :)'); 
if (h > 11 && h < 19) document.write('Добрый день!'); 
if (h > 18 && h < 24) document. write('Добрый вечер! '); 
//--> 
</script></strong></font>


$USERNAME$ 
<br> 
<?if($USER_AVATAR_URL$)?><img class="userAvatar" title="$USERNAME$" src="$USER_AVATAR_URL$" border="0"><?else?><?if($USER_LOGGED_IN$)?><img class="userAvatar" title="$USERNAME$" src="/img/5.png" border="0"><?else?><img class="userAvatar" title="$USERNAME$" src="/img/5.png" border="0"><?endif?><?endif?> 

<span style="font-weight: bold; color: rgb(0, 102, 0);"><br><font color="#006400">Группа:</font></span> <b>$USER_GROUP$ 
<div align="center"><font color="#006400"><strong>Время:</strong></font><b>$TIME$</b><br> 

<?if($USER_LOGGED_IN$)?> 
<div align="left"> 
<br><img src="/img/6.png"> Логин: <b>$USER_FULL_NAME$ </b> 


<br><img border="0" src="/img/7.png"> Ты здесь: <font color="#FF0000"><b>$USER_REG_DAYS$</b></font>-й день 
 
<br><a target="_blank" href="$PERSONAL_PAGE_LINK$"><img border="0" src="/img/8.png" border="0"> Профиль</a> 
<br><a href="javascript:
<br><a href="javascript:openOnClick('send')"><img border="0" src="/img/9.png"> Отправить сообщ.</a> 
<br><a id="upml2" href="javascript:openOnClick('mail')"><img border="0" src="/img/10.png"> Читать ЛС (<b>$UNREAD_PM$</b>)</a> 
<?if($IS_NEW_PM$)?><script type="text/javascript">function flashit(id,cl){var c=document.getElementById(id);if (c.style.color=='red'){c.style.color=cl;}else {c.style.color='red';}}setInterval("flashit('upml2','')",500)</script><?endif?> </div> 
<DIV><br><center><a target="_blank" href="$LOGOUT_LINK$"><img src="/img/11.png" border="0"></a></center></DIV> 

<script language=javascript type=text/javascript> 
function openOnClick(client_type) 
{ 
if(client_type=="mail")clientWindow = window.open("$PM_URL$","pmw","scrollbars=1,top=0,left=0,resizable=1,width=850,height=350") || alert("Отключите блокировку всплывающих окон!"); 
if(client_type=="send")clientWindow = window.open("/index/14-999-0-1","pms","scrollbars=1,top=0,left=0,resizable=1,width=850,height=350") || alert("Отключите блокировку всплывающих окон!"); 
if(client_type=="options")clientWindow = window.open("/index/11","options","scrollbars=1,top=0,left=0,resizable=1,width=680,height=350") || alert("Отключите блокировку всплывающих окон!"); 
if(client_type=="users")clientWindow = window.open("$USERS_LIST_URL$","users","scrollbars=1,top=0,left=0,resizable=1,width=680,height=350") || alert("Отключите блокировку всплывающих окон!"); 

} 
</script> 
<?else?> 
<br>Гость, мы рады вас видеть. Пожалуйста зарегистрируйтесь или авторизуйтесь! 
<?endif?></div> </center> 

$LOGIN_FORM$

<!-- //!!!!!!// -->


</td></tr>
</table>
<!-- blo-end -->



<!-- blo n4 -->
<table border="0" cellpadding="0" cellspacing="0" width="185">
<tr><td height="38" style="background:url('/img/4.png') #000000;color:#FFFFFF;padding-left:50px;font-size:12px;"><b>Друзья сайта</b></td></tr>
<tr><td style="background:#000000;"><div align="center">

<!-- G-T -->
<a href="http://game-template.at.ua/" target="_blank"><img
src="/img/12.gif" alt=""
width="88" height="31" border="0"></a>
<!-- /G-T -->

</div></td></tr>
</table>
<!-- blo-end -->

<!-- blo n4 -->
<?if($COUNTER$ || $ONLINE_COUNTER$)?>
<table border="0" cellpadding="0" cellspacing="0" width="185">
<tr><td height="38" style="background:url('/img/4.png') #000000;color:#FFFFFF;padding-left:50px;font-size:12px;"><b>Статистика</b></td></tr>
<tr><td style="background:#000000;"><div align="center"><!-- <bc> -->$COUNTER$<?if($ONLINE_COUNTER$)?><hr />$ONLINE_COUNTER$$ONLINE_USERS_LIST$<?endif?><!-- </bc> --></div></td></tr>
</table>
<?endif?>
<!-- blo-end -->


</td>
</tr>
</table>
<!-- </middle> -->
</td></tr></table>

<table border="0" cellpadding="6" cellspacing="0" width="100%" style="background:#000000;">
<tr><td align="center"><!-- <copy> -->Copyright MyCorp &copy; $YEAR$<!-- </copy> --></td></tr>
<tr><td align="center">$POWERED_BY$</td></tr>
</table>

</td>
<td align="left" width="5%" style="background:url('/img/13.jpg') left repeat-y;"><img src="/img/13.jpg" border="0"></td>
</td></tr></table>

</body>

</html>

<!-- <popup> -->
<table border="0" cellpadding="2" cellspacing="1" style="background:#A9B8C2;" width="100%">
<tr><td style="background:#000000;" align="center"><b>[TITLE]</b></td></tr>
<tr><td align="center" style="background:#000000;padding:5px;">[BODY]</td></tr>
</table>
<!-- </popup> -->