<?php
/**
* Template designed by pixemus.com
* pixemus.com - Free ecommerce templates and design services
*
* @copyright Copyright 2003-2006 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: index.php 6550 2007-07-05 03:54:54Z drbyte $
*/    
?>

<div id="top_nav">
<div id="tab_nav">
<!--<div class="top-nav-left"></div>-->
<div class="top-nav-right"></div>
	<ul class="list-style-none">
		<li class="home-link"><a href="<?php echo '' . HTTP_SERVER . DIR_WS_CATALOG;?>"><?php echo TOP_MENU_HOME;?></a></li>

<li class="home-link"><a href="pdf/cennik.pdf" target="_blank"><?php echo TOP_MENU_CENNIK;?></a></li>

<li class="home-link"><a href="index.php?main_page=page&id=8"><?php echo TOP_MENU_PDF;?></a></li>

<?php
if ($current_page_base == 'account' || $current_page_base == 'login' || $current_page_base == 'account_edit' || $current_page_base == 'address_book' || $current_page_base == 'account_password' || $current_page_base == 'account_newsletters' || $current_page_base == 'account_notifications') { $active = 'tab_active'; 
	} else { $active = '';
}?>
		<!--- <li class="home-link"><a href="index.php?main_page=page&id=5"><?php echo TOP_MENU_GALERIA;?></a></li> -->
		
		<li class="home-link"><a href="http://galeria.alseed.pl" target="_blank"><?php echo TOP_MENU_GALERIA;?></a></li>
		
		<li class="home-link"><a href="index.php?main_page=contact_us"><?php echo TOP_MENU_CONTACT_US;?></a></li>

<?php
if ($current_page_base == 'shopping_cart') { $active = 'tab_active'; 
	} else { $active = '';
}?>
		<li class="<?php echo $active;?>"><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><?php echo TOP_MENU_VIEW_CART;?></a></li>		
	</ul>
</div>

</div>


<!-- tools section -->
<div id="tools_wrapper" class="align-center">
<div class="tools-nav-left"></div>
<div class="tools-nav-right"></div>

		<div class="float-left td-search-header">
			<div class="search-header float-left">
	            <?php require($template->get_template_dir('tpl_search_header.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_search_header.php');?>
	    		<div class="advanced_search float-left">
	                <a href="index.php?main_page=advanced_search"><?php echo HEADER_ADVANCED_SEARCH; ?></a>
	            </div>
			</div>
	    </div>
		<div align="right" class="float-right td-languages">

			<!-- header cart section -->
			<table align="right" class="align-center cart-header">
			<tr>
				<td>
				<?php require($template->get_template_dir('tpl_shopping_cart_header.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_shopping_cart_header.php'); 
				echo $content;
				/*require($template->get_template_dir('tpl_box_header.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_box_header.php');*/?>		
				</td>
				<?php if ($_SESSION['cart']->count_contents() != 0) { ?>
				<td>&nbsp;|</td>
				<td class="blue-link">
				<!--	<a href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>"><?php echo HEADER_TITLE_CHECKOUT; ?></a> -->
				<a href="<?php echo zen_href_link(FILENAME_NO_ACCOUNT, '', 'SSL'); ?>"><?php echo HEADER_TITLE_CHECKOUT; ?></a>
				</td>
				<?php }?>
			</tr>
			</table>
    	</div>

</div>
<!-- /tools section -->

<div class="clearBoth"></div>