<?php require( DIR_TEMPLATE.$this->config->get('config_template')."/template/common/config.tpl" );
    $themeConfig = $this->config->get( 'themecontrol' );

    // echo '<pre>'.print_r( $themeConfig, 1);die;
?>
<?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>
	           
	<style>	
		.mapa{
			text-align:center;
		}
		
		.mapa .contact-info .content{
			overflow:hidden !important;
		}
		
        .content iframe{
	       width: <?php echo $this->config->get('config_futura_width_mapa')."px"; ?>;
           height: <?php echo $this->config->get('config_futura_height_mapa')."px"; ?>; 
        } 
    </style>			   
			   
    <div class="mapa">
	<?php
		if($this->config->get('config_futura_mapa_status')){             
			echo "<div class='contact-info'> <div class='content'>".html_entity_decode($text_mapa)."</div></div>";
		}    
	?>
    </div>

       
  <form action="<?php echo $action; ?>" method="post" enctype="multipart/form-data">
	<div class="row-fluid">
    <div class="contact-info span5">
    <h2><?php echo $text_location; ?></h2>
      <div class="contact-address">
        <p><?php echo $store; ?></p>
		<ul><li><i class="fa fa-map-marker"></i><span><b><?php echo $text_address; ?></b><br />
        <?php echo $address; ?></span></li>
        <?php if ($telephone) { ?>
        <li><i class="fa fa-phone"></i><span><b><?php echo $text_telephone; ?></b><br />
        <?php echo $telephone; ?></span></li>
        <?php } ?>
        <?php if ($fax) { ?>
        <li><i class="fa fa-hdd-o"></i><span><b><?php echo $text_fax; ?></b><br />
        <?php echo $fax; ?></span></li>
        <?php } ?>
		</ul>
      </div>
	
	  <?php  if(  isset($themeConfig['contact_customhtml']) && isset($themeConfig['contact_customhtml'][$this->config->get('config_language_id')]) && trim($themeConfig['contact_customhtml'][$this->config->get('config_language_id')]) ){ ?>
        <div class="contact-customhtml">
            <?php echo html_entity_decode(($themeConfig['contact_customhtml'][$this->config->get('config_language_id')])); ?>
        </div>
        <?php } ?> 

    </div>
    <div class="contact-form span7">
    <h2><?php echo $text_contact; ?></h2>
    <b><?php echo $entry_name; ?></b><br />
    <input type="text" name="name" value="<?php echo $name; ?>" style="height: 26px; line-height: 22px; background: #fff; border: 1px solid #dcdcdc; box-shadow: none; border-radius: 0; padding: 4px 5px 5px; margin-left: 0px; margin-right: 0px; width:70%;" />
    <br />
    <?php if ($error_name) { ?>
    <span class="error"><?php echo $error_name; ?></span>
    <?php } ?>
    <br />
    <b><?php echo $entry_email; ?></b><br />
    <input type="text" name="email" value="<?php echo $email; ?>" style="height: 26px; line-height: 22px; background: #fff; border: 1px solid #dcdcdc; box-shadow: none; border-radius: 0; padding: 4px 5px 5px; margin-left: 0px; margin-right: 0px; width:70%;" />
    <br />
    <?php if ($error_email) { ?>
    <span class="error"><?php echo $error_email; ?></span>
    <?php } ?>
    <br />
    <b><?php echo $entry_enquiry; ?></b><br />
    <textarea name="enquiry" cols="40" rows="10" style="width: 99%;"><?php echo $enquiry; ?></textarea>
    <br />
    <?php if ($error_enquiry) { ?>
    <span class="error"><?php echo $error_enquiry; ?></span>
    <?php } ?>
    <br />
    <b><?php echo $entry_captcha; ?></b><br />
    <input type="text" name="captcha" value="<?php echo $captcha; ?>" />
    <img src="index.php?route=information/contact/captcha" alt="" />
    <?php if ($error_captcha) { ?>
    <span class="error"><?php echo $error_captcha; ?></span>
    <?php } ?>
    <div class="clearfix"></div>
    <div class="buttons">
      <div class="right"><input type="submit" value="<?php echo $button_continue; ?>" class="button" /></div>
    </div>
    </div>
	</div>
  </form>
  <?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; ?>