[phpBB Debug] PHP Warning: in file [ROOT]/includes/crs/crs_misc_functions.php on line 37: mime_content_type(): Empty filename or path
[phpBB Debug] PHP Warning: in file [ROOT]/includes/crs/crs_misc_functions.php on line 37: mime_content_type(): Empty filename or path
Zen Cart 源代码 tpl_header.php

Zen Cart 源代码 tpl_header.php




下载文件

文件名: tpl_header.php
文件类型: PHP文件
文件大小: 2.38 KiB
MD5: a8dfc0f966c8de38f08066e98a906b5f

tpl_header.php - 关闭高亮
  1. <?php
  2. /**
  3. * Template designed by 12leaves.com
  4. * 12leaves.com - Free ecommerce templates and design services
  5. *
  6. * Common Template
  7. *
  8. * @package templateSystem
  9. * @copyright Copyright 2009-2010 12leaves.com
  10. * @copyright Copyright 2003-2006 Zen Cart Development Team
  11. * @copyright Portions Copyright 2003 osCommerce
  12. * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
  13. * @version $Id: tpl_header.php 4813 2006-10-23 02:13:53Z drbyte $
  14. */
  15. ?>
  16.  
  17. <?php
  18.   // Display all header alerts via messageStack:
  19.   if ($messageStack->size('header') > 0) {
  20.     echo $messageStack->output('header');
  21.   }
  22.   if (isset($_GET['error_message']) && zen_not_null($_GET['error_message'])) {
  23.   echo htmlspecialchars(urldecode($_GET['error_message']));
  24.   }
  25.   if (isset($_GET['info_message']) && zen_not_null($_GET['info_message'])) {
  26.    echo htmlspecialchars($_GET['info_message']);
  27. } else {
  28.  
  29. }
  30.  
  31. ?>
  32.  
  33.  
  34. <!--bof-header logo and navigation display-->
  35. <?php
  36. if (!isset($flag_disable_header) || !$flag_disable_header) {
  37. ?>
  38.  
  39. <div id="headerWrapper">
  40.  
  41. <!--bof-header ezpage links-->
  42. <div class="topper-menu float-right">
  43. <?php if (EZPAGES_STATUS_HEADER == '1' or (EZPAGES_STATUS_HEADER == '2' and (strstr(EXCLUDE_ADMIN_IP_FOR_MAINTENANCE, $_SERVER['REMOTE_ADDR'])))) { ?>
  44. <?php require($template->get_template_dir('tpl_ezpages_bar_header.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_ezpages_bar_header.php'); ?>
  45. <?php } ?>
  46. </div>
  47. <!--eof-header ezpage links-->
  48.  
  49.  
  50. <!--bof-navigation display-->
  51. <!--eof-navigation display-->
  52.  
  53. <!--bof-branding display-->
  54. <div id="logoWrapper">
  55.     <div id="logo"><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT) . '</a>'; ?></div>
  56. </div>
  57. <div class="clearBoth" /></div>
  58. <!--eof-branding display-->
  59.  
  60. <!--eof-header logo and navigation display-->
  61.  
  62. <!--bof-optional categories tabs navigation display-->
  63. <?php /*require($template->get_template_dir('tpl_modules_categories_tabs.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_categories_tabs.php');*/ ?>
  64. <!--eof-optional categories tabs navigation display-->
  65.  
  66. <?php require($template->get_template_dir('tpl_top_nav.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_top_nav.php'); ?>
  67.  
  68.  
  69. </div>
  70. <?php } ?>


cron