Вот если я правильно тебя понял
Код
<html>
<head>
<meta charset="utf-8">
<title>$SITE_NAME$ - $MODULE_NAME$</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
<?$META_DESCRIPTION$?>
<?$META_KEYWORDS$?>
<script type="text/javascript">
var browser = navigator.userAgent;
var browserRegex = /(Android|BlackBerry|IEMobile|Nokia|iP(ad|hone|od)|Opera M(obi|ini))/;
var isMobile = false;
if(browser.match(browserRegex)) {
isMobile = true;
addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false);
function hideURLbar(){
window.scrollTo(0,1);
}
}
</script>
<link rel="stylesheet" href="/.s/src/css/1101.css" type="text/css" media="all" />
<script type="text/javascript">
var navTitle = "Navigation"
</script>
</head>
<body>
$ADMIN_BAR$
<header>
<div id="header"<?if($URI_ID$='page1')?> class="head-bg"<?endif?>>
<div id="head-top">
<div class="wrapper">
<div class="head-l"><?if($USERS_ON$)?><?if($USER_LOGGED_IN$)?><span><!--<s5212>-->Приветствую Вас<!--</s>-->, <a href="$PERSONAL_PAGE_LINK$"><b>$USERNAME$</b></a></span><?else?><span><!--<s5212>-->Приветствую Вас<!--</s>-->, <b>$USERNAME$</b></span><?endif?><?endif?> | <?if($RSS_LINK$)?><a href="$RSS_LINK$" class="rss-lnk">RSS</a> | <?endif?><span>$WDAY$, $DATE$</span></div>
<div class="head-r">
<?if($USERS_ON$)?><?if($USER_LOGGED_IN$)?><a title="Мой профиль" href="$PERSONAL_PAGE_LINK$"><!--<s5214>-->Мой профиль<!--</s>--></a> <a title="Выход" href="$LOGOUT_LINK$"><!--<s5164>-->Выход<!--</s>--></a><?else?><a title="Регистрация" href="$REGISTER_LINK$"><!--<s3089>-->Регистрация<!--</s>--></a> <a title="Вход" href="$LOGIN_LINK$"><!--<s3087>-->Вход<!--</s>--></a><?endif?><?endif?>
</div>
<div class="clr"></div>
</div>
</div>
<div class="wrapper">
$GLOBAL_AHEADER$
<div class="clr"></div>
$GLOBAL_PROMO$
</div>
</div>
</header>
<div id="casing">
<div class="wrapper">
<?if($MODULE_ID$='forum')?><div class="forum-box"><?endif?>
<!-- <middle> -->
<div class="part-l">
<div id="content">
<div class="part-i">
<section>
<table border="0" cellpadding="0" height="30" cellspacing="0" width="100%">
<tr>
<td align="right">[<?if($USER_LOGGED_IN$)?>
<a href="javascript://" rel="nofollow" id="upml" class="fNavLink" onclick="window.open('$PM_URL$','pmw','scrollbars=1,top=0,left=0,resizable=1,width=680,height=350');return false;"><!--<s3065>-->Личные сообщения<!--</s>-->($UNREAD_PM$)</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('upml','')",500)</script><bgsound src="http://s22.ucoz.net/img/fr/pm.wav" loop="1" volume="0" balance="0">
<?endif?><?endif?>
<a class="fNavLink" href="$RECENT_POSTS_LINK$" rel="nofollow"><!--<s5209>-->Новые сообщения<!--</s>--></a> ·
<a class="fNavLink" href="$MEMBERS_LIST_LINK$" rel="nofollow"><!--<s5216>-->Участники<!--</s>--></a> ·
<a class="fNavLink" href="$BOARD_RULES_LINK$" rel="nofollow"><!--<s5166>-->Правила форума<!--</s>--></a> ·
<a class="fNavLink" href="$SEARCH_PAGE_LINK$" rel="nofollow"><!--<s3163>-->Поиск<!--</s>--></a> ·
<a class="fNavLink" href="$RSS_LINK$" rel="nofollow">RSS</a><?if($USER_LOGGED_IN$)?> ·
<a class="fNavLink" href="$SUBSCRIPTION_LINK$" rel="nofollow"><!--<s6773>-->Подписки<!--</s>--></a><?endif?> ]</td>
</tr>
</table>
$BODY$
</section>
</div>
</div>
</div>
<div class="part-r">
<div class="part-i">
<aside>
<div id="sidebar">
$GLOBAL_CLEFTER$
</div>
</aside>
</div>
</div>
<!-- </middle> -->
<div class="clr"></div>
<?if($MODULE_ID$='forum')?></div><?endif?>
</div>
</div>
$GLOBAL_BOTTOM$
$GLOBAL_BFOOTER$
<script type="text/javascript" src="/.s/t/1101/template.min.js"></script>
<div style="display:none">
</div>
</body>
</html>
http://test-mods.ucoz.com/forum