<table width="906" cellpadding="0" cellspacing="0" border="0" align="center">
	<!-- HEADER i -->
	<!-- logo -->
	<tr>
		<td class="tpl_header" colspan="3" align="right"><div style="padding-right:12px;"><?php showBanner(1); ?></div></td>
	</tr>
	<!-- buttons -->
	<tr>
		<td class="tpl_main_l"></td>
		<td class="tpl_buttons">
			<ul>
				<li class='tpl_menu_b1'><a href="{$site_url}" title="{$site_name}"><div><h1>{$site_name}</h1></div></a></li>
				<li class='tpl_menu_b2'><a href="index.php?page=download" title="Downloads"><div><h1>Download</h1></div></a></li>
				<li class='tpl_menu_b3'><a href="index.php?page=forum" title="Forums"><div><h1>Forums</h1></div></a></li>
				<li class='tpl_menu_b4'><a href="index.php?page=gallery" title="Gallery"><div><h1>Gallery</h1></div></a></li>
				<li class='tpl_menu_b5'><a href="index.php?page=search" title="Search"><div><h1>Search</h1></div></a></li>
				<li class='tpl_menu_b6'><a href="index.php?page=sitemap" title="Sitemap"><div><h1>Sitemap</h1></div></a></li>
				<li class='tpl_menu_b7'><a href="index.php?page=rss" title="RSS Feeds"><div><h1>RSS Feeds</h1></div></a></li>
			</ul>
		</td>
		<td class="tpl_main_r"></td>
	</tr>
	<!-- path -->
	<tr>
		<td class="tpl_main_l"></td>
		<td class="tpl_path"><img src="images/tpl_icon.png" alt="Icon">&nbsp;{$showpath}</td>
		<td class="tpl_main_r"></td>
	</tr>
	<!-- HEADER e -->
	<!-- MAIN i -->
	<tr>
		<td class="tpl_main_l"></td>
		<td class="tpl_content">
			<!-- content -->
			<table width="100%" cellpadding="0" cellspacing="0" border="0">
				<tr>
					{if condition="$fullscreen < 2"}
						<td class="tpl_navigator" valign="top">
							<!-- NAVIGATOR BLOCKS i -->
							{loop name="tpl_blocks_navigator"}
								{if condition="$value.flag == 0"}
									<div class='tpl_block_nav'>
										{if condition="$value.usetitle > 0"}
											<div class='tpl_block_nav_title'><img src="images/tpl_icon.png" alt="Icon">&nbsp;{$value.title}</div>
										{/if}
										<div>{$value.content}</div>
									</div>
									<div class='tpl_block_nav_end'></div>
								{elseif condition="$value.flag == 1"}
									<div class='tpl_block_nav_h1'>
										{if condition="$value.usetitle > 0"}
											<div class='tpl_block_nav_title_h1'><img src="images/tpl_icon.png" alt="Icon">&nbsp;{$value.title}</div>
										{/if}
										<div>{$value.content}</div>
									</div>
									<div class='tpl_block_nav_end_h1'></div>
								{elseif condition="$value.flag > 1"}
									<div class='tpl_block_nav_h2'>
										{if condition="$value.usetitle > 0"}
											<div class='tpl_block_nav_title_h2'><img src="images/tpl_icon.png" alt="Icon">&nbsp;{$value.title}</div>
										{/if}
										<div>{$value.content}</div>
									</div>
									<div class='tpl_block_nav_end_h2'></div>
								{/if}
								<div class='tpl_vspacer'></div>
							{/loop}
							<!-- NAVIGATOR BLOCKS e -->
						</td>
					{/if}
					<td class="tpl_main" valign="top">
						<!-- MAIN CONTENT i -->
							<!-- MESSAGES i -->
							{loop name="tpl_messages"}
								<div class='tpl_mex_box'>
									<div class='tpl_mex_boxtop'><div></div></div>
									<div class='tpl_mex_boxcontent'>
										<div class='tpl_mex_title'>{$value.title}</div>
										<div>{$value.content}</div>
									</div>
									<div class='tpl_mex_boxbottom'><div></div></div>
								</div>
								<div class='tpl_vspacer'></div>
							{/loop}
							<!-- MESSAGES e -->
												
							<!-- CENTRAL BLOCKS i -->
							{loop name="tpl_blocks_central"}
								{if condition="$value.usetitle > 0"}
									<div class='tpl_block_title'><img src="images/tpl_icon.png" alt="Icon">&nbsp;{$value.title}</div>
								{/if}
								<div class='tpl_block_body'>{$value.content}</div>
								<div class='tpl_vspacer'></div>
							{/loop}
							<!-- CENTRAL BLOCKS e -->
												
							<!-- PAGE i -->
							{if condition="$tpl_page.title != ''"}
								<div class='tpl_page_title'>
								{if condition="$tpl_page.url != ''"}
									<img src="images/tpl_icon.png" alt="Icon">&nbsp;<a href='{$tpl_page.url}' title='{$tpl_page.title}'><b>{$tpl_page.title}</b></a>
								{else}
									<b>{$tpl_page.title}</b>
								{/if}
								</div>
							{/if}
							{if condition="$tpl_page.name == 'blog'"} {include="blog"} {/if}
							{if condition="$tpl_page.name == 'news'"} {include="news"} {/if}
							<div>{$tpl_page.content}</div>
							<!-- PAGE e -->
						<!-- MAIN CONTENT e -->
					</td>
					{if condition="$fullscreen < 1"}
						<td class="tpl_extra" valign="top">
							<!-- EXTRA BLOCKS i -->
							{loop name="tpl_blocks_extra"}
								{if condition="$value.usetitle > 0"}
									<div class='tpl_block_title'><img src="images/tpl_icon.png" alt="Icon">&nbsp;{$value.title}</div>
								{/if}
								<div class='tpl_block_body'>{$value.content}</div>
							{/loop}
							<!-- EXTRA BLOCKS e -->
						</td>
					{/if}
				</tr>
			</table>
		</td>
		<td class="tpl_main_r"></td>
	</tr>
	<!-- MAIN e -->
	<!-- FOOTER i -->
	<tr>
		<td class="tpl_foot_l"></td>
		<td class="tpl_foot_c">
			<table width="100%" cellpadding="0" cellspacing="0" border="0">
				<tr>
					<td class="left"></td>
					<td class="center">
						<table>
							<tr><td class="centertxt">{$copyright}</td></tr>
							<tr><td class="centertxt">{$copytext}</td></tr>
						</table>
					</td>
					<td class="right"></td>
				</tr>
			</table>
		</td>
		<td class="tpl_foot_r"></td>
	</tr>
	<!-- FOOTER e -->
</table>
<div class="tpl_footmsg" align="center">{$footmsg}</div>