<html>
<head>

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


<body style="background: url('/img/1.gif'); margin:0px; padding:0px;">


<!-- Header -->


<table align="center" cellpadding="0" cellspacing="0" border="0" height="200" width="800">
 <tr><td width="800" height="130" style="background: url('/img/2.jpg') no-repeat; border:0px;"></td></tr>
<tr><td align="center" width="800" height="50" style="background: #000000; border:0px;"><span style="color:#ffffff;font:30pt bold Verdana,Tahoma;">SITE LOGO</span></td></tr>

<tr><td height="20" width="800" align="center" style="background: url('/img/3.gif') repeat-y;" class="top_menu"><a href="$HOME_PAGE_LINK$">Site home</a>{IF}| <a href="[MODULE_PAGE_URL]">[MODULE_NAME]</a>{ENDIF} %IF($USER_LOGGED_IN$)% | <a href="$PERSONAL_PAGE_LINK$">Profile page</a>%ELSE% | <a href="$REGISTER_LINK$">Register now</a>%ENDIF% %IF($USER_LOGGED_IN$)% | <a href="$LOGOUT_LINK$">Log out</a>%ELSE% | <a href="$LOGIN_LINK$">Log in</a>%ENDIF%</td></tr>
 </table>

<!-- /Header -->

<table align="center" cellpadding="0" cellspacing="0" border="0" width="800"><tr><td align="center">

<!-- Body -->
<table border="0" cellpadding="0" cellspacing="0" width="100%" style="background:url('/img/4.gif') repeat-y right; padding-top:0px;">
<tr>
<td valign="top" width="200" style="background:url('/img/1.gif') repeat-y;">

<!-- -->
<table border="0" cellpadding="0" cellspacing="0" style="background:none;" width="200">
<tr><td align="center" style="background:#000000; height: 20px; color: #ffffff;margin:0px; padding:0px;"><b>Site Menu</b></td></tr>
<tr><td style="padding:5px 5px 5px 5px;">$SITE_MENU$</td></tr>
</table>
<!--/-->

<!-- -->
{IF}
<table border="0" cellpadding="0" cellspacing="0" style="background:none;" width="200">
<tr><td align="center" style="background:#000000; height: 20px; color: #ffffff;margin:0px; padding:0px;"><b>[CATS_TITLE]</b></td></tr>
<tr><td style="padding:5px 5px 5px 5px;">[CATEGORIES]</td></tr>
</table>
{ENDIF}
<!--/-->

<!-- -->
%IF($LOGIN_FORM$)%
<table border="0" cellpadding="0" cellspacing="0" style="background:none;" width="200">
<tr><td align="center" style="background:#000000; height: 20px; color: #ffffff;margin:0px; padding:0px;"><b><b>Login Form</b></td></tr>
<tr><td style="padding:5px 5px 5px 5px;">$LOGIN_FORM$</td></tr>
</table>
%ENDIF%
<!--/-->

<!-- -->
{IF}
<table border="0" cellpadding="0" cellspacing="0" style="background:none;" width="200">
<tr><td align="center" style="background:#000000; height: 20px; color: #ffffff;margin:0px; padding:0px;"><b>[CALENDAR_TITLE]</b></td></tr>
<tr><td style="padding:5px 5px 5px 5px;">[CALENDAR]</td></tr>
</table>
{ENDIF}
<!--/-->

<!-- -->
{IF}
<table border="0" cellpadding="0" cellspacing="0" style="background:none;" width="200">
<tr><td align="center" style="background:#000000; height: 20px; color: #ffffff;margin:0px; padding:0px;"><b>[SEARCH_TITLE]</b></td></tr>
<tr><td style="padding:5px 5px 5px 5px;">[SEARCH_FORM]</td></tr>
</table>
{ENDIF}
<!--/-->


<!-- -->
<table border="0" cellpadding="0" cellspacing="0" style="background:none;" width="200">
<tr><td align="center" style="background:#000000; height: 20px; color: #ffffff;margin:0px; padding:0px;"><b>Friends Links</b></td></tr>
<tr><td style="padding:5px 5px 5px 5px;">$GLOBAL_FRIENDS$</td></tr>
</table>
<!--/-->

<!-- -->
 %IF($POLL$)%
<table border="0" cellpadding="0" cellspacing="0" style="background:none;" width="200">
<tr><td align="center" style="background:#000000; height: 20px; color: #ffffff;margin:0px; padding:0px;"><b>Site Poll</b></td></tr>
<tr><td style="padding:5px 5px 5px 5px;">$POLL$</td></tr>
</table>
%ENDIF%
<!--/-->

<!-- -->
%IF($COUNTER$)%
<table border="0" cellpadding="0" cellspacing="0" style="background:none;" width="200">
<tr><td align="center" style="background:#000000; height: 20px; color: #ffffff;margin:0px; padding:0px;"><b>Site Statistics</b></td></tr>
<tr><td style="padding:5px 5px 5px 5px;">$COUNTER$</td></tr>
</table>
%ENDIF%
<!--/-->


</td>
<td valign="top">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td style="background:#000000;" height="20">{IF}<a href="[MODULE_PAGE_URL]">[MODULE_NAME]</a>{ENDIF}</td></tr>
<tr><td style="padding:5px 5px 5px 5px;">[BODY]</td></tr>
</table>
</td>


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

</td></tr></table>
<!-- Footer -->
<table align="center" border="0" cellpadding="0" cellspacing="0" width="800" style="background:#000000" height="20">
<tr><td align="center" height="20">$POWERED_BY$</td></tr>
</table>
<!-- /Footer -->

</body>

</html>

<!-- PopUp -->

<table border="0" cellpadding="0" cellspacing="0" width="100%"">
<tr><td height="20" align="center" style="background: #ff0000"><b>[TITLE]</b></td></tr>
<tr><td>[BODY]</td></tr>
</table>
<!-- /PopUp -->