[ Index ]
 

Code source de Zen Cart E-Commerce Shopping Cart 1.3.7.1

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/includes/templates/template_default/common/ -> tpl_footer.php (source)

   1  <?php
   2  /**

   3   * Common Template - tpl_footer.php

   4   *

   5   * this file can be copied to /templates/your_template_dir/pagename<br />

   6   * example: to override the privacy page<br />

   7   * make a directory /templates/my_template/privacy<br />

   8   * copy /templates/templates_defaults/common/tpl_footer.php to /templates/my_template/privacy/tpl_footer.php<br />

   9   * to override the global settings and turn off the footer un-comment the following line:<br />

  10   * <br />

  11   * $flag_disable_footer = true;<br />

  12   *

  13   * @package templateSystem

  14   * @copyright Copyright 2003-2005 Zen Cart Development Team

  15   * @copyright Portions Copyright 2003 osCommerce

  16   * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0

  17   * @version $Id: tpl_footer.php 4821 2006-10-23 10:54:15Z drbyte $

  18   */
  19  require(DIR_WS_MODULES . zen_get_module_directory('footer.php'));
  20  ?>
  21  
  22  <?php
  23  if (!isset($flag_disable_footer) || !$flag_disable_footer) {
  24  ?>
  25  
  26  <!--bof-navigation display -->
  27  <div id="navSuppWrapper">
  28  <div id="navSupp">
  29  <ul>
  30  <li><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?php echo HEADER_TITLE_CATALOG; ?></a></li>
  31  <?php if (EZPAGES_STATUS_FOOTER == '1' or (EZPAGES_STATUS_FOOTER == '2' and (strstr(EXCLUDE_ADMIN_IP_FOR_MAINTENANCE, $_SERVER['REMOTE_ADDR'])))) { ?>
  32  <li><?php require($template->get_template_dir('tpl_ezpages_bar_footer.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_ezpages_bar_footer.php'); ?></li>
  33  <?php } ?>
  34  </ul>
  35  </div>
  36  </div>
  37  <!--eof-navigation display -->
  38  
  39  <!--bof-ip address display -->
  40  <?php
  41  if (SHOW_FOOTER_IP == '1') {
  42  ?>
  43  <div id="siteinfoIP"><?php echo TEXT_YOUR_IP_ADDRESS . '  ' . $_SERVER['REMOTE_ADDR']; ?></div>
  44  <?php
  45  }
  46  ?>
  47  <!--eof-ip address display -->
  48  
  49  <!--bof-banner #5 display -->
  50  <?php
  51    if (SHOW_BANNERS_GROUP_SET5 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET5)) {
  52      if ($banner->RecordCount() > 0) {
  53  ?>
  54  <div id="bannerFive" class="banners"><?php echo zen_display_banner('static', $banner); ?></div>
  55  <?php
  56      }
  57    }
  58  ?>
  59  <!--eof-banner #5 display -->
  60  
  61  <!--bof- site copyright display -->
  62  <div id="siteinfoLegal" class="legalCopyright"><?php echo FOOTER_TEXT_BODY; ?></div>
  63  <!--eof- site copyright display -->
  64  
  65  <?php
  66  } // flag_disable_footer

  67  ?>


Généré le : Mon Nov 26 16:45:43 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics