[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 源代码 checkout_address_book.php

Zen Cart 源代码 checkout_address_book.php




下载文件

文件名: checkout_address_book.php
文件类型: PHP文件
文件大小: 1.12 KiB
MD5: dfb848f5c4a0aa079d9fbc3b49d891c1

checkout_address_book.php - 关闭高亮
  1. <?php
  2. /**
  3.  * checkout_address_book.php
  4.  *
  5.  * @package modules
  6.  * @copyright Copyright 2003-2009 Zen Cart Development Team
  7.  * @copyright Portions Copyright 2003 osCommerce
  8.  * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
  9.  * @version $Id: checkout_address_book.php 13799 2009-07-08 02:08:33Z drbyte $
  10.  */
  11. if (!defined('IS_ADMIN_FLAG')) {
  12.   die('Illegal Access');
  13. }
  14. $radio_buttons = 0;
  15.  
  16. $addresses_query = "select address_book_id, entry_firstname as firstname, entry_lastname as lastname,
  17.                                 entry_company as company, entry_street_address as street_address,
  18.                                 entry_suburb as suburb, entry_city as city, entry_postcode as postcode,
  19.                                 entry_state as state, entry_zone_id as zone_id,
  20.                                 entry_country_id as country_id
  21.                          from " . TABLE_ADDRESS_BOOK . "
  22.                          where customers_id = '" . (int)$_SESSION['customer_id'] . "'";
  23.  
  24. $addresses = $db->Execute($addresses_query);
  25. if (!$addresses->EOF) $radio_buttons = $addresses->recordCount();
  26. ?>