<?php
//
// +----------------------------------------------------------------------+
// |zen-cart Open Source E-commerce                                       |
// +----------------------------------------------------------------------+
// | Copyright (c) 2003 The zen-cart developers                           |
// |                                                                      |
// | http://www.zen-cart.com/index.php                                    |
// |                                                                      |
// | Portions Copyright (c) 2003 osCommerce                               |
// +----------------------------------------------------------------------+
// | This source file is subject to version 2.0 of the GPL license,       |
// | that is bundled with this package in the file LICENSE, and is        |
// | available through the world-wide-web at the following url:           |
// | http://www.zen-cart.com/license/2_0.txt.                             |
// | If you did not receive a copy of the zen-cart license and are unable |
// | to obtain it through the world-wide-web, please send a note to       |
// | license@zen-cart.com so we can mail you a copy immediately.          |
// +----------------------------------------------------------------------+
// $Id: tpl_footer.php,v 1.1.1.1 2004/09/01 04:47:53 shidairiki Exp $
//

  // this file can be copied to /templates/your_template_dir/pagename
  // example: to override the privacy page
  // make a directory /templates/my_template/privacy
  // copy /templates/templates_defaults/common/tpl_footer.php to /templates/my_template/privacy/tpl_footer.php
  // to override the global settings and turn off the footer un-comment the following line:

  // $flag_disable_footer = true;

if (!$flag_disable_footer) {
?>
    <table border="0" width="100%" cellspacing="0" cellpadding="0">
      <tr class="footertop">
        <td class="footertop" align="center">&nbsp;|&nbsp;<a href="<?php echo zen_href_link(FILENAME_DEFAULT, '', 'NONSSL'); ?>"><?php echo HEADER_TITLE_CATALOG; ?></a>&nbsp;|&nbsp;</td>
      </tr>
    </table>
    <table border="0" width="100%" cellspacing="0" cellpadding="0" class="footer">
<?php
if (SHOW_FOOTER_IP == '1') {
?>
      <tr>
        <td class="footerbottom"><?php echo TEXT_YOUR_IP_ADDRESS . '  ' . $_SERVER['REMOTE_ADDR']; ?></td>
      </tr>
<?php
}
?>
<?php
  if ($banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET5)) {
    if ($banner->RecordCount() > 0) {
?>
      <tr>
        <td align="center"><div class="banners"><?php echo zen_display_banner('static', $banner); ?></div></td>
      </tr>
<?php
    }
  }
?>
      <tr>
        <td class="footerbottom"><?php echo FOOTER_TEXT_BODY; ?></td>
      </tr>
    </table>
  </td></tr>
<?php
  if ($banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET6)) {
    if ($banner->RecordCount() > 0) {
?>
  <tr>
    <td align="center"><div class="banners"><?php echo zen_display_banner('static', $banner); ?></div></td>
  </tr>
<?php
    }
  }
?>
<?php
  if (DISPLAY_PAGE_PARSE_TIME == 'true') {
?>
  <tr>
    <td align="center"><div>Parse Time: <?php echo $parse_time; ?> - Number of Queries: <?php echo $db->queryCount(); ?> - Query Time: <?php echo $db->queryTime(); ?></div></td>
  </tr>
<?php
  }
?>
<?php
} // flag_disable_footer
?>
</table>