PHP Code:
<?php
/**
* Common Template - tpl_header.php
*
* this file can be copied to /templates/your_template_dir/pagename<br />
* example: to override the privacy page<br />
* make a directory /templates/my_template/privacy<br />
* copy /templates/templates_defaults/common/tpl_footer.php to /templates/my_template/privacy/tpl_header.php<br />
* to override the global settings and turn off the footer un-comment the following line:<br />
* <br />
* $flag_disable_header = true;<br />
*
* @package templateSystem
* @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: tpl_header.php 4813 2006-10-23 02:13:53Z drbyte $
*/
?>
<?php
// Display all header alerts via messageStack:
/**
if ($messageStack->size('header') > 0) {
echo $messageStack->output('header');
}
if (isset($_GET['error_message']) && zen_not_null($_GET['error_message'])) {
echo htmlspecialchars(urldecode($_GET['error_message']));
}
if (isset($_GET['info_message']) && zen_not_null($_GET['info_message'])) {
echo htmlspecialchars($_GET['info_message']);
} else {
}
*/
?>
<!--bof-header logo and navigation display-->
<?php
if (!isset($flag_disable_header) || !$flag_disable_header) {
?>
<div id="headerWrapper">
<!--bof-navigation display-->
<div id="navMainWrapper">
<div id="navMain">
<ul class="back">
<li><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?php echo HEADER_TITLE_CATALOG; ?></a></li>
<?php if ($_SESSION['customer_id']) { ?>
<li><a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGOFF; ?></a></li>
<li><a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a></li>
<?php
} else {
if (STORE_STATUS == '0') {
?>
<li><a href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGIN; ?></a></li>
<?php } } ?>
<?php if ($_SESSION['cart']->count_contents() != 0) { ?>
<li><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a></li>
<li><a href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>"><?php echo HEADER_TITLE_CHECKOUT; ?></a></li>
<?php }?>
</ul>
</div>
<div id="navMainSearch"><?php require(DIR_WS_MODULES . 'sideboxes/search_header.php'); ?></div>
<br class="clearBoth" />
</div>
<!--eof-navigation display-->
<script type="text/javascript" src="images/stmenu.js"></script>
<div id="logo">
<table border="0" width="850" id="table1">
<tr>
<td width="840" colspan="2">
<a href="http://www.footprintsglasgow.co.uk"><img src="http://www.footprintsglasgow.co.uk/header2.jpg"></a>
</td>
</tr>
<tr>
<td width="500"><script type="text/javascript">
<!--
stm_bm(["menu61b2",830,"","images/blank.gif",0,"","",0,0,250,0,1000,1,0,0,"","",0,0,1,2,"default","hand",""],this);
stm_bp("p0",[0,4,0,0,0,0,0,0,100,"",-2,"",-2,50,0,0,"#799BD8","transparent","",3,0,0,"#000000"]);
stm_ai("p0i0",[0,"Home","","",-1,-1,0,"http://footprintsglasgow.co.uk/","_self","","","","",0,0,0,"","",0,0,0,1,1,"#FFFFF7",1,"#FFFFF7",1,"images/bg_01.gif","images/bg_04.gif",0,0,0,0,"#FFFFF7","#000000","#FFFFFF","#009933","bold 8pt Verdana","bold 8pt Verdana",0,0],80,24);
stm_aix("p0i1","p0i0",[0,"Company","","",-1,-1,0,"#","_self","","","","",0,0,0,"","",-1,-1],80,24);
stm_bp("p1",[1,4,0,0,4,0,10,0,100,"",-2,"",-2,80,0,0,"#799BD8","#CCCCCC","",0,1,1,"#CCCCCC #B2B2B2 #B2B2B2"]);
stm_aix("p1i0","p0i0",[0,"Shipping & Returns ","","",-1,-1,0,"http://footprintsglasgow.co.uk/index.php?main_page=shippinginfo","_self","","","images/icon_01.gif","images/icon_01.gif",10,7,0,"","",0,0,0,0,1,"#CCCCCC",0,"#F2F2F2",0,"","",0,0,0,0,"#FFFFCC","#CCCC00","#000000","#009900","8pt Verdana","8pt Verdana"],80,18);
stm_aix("p1i1","p1i0",[0,"Privacy Notice","","",-1,-1,0,"http://footprintsglasgow.co.uk/index.php?main_page=privacy","_self"],80,18);
stm_aix("p1i2","p1i0",[0,"Terms & Conditions","","",-1,-1,0,"http://footprintsglasgow.co.uk/index.php?main_page=conditions","_self"],80,18);
stm_mc("p1",[5,"#000000",1,0,"",0]);
stm_ep();
stm_aix("p0i2","p0i1",[0,"Products"],80,24);
stm_bpx("p2","p1",[]);
stm_aix("p2i0","p1i0",[0,"Specials","","",-1,-1,0,"http://footprintsglasgow.co.uk/index.php?main_page=specials","_self","","","images/icon_01.gif","icon_01.gif",10,7,0,"","",0,0,0,0,1,"#B7B7B7",1,"#F2F2F2",0,"","",0,0,0,0,"#FFFFCC","#CCCC00","#333333"],80,18);
stm_aix("p2i1","p2i0",[0,"New Products","","",-1,-1,0,"http://footprintsglasgow.co.uk/index.php?main_page=products_new","_self","","","images/icon_01.gif","icon_01.gif",10,7,0,"","",0,0,0,0,1,"#B7B7B7",1,"#F2F2F2",0,"","",0,0,0,0,"#FFFFCC","#CCCC00","#333333"],80,18);
stm_aix("p2i2","p2i1",[0,"Featured Products","","",-1,-1,0,"http://footprintsglasgow.co.uk/index.php?main_page=featured_products","_self","","","images/icon_01.gif","icon_01.gif",10,7,0,"","",0,0,0,0,1,"#B7B7B7",1,"#F2F2F2",0,"","",0,0,0,0,"#FFFFCC","#CCCC00","#333333"],80,18);
stm_aix("p2i3","p2i0",[0,"All Products","","",-1,-1,0,"http://footprintsglasgow.co.uk/index.php?main_page=products_all","_self","","","images/icon_01.gif","icon_01.gif",10,7,0,"","",0,0,0,0,1,"#B7B7B7",1,"#F2F2F2",0,"","",0,0,0,0,"#FFFFCC","#CCCC00","#333333"],80,18);
stm_ep();
stm_aix("p0i3","p0i2",[0,"Clinic"],80,24);
stm_bpx("p3","p1",[]);
stm_aix("p3i0","p2i0",[0,"Travel Clinic","","",-1,-1,0,"http://footprintsglasgow.com/travel_clinic.htm","_blank","","","images/icon_01.gif","images/icon_01.gif",10,7,0,"","",0,0,0,0,1,"#FFCC00"],0,18);
stm_aix("p3i1","p3i0",[0,"Appointments","","",-1,-1,0,"http://footprintsglasgow.com/appointments.htm","_blank","","","images/icon_01.gif","images/icon_01.gif",10,7,0,"","",0,0,0,0,1,"#FFCC00"],0,18);
stm_mc("p3",[3,"#000000",1,0,"",3]);
stm_ep();
stm_aix("p0i4","p0i0",[0,"Search","","",-1,-1,0,"http://footprintsglasgow.co.uk/index.php?main_page=advanced_search","_self","","","","",0,0,0,"","",0,0,0,1,1,"#FFFFF7",1,"#FFFFF7",1,"images/bg_02.gif","images/bg_05.gif"],80,24);
stm_aix("p0i5","p0i1",[0,"Contact"],80,24);
stm_bpx("p4","p1",[]);
stm_aix("p4i0","p3i1",[0,"Contact Us","","",-1,-1,0,"http://footprintsglasgow.co.uk/index.php?main_page=contact_us","_self"],80,18);;
stm_aix("p4i1","p3i1",[0,"Newsletter Unsubscribe","","",-1,-1,0,"http://footprintsglasgow.co.uk/index.php?main_page=unsubscribe","_self"],80,18);
stm_aix("p4i2","p3i1",[0,"Link Partners","","",-1,-1,0,"http://footprintsglasgow.co.uk/index.php?main_page=link_partners","_self"],80,18);
stm_ep();
stm_ep();
stm_em();
//-->
</script></td>
<td width="340">
<img border="0" src="images/cc.jpg"></td>
</tr>
</table>
</div>
<br class="clearBoth" />
<!--
-->
<!--eof-header logo and navigation display-->
<!--bof-optional categories tabs navigation display-->
<?php require($template->get_template_dir('tpl_modules_categories_tabs.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_categories_tabs.php'); ?><!--eof-optional categories tabs navigation display--><!--bof-header ezpage links--><?php if (EZPAGES_STATUS_HEADER == '1' or (EZPAGES_STATUS_HEADER == '2' and (strstr(EXCLUDE_ADMIN_IP_FOR_MAINTENANCE, $_SERVER['REMOTE_ADDR'])))) { ?><?php require($template->get_template_dir('tpl_ezpages_bar_header.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_ezpages_bar_header.php'); ?>
<?php } ?>
<!--eof-header ezpage links-->
</div>
<?php } ?>