<?php
	$site->Doctype = '<!DOCTYPE html>';
	$site->AddCSSFile('style.css');
	$site->AddJSFile('functions.js', false, true);
?>
{template}
<body>
	{page.errors_text}
	<div class="logo">
		<div id="logo_image"></div>
	</div>

	<div class="topmenu">
		<a href="<?=Ufu('index.php')?>"> Главная </a> :
		<a href="<?=Ufu('index.php?name=news&op=topics', 'news/{op}/')?>"> Новости </a> :
		<a href="<?=Ufu('index.php?name=guestbook', '{name}/')?>"> Гостевая книга </a> :
		<a href="<?=Ufu('index.php?name=downloads', '{name}/')?>"> Скачать </a> :
		<a href="<?=Ufu('index.php?name=articles', '{name}/')?>"> Статьи </a>
	</div>

	<div class="container">
		<div class="content">
			<div class="text">
				{tblocks}{/tblocks}
				{content_box}{/content_box}
				{bblocks}{/bblocks}
			</div>
		</div>
		<div class="left">
			{lblocks}{/lblocks}
		</div>
		<div class="right">
			{rblocks}{/rblocks}
		</div>
		<div class="clear"></div>
	</div>

	<div class="info">
		<div>
			<table cellpadding="0" cellspacing="0" border="0" width="100%" class="site_copy">
				<tr>
					<td align="left" width="200">{page.powered}</td>
					<td align="center">{page.copyright}</td>
					<td align="right" width="200">{page:site_email}Веб-мастер: <a href="mailto:{page.site_email}">{page.site_email}</a>{/page:site_email}</td>
				</tr>
			</table>
		</div>
	</div>
	<div class="page_info" align="left">
		{page.info}
	</div>
</body>
{/template}