<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title><?php $kernel->show_title()?></title>
<meta name="description" content="<?php $kernel->show_description()?>">
<meta name="keywords" content="<?php $kernel->show_keywords()?>">

<meta http-equiv="Content-Language" content="ru">
<meta content="text/html; charset=<?php echo SITE_CODING?>" http-equiv=Content-Type>

<?php $kernel->show_CSS()?>

<script type="text/javascript" src="/templates/template1/hostcms.js"></script>
<script type="text/javascript" src="/hostcmsfiles/ajax/JsHttpRequest.js"></script>
<script type="text/javascript" src="/hostcmsfiles/ajax/ajax.js"></script>

<script src="/hostcmsfiles/main.js" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="/hostcmsfiles/style.css" />

<!-- Визуальный редактор -->
<script language="javascript" type="text/javascript" src="/admin/wysiwyg/tiny_mce_src.js"></script>
<script type="text/javascript" language="JavaScript">
tinyMCE.init(
{
	mode : "textareas",
	theme : "simple",
	editor_selector : "mceEditor",
	editor_deselector : "mceNoEditor",
	width: "400px",
	theme_simple_resizing : true
}
);
</script>

</head>

<body leftmargin="0" topmargin="0" marginheight="0" marginwidth="0" bgcolor="#f2ede9">
<?php 
$Structure = & singleton('Structure');
$Structure->ShowStructure(1,'ВерхнееМеню');
?>
<table width="100%" cellpadding="0" cellspacing="0" border="0" class="header_table">
	<tr>
		<td width="1" style="padding-right: 16px;"></td>
		<td width="250">
			<div class="green_grad">
				<div class="tl" ></div>
				<div class="tr" ></div>
				<div class="bl" ></div>
				<div class="br" ></div>
				<?php 
				if (class_exists('shop'))
				{
					$shop = & singleton('shop');
					$shop_id = 1;
					$shop->ShowShop($shop_id, 'МагазинГруппыТоваровНаГлавной');
				}
				?>				
			</div>
		</td>
		<td width="1" style="padding-right: 16px;"></td>
		<td style="background: url('/images/blue_grad.gif') repeat-x 0 0;">
			<div class="blue_grad">
				<div class="tl" ></div>
				<div class="tr" ></div>
				<div class="bl" ></div>
				<div class="br" ></div>
				<div align="center" class="fast_menu_box"></div>
				<div align="center" class="fast_menu_link_box">
					<a href="/"><img src="/images/home.gif" alt="Главная страница" title="Главная страница"></a><br/>
					<a href="mailto:support@hostcms.ru"><img src="/images/mail.gif" alt="Электронная почта" title="Электронная почта"></a><br/>
					<a href="/search/"><img src="/images/search.gif" alt="Поиск" title="Поиск"></a><br/>
					<a href="/map/"><img src="/images/map.gif" alt="Карта сайта" title="Карта сайта"></a>
				</div>
				<div style="width: 380px; font-size: 0pt;"></div>			
			</div>
		</td>
		<td width="1" style="padding-right: 16px;"></td>
		<td width="190">
			<div class="turquoise_grad">
				<div class="tl" ></div>				
				<div class="tr" ></div>				
				<div class="bl" ></div>				
				<div class="br" ></div>
				
				<?php 
				if (class_exists('shop'))
				{
					$shop = & singleton('shop');
					$shop_id = 1;
					$shop->ShowCart($shop_id, false, "МагазинКорзинаКраткая");
				}
				?>	
				
				<?php 
				/*
				$information_system = & singleton('InformationSystem');
				$information_system_id = 1;
				// Отображаем тэги
				$information_system->ShowTagsCloud($information_system_id, 'ОблакоТэговИнформационнойСистемы');
				*/
				?>
			</div>
		</td>
		<td width="1" style="padding-right: 16px;"></td>
	</tr>
</table>

<!-- Вызов шаблона для текущей страницы -->
<?php 
$kernel->show_current_template();
?>

<hr>
<table width="100%" cellpadding="0" cellspacing="0" border="0" class="footer">
	<tr>
		<td class="copyright" valign="top">
			&copy; 2005&mdash;2008 ООО &laquo;Хостмэйк&raquo;<br>
			<a href="http://www.hostmake.ru" target="_blank">Разработка сайта ООО "Хостмэйк"</a><br>
			<a href="http://www.hostcms.ru" target="_blank">Система управления сайтом HostCMS v. 5</a>
			<div style="width: 350px; font-size: 0pt;"></div>
		</td>
		<td width="485" valign="top">
			<!-- Реклама -->
			<?php 
			if (class_exists('Advertisement'))
			{
				$Advertisement = new Advertisement();
				$Advertisement->ShowAdvertisementGroup(1, 'ОтображениеБаннера');
			}
			?>
		</td>
	</tr>
</table>
</body>
</html>