[ Index ] |
|
Code source de Zen Cart E-Commerce Shopping Cart 1.3.7.1 |
1 <?php 2 /** 3 * checkout_new_address.php 4 * 5 * @package modules 6 * @copyright Copyright 2003-2006 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 3012 2006-02-11 16:34:02Z wilt $ 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 26 while (!$addresses->EOF) { 27 $format_id = zen_get_address_format_id($addresses->fields['country_id']); 28 $radio_buttons++; 29 $addresses->MoveNext(); 30 } 31 // run again so available for listing loop 32 $addresses = $db->Execute($addresses_query); 33 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Mon Nov 26 16:45:43 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |