<?php
/**
  Block div header, utilisé par tous les templates sauf popup
  @licence GPL 2005-2010  The osCSS developers - osCSS Open Source E-commerce
  @portion code Copyright (c) 2002 osCommerce
  @package osCSS-2 <www http://www.oscss.org>
  @version 2.1.0
  @date  26/09/10, 21:14
  @author oscim <mail aurelien@oscim.fr> <www http://www.oscim.fr>
  @encode UTF-8
*/
global $customer_id;
$ACA_generic=generic::getInstance();
?>

  <div class="top_bar">
    <?php $boxe =$page->oscss_boxes->_return('Widget_search_suggest'); ?>
    <div id="<?php echo $boxe->name_clean; ?>Box" class="<?php echo $boxe->name_clean; ?>">
      <?php include('boxe.php'); ?>
    </div>

    <div class="languages">
      <?php $boxe =$page->oscss_boxes->_return('languages'); ?>
      <?php include('boxe.php'); ?>
    </div>

  </div>

  <div id="header">

    <div id="logo">
      <h1><a href="<?php echo tep_href_link() ?>"><img src="<?php echo STORE_LOGO ?>" alt="<?php echo STORE_NAME ?>" title="<?php echo STORE_NAME ?>" /></a></h1>
    </div>

    <div class="oferte_content">
      <div class="top_divider"><img src="<?php echo DIR_WS_TEMPLATES ?>electronix/images/header_divider.png" alt="divider" title="" width="1" height="164" /></div>
 	<div class="oferta">
	  <?php if(is_object($res=$ACA_generic->display_view($customer_id,'cat_home')) ) :?>
	    <?php echo unhtmlentities($res->content); ?>
	    <a href="details.html" class="details">details</a>
	  <?php endif; ?>
	</div>
      <div class="top_divider"><img src="<?php echo DIR_WS_TEMPLATES ?>electronix/images/header_divider.png" alt="divider" title="" width="1" height="164" /></div>

    </div>

  </div>



  <div id="menu_tab">
    <div class="left_menu_corner"></div>
      <ul class="menu">
	<li><a href="<?php echo tep_href_link(FILENAME_DEFAULT) ?>" class="nav1"><?php echo __('home') ?></a></li>
	<li class="divider"></li>
	<li><a href="<?php echo tep_href_link(FILENAME_SMALL_PRICE) ?>" class="nav2"><?php echo PAGE_SMALL_PRICE ?></a></li>
	<li class="divider"></li>
	<li>
	  <?php if(defined('FILENAME_WISHLIST')) : ?>
	    <a href="<?php echo tep_href_link(FILENAME_WISHLIST) ?>" class="nav3"><?php echo __('wishlist') ?></a></li>
	  <?php else : ?>
	    <a href="<?php echo tep_href_link(FILENAME_SPECIALS) ?>" class="nav3"><?php echo PAGE_SPECIALS ?></a></li>
	  <?php endif; ?>
	<li class="divider"></li>
	<li><a id="GoLogin" href="<?php echo tep_href_link(FILENAME_ACCOUNT) ?>" class="nav4"><?php echo PAGE_ACCOUNT ?></a></li>
	<li class="divider"></li>
	<li><a href="<?php echo tep_href_link(FILENAME_CONTENT, 'content=1') ?>" class="nav5"><?php echo __('shipping') ?> </a></li>
	<li class="divider"></li>
	<li><a href="<?php echo tep_href_link(FILENAME_CONTACT_US) ?>" class="nav6"><?php echo BOX_INFORMATION_CONTACT ?></a></li>
	<li class="divider"></li>
	<li class="currencies">
	  <?php $boxe =$page->oscss_boxes->_return('currencies'); ?>
	  <?php include('boxe.php'); ?>
	</li>
      </ul>

    <div class="right_menu_corner"></div>
  </div>

  <div class="crumb_navigation">
    <?php echo __('Navigation:').$page->draw_breadcrumb();  ?>
  </div>