<html>
<head>

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

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

<div style="width:100%;text-align:center;">

<table border="0" cellpadding="0" width="100%" cellspacing="0" style="border-left:1px solid #DEDEDE;border-right:1px solid #DEDEDE;padding:0 1px 0 1px;margin-left:auto;margin-right:auto;">
<tr><td colspan="2" height="50" style="background:url('/img/1.gif');padding-left:10px;font-size:10px;color:#A1A1A1;">$WDAY$, $DATE$, $TIME$<br />%IF($USERS_ON$)%%IF($USER_LOGGED_IN$)%You logged in as <a href="$PERSONAL_PAGE_LINK$"><b>$USERNAME$</b></a> | Group "<u>$USER_GROUP$</u>"%ELSE%Hello <b>$USERNAME$</b>%ENDIF%%ENDIF% {IF}| <a href="[RSS_URL]">RSS</a>{ENDIF}</td></tr>
<tr><td colspan="2" align="center" height="32" style="background:url('/img/2.gif');font-size:10px;color:#A1A1A1;font-weight:bold;"><a href="$HOME_PAGE_LINK$" title="Site home">Site home</a>%IF($USERS_ON$)%%IF($USER_LOGGED_IN$)% | <a href="$PERSONAL_PAGE_LINK$" title="Profile page">Profile page</a>%ELSE% | <a href="$REGISTER_LINK$" title="Register now">Register now</a>%ENDIF%%ENDIF% %IF($USERS_ON$)%%IF($USER_LOGGED_IN$)% | <a href="$LOGOUT_LINK$" title="Log out">Log out</a>%ELSE% | <a href="$LOGIN_LINK$" title="Log in">Log in</a>%ENDIF%%ENDIF%</td></tr>

<tr>
<td valign="top" width="175" style="padding-right:1px;">

<!-- -->
<table border="0" cellpadding="0" cellspacing="1" style="background:#BCBCBC;margin-bottom:1px;" width="175">
<tr><td height="17" style="background:url('/img/3.gif') #6EACCE;color:#FFFFFF;border:1px solid #FFFFFF;font-size:10px;padding-left:10px;"><b>Site Menu</b></td></tr>
<tr><td style="background:url('/img/4.gif') bottom repeat-x #FBFBFC;padding:5px;border:1px solid #FFFFFF;">$SITE_MENU$</td></tr>
</table>
<!--/-->

<!-- -->
{IF}
<table border="0" cellpadding="0" cellspacing="1" style="background:#BCBCBC;margin-bottom:1px;" width="175">
<tr><td height="17" style="background:url('/img/3.gif') #6EACCE;color:#FFFFFF;border:1px solid #FFFFFF;font-size:10px;padding-left:10px;"><b>[CATS_TITLE]</b></td></tr>
<tr><td style="background:url('/img/4.gif') bottom repeat-x #FBFBFC;padding:5px;border:1px solid #FFFFFF;">[CATEGORIES]</td></tr>
</table>
{ENDIF}
<!--/-->

<!-- -->
 
%IF($CHAT_BOX$)%
<table border="0" cellpadding="0" cellspacing="1" style="background:#BCBCBC;margin-bottom:1px;" width="175">
<tr><td height="17" style="background:url('/img/3.gif') #6EACCE;color:#FFFFFF;border:1px solid #FFFFFF;font-size:10px;padding-left:10px;"><b>Chat box</b></td></tr>
<tr><td style="background:url('/img/4.gif') bottom repeat-x #FBFBFC;padding:5px;border:1px solid #FFFFFF;">$CHAT_BOX$</td></tr>
</table>
%ENDIF%

%IF($POLL$)%
<table border="0" cellpadding="0" cellspacing="1" style="background:#BCBCBC;margin-bottom:1px;" width="175">
<tr><td height="17" style="background:url('/img/3.gif') #6EACCE;color:#FFFFFF;border:1px solid #FFFFFF;font-size:10px;padding-left:10px;"><b>Site Poll</b></td></tr>
<tr><td style="background:url('/img/4.gif') bottom repeat-x #FBFBFC;padding:5px;border:1px solid #FFFFFF;">$POLL$</td></tr>
</table>
%ENDIF%
<!--/-->

<!-- -->
%IF($LOGIN_FORM$)%
<table border="0" cellpadding="0" cellspacing="1" style="background:#BCBCBC;margin-bottom:1px;" width="175">
<tr><td height="17" style="background:url('/img/3.gif') #6EACCE;color:#FFFFFF;border:1px solid #FFFFFF;font-size:10px;padding-left:10px;"><b>Login Form</b></td></tr>
<tr><td align="center" style="background:url('/img/4.gif') bottom repeat-x #FBFBFC;padding:5px 0 5px 0;border:1px solid #FFFFFF;">$LOGIN_FORM$</td></tr>
</table>
%ENDIF%
<!--/-->

<!-- -->
{IF}
<table border="0" cellpadding="0" cellspacing="1" style="background:#BCBCBC;margin-bottom:1px;" width="175">
<tr><td height="17" style="background:url('/img/3.gif') #6EACCE;color:#FFFFFF;border:1px solid #FFFFFF;font-size:10px;padding-left:10px;"><b>[CALENDAR_TITLE]</b></td></tr>
<tr><td align="center" style="background:url('/img/4.gif') bottom repeat-x #FBFBFC;padding:5px 0 5px 0;border:1px solid #FFFFFF;">[CALENDAR]</td></tr>
</table>
 {ENDIF}
<!--/-->

<!-- -->
{IF}
<table border="0" cellpadding="0" cellspacing="1" style="background:#BCBCBC;margin-bottom:1px;" width="175">
<tr><td height="17" style="background:url('/img/3.gif') #6EACCE;color:#FFFFFF;border:1px solid #FFFFFF;font-size:10px;padding-left:10px;"><b>[SEARCH_TITLE]</b></td></tr>
<tr><td align="center" style="background:url('/img/4.gif') bottom repeat-x #FBFBFC;padding:5px 0 5px 0;border:1px solid #FFFFFF;">[SEARCH_FORM]</td></tr>
</table>
{ENDIF}
<!--/-->

<!-- -->
<table border="0" cellpadding="0" cellspacing="1" style="background:#BCBCBC;margin-bottom:1px;" width="175">
<tr><td height="17" style="background:url('/img/3.gif') #6EACCE;color:#FFFFFF;border:1px solid #FFFFFF;font-size:10px;padding-left:10px;"><b>Friends Links</b></td></tr>
<tr><td style="background:url('/img/4.gif') bottom repeat-x #FBFBFC;padding:5px 0 5px 0;border:1px solid #FFFFFF;">$GLOBAL_FRIENDS$</td></tr>
</table>
<!--/-->

<!-- -->
%IF($COUNTER$)%
<table border="0" cellpadding="0" cellspacing="1" style="background:#BCBCBC;margin-bottom:1px;" width="175">
<tr><td height="17" style="background:url('/img/3.gif') #6EACCE;color:#FFFFFF;border:1px solid #FFFFFF;font-size:10px;padding-left:10px;"><b>Site Statistics</b></td></tr>
<tr><td align="center" style="background:url('/img/4.gif') bottom repeat-x #FBFBFC;padding:5px 0 5px 0;border:1px solid #FFFFFF;">%IF($ONLINE_COUNTER$)%<b>Кто Онлайн</b>$ONLINE_COUNTER$$ONLINE_USERS_LIST$<br />%ENDIF%<br /><strong>Ваш IP<br /><span style="color:#FF0000;">$IP_ADDRESS$</span></strong><br /><?if($COUNTER$)?><br />$COUNTER$<?endif?></td></tr>
</table>
%ENDIF%
<!--/-->

</td>
 
 
<td valign="top" style="padding-left:1px;background:#FFFFFF;border-left:1px solid #DEDEDE;">
 <table cellpadding="0" cellspacing="0" border="0" height="139" width="100%">
 <tr><td height="128" style="background:url('/img/5.jpg') no-repeat #4491D7;padding-left:150px;"><span style="color:#FFFFFF;font:20pt bold Verdana,Tahoma;"><b>SITE LOGO</b></span></td></tr>
 <tr><td height="11" style="background:url('/img/6.gif');"><img src="/img/7.gif" border="0"></td></tr>
 </table>
 <table cellpadding="2" cellspacing="0" border="0" width="100%">
 <tr><td style="border:1 px solid #D7D7D7;padding:5px;">[BODY]</td></tr>
 </table>
</td>
</tr>

<tr><td colspan="2">
<!-- Footer -->
<table border="0" cellpadding="0" cellspacing="0" height="47" width="100%" style="background:url('/img/8.gif');padding-top:10px;">
<tr><td width="175" align="center" style="color:#A1A1A1;">$POWERED_BY$</td><td align="center" style="color:#A1A1A1;">Copyright YouSite © 2005-$YEAR$ | <a href="http://allcity.net.ru/">By AllCity</a></td></tr>
</table>
<!-- /Footer -->
</td></tr>

</table>
<!-- /Body -->

</div>

</body>
</html>

<!-- PopUp -->
<table border="0" cellpadding="0" cellspacing="1" style="background:#FFFFFF; border:1px solid #DEDEDE;" width="100%" height="100%">
<tr><td style="{background:url('/img/3.gif') #6EACCE;color:#FFFFFF;font-weight:bold;height:21px;padding-left:10px;font-size:11px;" align="center"><b>[TITLE]</b></td></tr>
<tr><td align="center" style="background:url('/img/4.gif') bottom repeat-x #FBFBFC;padding:5px;vertical-align:top;">[BODY]</td></tr>
</table>
<!-- /PopUp -->