<?php require( DIR_TEMPLATE.$this->config->get('config_template')."/template/common/config.tpl" ); ?>
<?php echo $header; ?>
<div id="breadcrumb">
	<div class="container">
		<div class="breadcrumb">
		<?php foreach ($breadcrumbs as $breadcrumb) { ?>
		<?php echo $breadcrumb['separator']; ?><a href="<?php echo $breadcrumb['href']; ?>"><?php echo $breadcrumb['text']; ?></a>
		<?php } ?>
		</div>

	</div>
</div>
<div id="group-content">
<?php if( $SPAN[0] ): ?>
	<div class="span<?php echo $SPAN[0];?>">
		<?php echo $column_left; ?>
	</div>
<?php endif; ?> 
<div class="span<?php echo $SPAN[1];?>">
<div id="content"><?php echo $content_top; ?>
  
		<h1 class="title-category"><?php echo $heading_title; ?></h1>
  <div class="sitemap-info">
	<div class="row-fluid content">
			<div class="span6">
			<div class="inner">
			  <ul>
				<?php foreach ($categories as $category_1) { ?>
				<li><a href="<?php echo $category_1['href']; ?>"><?php echo $category_1['name']; ?></a>
				  <?php if ($category_1['children']) { ?>
				  <ul>
					<?php foreach ($category_1['children'] as $category_2) { ?>
					<li><a href="<?php echo $category_2['href']; ?>"><?php echo $category_2['name']; ?></a>
					  <?php if ($category_2['children']) { ?>
					  <ul>
						<?php foreach ($category_2['children'] as $category_3) { ?>
						<li><a href="<?php echo $category_3['href']; ?>"><?php echo $category_3['name']; ?></a></li>
						<?php } ?>
					  </ul>
					  <?php } ?>
					</li>
					<?php } ?>
				  </ul>
				  <?php } ?>
				</li>
				<?php } ?>
			  </ul>
			</div>
			</div>
			<div class="span6">
				<div class="inner">
				  <ul>
					<li><a href="<?php echo $special; ?>"><?php echo $text_special; ?></a></li>
					<li><a href="<?php echo $account; ?>"><?php echo $text_account; ?></a>
					  <ul>
						<li><a href="<?php echo $edit; ?>"><?php echo $text_edit; ?></a></li>
						<li><a href="<?php echo $password; ?>"><?php echo $text_password; ?></a></li>
						<li><a href="<?php echo $address; ?>"><?php echo $text_address; ?></a></li>
						<li><a href="<?php echo $history; ?>"><?php echo $text_history; ?></a></li>
						<li><a href="<?php echo $download; ?>"><?php echo $text_download; ?></a></li>
					  </ul>
					</li>
					<li><a href="<?php echo $cart; ?>"><?php echo $text_cart; ?></a></li>
					<li><a href="<?php echo $checkout; ?>"><?php echo $text_checkout; ?></a></li>
					<li><a href="<?php echo $search; ?>"><?php echo $text_search; ?></a></li>
					<li><?php echo $text_information; ?>
					  <ul>
						<?php foreach ($informations as $information) { ?>
						<li><a href="<?php echo $information['href']; ?>"><?php echo $information['title']; ?></a></li>
						<?php } ?>
						<li><a href="<?php echo $contact; ?>"><?php echo $text_contact; ?></a></li>
					  </ul>
					</li>
				  </ul>
				</div>
			</div>	
		</div>	
  </div>
  <?php echo $content_bottom; ?></div>
</div> 
<?php if( $SPAN[2] ): ?>
<div class="span<?php echo $SPAN[2];?>">	
	<?php echo $column_right; ?>
</div>
<?php endif; ?>
</div>
<?php echo $footer; ?>