<!DOCTYPE html
	 PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=<?= @$this->aHeaderVar['catalog_charset'] ?>" />
		<title><?= @$this->aHeaderVar['page_title'] . ' :: ' . @$this->config->item('site_title') ?></title>
		<base href="<?= base_url(true) ?>" />

		<link href="<?= $this->config->item('design_css_url') ?>styles.css" rel="stylesheet" type="text/css" />
		<link rel="alternate" type="application/rss+xml" title="<?= @$this->config->item('site_title')?>" href="<?= site_url('rss/0')?>" />
		<script type="text/javascript" src="<?= base_url() ?>views/_js/_scripts.js"></script>
		<script type="text/javascript" src="<?= $this->config->item('design_js_url') ?>script.js"></script>
		<link rel="icon" href="/favicon.ico" type="image/x-icon" />
		<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />

		<?= @$this->aHeaderVar['additional_js'] ?>
		<?= @$this->aHeaderVar['additional_css'] ?>

		<meta name="keywords" content="<?= !empty( $this->aHeaderVar['meta_key'] ) ? @$this->aHeaderVar['meta_key'] : $this->config->item('site_keywords')  ?>" />
		<meta name="description" content="<?= !empty( $this->aHeaderVar['meta_desc'] ) ? @$this->aHeaderVar['meta_desc'] : $this->config->item('site_description') ?>" />
		
<!-- START NAVIGATION SCRIPT -->		
<script type="text/javascript" src="<?=base_url() ?>views/_js/prototype.lite.js"></script>
<script type="text/javascript" src="<?=base_url() ?>views/_js/moo.fx.js"></script>
<script>
window.onload = function() {
	myHeight = new fx.Height('nav', {duration: 400});
	myHeight.hide();
}
</script>
<!-- END NAVIGATION SCRIPT -->
		
	</head>
<body>

<!-- START NAVIGATION -->
<div id="nav" style="display:none;background-color:#fff7e9;">
<div style="padding:2px 15px;color:#a66d03;">
	<div style="float:left;">
		<strong>
			change template:
		</strong>
<?
	$aTemplateList= array( 	'marine'		=>	'marine',
							'default_blue'	=>	'default blue'
						);
?>
	<ul>
		<?
		foreach ($aTemplateList as $key => $value)
			if ($key==$this->config->item('template'))
				echo '<li>'.$value.'</li>';
			else
				echo '<li><a href="'.site_url('catalog/set_template/'.$key).'">'.$value.'</a></li>';
		?>
	</ul>
	</div>
	<div style="float:left;margin-left:50px;">
		<strong>go to:</strong>
		<ul>
			<li><a href="<?=base_url()?>products/zoki-catalog" >catalog description</a></li>
			<li><a href="javascript:void(0);" onclick="javascript: document.location='<?=base_url()?>checkout/pp/index/file/4'">buy</a></li>
		</ul>
	</div>
</div>
</div>
<div onclick="myHeight.toggle();" style="position:relative;height:20px;line-height:20px;width:100%;padding-left:15px;color:#5c7f31;background-image:url('<?=base_url()?>views/_images/tools_bg.gif');">
	<div style="float:right;margin:5px 150px 0 0;">
		<a style="position:absolute;" href="javascript:void(0);">
			<img src="<?=base_url()?>views/_images/zokismall.jpg" />
		</a>
	</div>
	<strong>
		this is options panel for this DEMO. click here to change template and so on ..
	</strong>
</div>
<!-- END NAVIGATION -->

	<div id="main"><!-- [ Start ] Main Block -->
		<div style="position:absolute;"><a name="top"></a></div>
		<div id="asynchelp_container"></div>
		<div id="header">
			<div id="logoDesc">
				<div><a href="<?= base_url(true); ?>"><img src="<?= $this->config->item('design_pic_url'); ?>logo.jpg" alt="<?= $this->config->item('site_title'); ?>" title="<?= $this->config->item('site_title'); ?>" /></a></div>
				<div id="siteDesc"><?= $this->config->item('site_description'); ?></div>
			</div>
			
			<? if ( 1 < count($this->aSystemVar['lang_list']) ) : ?>			
			<div id="langBlock" style="position:absolute;top:5px;right:450px;width:100px;">
				<?= $this->lang->line('langs') ?>:
				<ul>
				<? 
					foreach ($this->aSystemVar['lang_list'] as $aItem)
					{
						if (1==$aItem['Def'])
							echo '<li>'.anchor($this->aSystemVar['current_location_wl'],$aItem['Title']).'</li>';							
						else
							echo '<li>'.anchor($this->aSystemVar['current_location_wl'].'/lang-'.$aItem['BaseName'],$aItem['Title']).'</li>';
					}
				?>
				</ul>
			</div>
			<? endif; ?>

			<div id="searchBlock"><!-- [ Start ] Search Block -->
				<!--
				<?= $this->lang->line('search') ?>:
				<br />
				-->
				<form action="http://www.google.com/search" method="get" id="search_google_form" target="_blank" >
					<input type="hidden" name="ie" value="UTF-8" />
					<input type="hidden" name="oe" value="UTF-8" />
					<input type="hidden" name="q" id="search_google_text" value="" />
				</form>
				<script language="javascript" type="text/javascript">
					function GoogleCheck()
					{
						if ( document.getElementById('search_google').checked )
						{
							document.getElementById('search_google_text').value = document.getElementById('search_text').value;
							document.getElementById('search_google_form').submit();
							return false;
						}
						return true;
					}
				</script>


				<?=form_open( ( !empty($this->aSystemVar['module_name']) ? ($this->aSystemVar['module_name'] . '/') : '' ) . 'catalog/search_result', array( 'onSubmit' => 'javascript: return GoogleCheck();' ) )?>
					<div class="searchType">
						<input name="search_type" id="search_site" value="search_site" type="radio" checked="checked" /><label for="search_site"><?= $this->lang->line('site') ?></label>
						<input name="search_type" id="search_google" value="search_google" type="radio" /><label for="search_google"><?= $this->lang->line('google') ?></label>
					</div>
					<div>
						<input name="search_text" id="search_text" type="text" class="text" size="26" />
					</div>
					<div class="seacrhChoice">
						<input name="search_post" type="checkbox" checked="checked" /><?= $this->lang->line('post') ?>
					</div>
					<div class="seacrhChoice">
						<input name="search_category" type="checkbox" /><?= $this->lang->line('category') ?>
					</div>
					<div class="seacrhChoice">
						<input name="search_comment" type="checkbox" /><?= $this->lang->line('comment') ?>
					</div>

					<? if ( empty($this->aSystemVar['module_name']) ) : ?>
					<div class="seacrhChoice">
						<input name="search_user" type="checkbox" /><?= $this->lang->line('user') ?>
					</div>
					<? endif; ?>
					<div class="clearBoth"></div>
					<div class="searchSubmit textCenter"><input type="image" src="<?= $this->config->item('design_pic_url') ?>submit_button.gif" class="submit" /></div>
					<div class="clearBoth"></div>
				<?=form_close()?>
			</div><!-- [ End ] Search Block -->
		</div>
		<div class="clearBoth"></div>
	
		<div>