<!-- IF SIMPLE_FOOTER --><div class="copyright tCenter" id="t2t">{POWERED}</div><!-- ELSEIF IN_ADMIN --><!-- ELSE -->

	</div><!--/main_content_wrap-->
	</td><!--/main_content-->

	<!-- IF SHOW_SIDEBAR2 -->
		<!--sidebar2-->
		<td id="sidebar2">
		<div id="sidebar2-wrap">
			<!-- IF HTML_SIDEBAR_2 -->
				<?php include($V['HTML_SIDEBAR_2']); ?>
			<!-- ENDIF -->
			<img width="210" class="spacer" src="{SPACER}" alt="" />
		</div><!--/sidebar2_wrap-->
		</td><!--/sidebar2-->
	<!-- ENDIF -->

	</tr></table>

	<div class="statistics clearfix">
		<h4 class="statistics_head clearfix">
			<ul class="ipsList_inline left ipsType_small" id="stat_links">
			<!-- IF HTML_AGREEMENT -->
				<li><a href="{$bb_cfg['user_agreement_url']}" onclick="window.open(this.href, '', IWP); return false;">{L_USER_AGREEMENT}</a></li>
			<!-- ENDIF -->
			<!-- IF HTML_COPYRIGHT -->
				<li><a href="{$bb_cfg['copyright_holders_url']}" onclick="window.open(this.href, '', IWP); return false;">{L_COPYRIGHT_HOLDERS}</a></li>
			<!-- ENDIF -->
			<!-- IF HTML_ADVERT -->
				<li><a href="{$bb_cfg['advert_url']}" onclick="window.open(this.href, '', IWP); return false;">{L_ADVERT}</a></li>
			<!-- ENDIF -->
			</ul>
			
			<ul class="ipsList_inline right ipsType_small" id="stat_links">
				<!-- IF SHOW_ADMIN_LINK --><li><a href="{ADMIN_LINK_HREF}">{L_ADMIN_PANEL}</a></li><!-- ENDIF -->
				<li><a href="{U_INDEX}">{L_HOME}</a></li>
				<li><a href="{U_TERMS}">{L_TERMS}</a></li>
			</ul>
		</h4>
		<p class="tCenter desc">
			{L_COPY}
		</p>
		</div>
	
	</div>
	</div>
	<!--/page_content-->

	<!--page_footer-->
	<div id="footer">

		<div class="clearfix" id="footer_utilities">
			<div class="clearfix wrapper">
				<a title="Наверх" id="backtotop" href="#top" rel="nofollow"><img src="styles/templates/default/images/shift/top.png"></a>
					<div class="skin_link" id="t2t">{POWERED}</div>
					<p id="copyright">
						Здесь может быть счётчик
					</p>
			</div>
		</div>
	</div>

	<!--/page_footer -->

	<!--/page_container -->

<!-- ENDIF -->

<!-- IF ONLOAD_FOCUS_ID -->
<script type="text/javascript">
$p('{ONLOAD_FOCUS_ID}').focus();
</script>
<!-- ENDIF -->