[ Index ]
 

Code source de osCommerce 2.2ms2-060817

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/catalog/ -> checkout_shipping_address.php (source)

   1  <?php
   2  /*
   3    $Id: checkout_shipping_address.php,v 1.15 2003/06/09 23:03:53 hpdl Exp $
   4  
   5    osCommerce, Open Source E-Commerce Solutions
   6    http://www.oscommerce.com
   7  
   8    Copyright (c) 2003 osCommerce
   9  
  10    Released under the GNU General Public License
  11  */
  12  
  13    require ('includes/application_top.php');
  14  
  15  // if the customer is not logged on, redirect them to the login page
  16    if (!tep_session_is_registered('customer_id')) {
  17      $navigation->set_snapshot();
  18      tep_redirect(tep_href_link(FILENAME_LOGIN, '', 'SSL'));
  19    }
  20  
  21  // if there is nothing in the customers cart, redirect them to the shopping cart page
  22    if ($cart->count_contents() < 1) {
  23      tep_redirect(tep_href_link(FILENAME_SHOPPING_CART));
  24    }
  25  
  26    // needs to be included earlier to set the success message in the messageStack
  27    require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_CHECKOUT_SHIPPING_ADDRESS);
  28  
  29    require(DIR_WS_CLASSES . 'order.php');
  30    $order = new order;
  31  
  32  // if the order contains only virtual products, forward the customer to the billing page as
  33  // a shipping address is not needed
  34    if ($order->content_type == 'virtual') {
  35      if (!tep_session_is_registered('shipping')) tep_session_register('shipping');
  36      $shipping = false;
  37      if (!tep_session_is_registered('sendto')) tep_session_register('sendto');
  38      $sendto = false;
  39      tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL'));
  40    }
  41  
  42    $error = false;
  43    $process = false;
  44    if (isset($HTTP_POST_VARS['action']) && ($HTTP_POST_VARS['action'] == 'submit')) {
  45  // process a new shipping address
  46      if (tep_not_null($HTTP_POST_VARS['firstname']) && tep_not_null($HTTP_POST_VARS['lastname']) && tep_not_null($HTTP_POST_VARS['street_address'])) {
  47        $process = true;
  48  
  49        if (ACCOUNT_GENDER == 'true') $gender = tep_db_prepare_input($HTTP_POST_VARS['gender']);
  50        if (ACCOUNT_COMPANY == 'true') $company = tep_db_prepare_input($HTTP_POST_VARS['company']);
  51        $firstname = tep_db_prepare_input($HTTP_POST_VARS['firstname']);
  52        $lastname = tep_db_prepare_input($HTTP_POST_VARS['lastname']);
  53        $street_address = tep_db_prepare_input($HTTP_POST_VARS['street_address']);
  54        if (ACCOUNT_SUBURB == 'true') $suburb = tep_db_prepare_input($HTTP_POST_VARS['suburb']);
  55        $postcode = tep_db_prepare_input($HTTP_POST_VARS['postcode']);
  56        $city = tep_db_prepare_input($HTTP_POST_VARS['city']);
  57        $country = tep_db_prepare_input($HTTP_POST_VARS['country']);
  58        if (ACCOUNT_STATE == 'true') {
  59          if (isset($HTTP_POST_VARS['zone_id'])) {
  60            $zone_id = tep_db_prepare_input($HTTP_POST_VARS['zone_id']);
  61          } else {
  62            $zone_id = false;
  63          }
  64          $state = tep_db_prepare_input($HTTP_POST_VARS['state']);
  65        }
  66  
  67        if (ACCOUNT_GENDER == 'true') {
  68          if ( ($gender != 'm') && ($gender != 'f') ) {
  69            $error = true;
  70  
  71            $messageStack->add('checkout_address', ENTRY_GENDER_ERROR);
  72          }
  73        }
  74  
  75        if (strlen($firstname) < ENTRY_FIRST_NAME_MIN_LENGTH) {
  76          $error = true;
  77  
  78          $messageStack->add('checkout_address', ENTRY_FIRST_NAME_ERROR);
  79        }
  80  
  81        if (strlen($lastname) < ENTRY_LAST_NAME_MIN_LENGTH) {
  82          $error = true;
  83  
  84          $messageStack->add('checkout_address', ENTRY_LAST_NAME_ERROR);
  85        }
  86  
  87        if (strlen($street_address) < ENTRY_STREET_ADDRESS_MIN_LENGTH) {
  88          $error = true;
  89  
  90          $messageStack->add('checkout_address', ENTRY_STREET_ADDRESS_ERROR);
  91        }
  92  
  93        if (strlen($postcode) < ENTRY_POSTCODE_MIN_LENGTH) {
  94          $error = true;
  95  
  96          $messageStack->add('checkout_address', ENTRY_POST_CODE_ERROR);
  97        }
  98  
  99        if (strlen($city) < ENTRY_CITY_MIN_LENGTH) {
 100          $error = true;
 101  
 102          $messageStack->add('checkout_address', ENTRY_CITY_ERROR);
 103        }
 104  
 105        if (ACCOUNT_STATE == 'true') {
 106          $zone_id = 0;
 107          $check_query = tep_db_query("select count(*) as total from " . TABLE_ZONES . " where zone_country_id = '" . (int)$country . "'");
 108          $check = tep_db_fetch_array($check_query);
 109          $entry_state_has_zones = ($check['total'] > 0);
 110          if ($entry_state_has_zones == true) {
 111            $zone_query = tep_db_query("select distinct zone_id from " . TABLE_ZONES . " where zone_country_id = '" . (int)$country . "' and (zone_name like '" . tep_db_input($state) . "%' or zone_code like '%" . tep_db_input($state) . "%')");
 112            if (tep_db_num_rows($zone_query) == 1) {
 113              $zone = tep_db_fetch_array($zone_query);
 114              $zone_id = $zone['zone_id'];
 115            } else {
 116              $error = true;
 117  
 118              $messageStack->add('checkout_address', ENTRY_STATE_ERROR_SELECT);
 119            }
 120          } else {
 121            if (strlen($state) < ENTRY_STATE_MIN_LENGTH) {
 122              $error = true;
 123  
 124              $messageStack->add('checkout_address', ENTRY_STATE_ERROR);
 125            }
 126          }
 127        }
 128  
 129        if ( (is_numeric($country) == false) || ($country < 1) ) {
 130          $error = true;
 131  
 132          $messageStack->add('checkout_address', ENTRY_COUNTRY_ERROR);
 133        }
 134  
 135        if ($error == false) {
 136          $sql_data_array = array('customers_id' => $customer_id,
 137                                  'entry_firstname' => $firstname,
 138                                  'entry_lastname' => $lastname,
 139                                  'entry_street_address' => $street_address,
 140                                  'entry_postcode' => $postcode,
 141                                  'entry_city' => $city,
 142                                  'entry_country_id' => $country);
 143  
 144          if (ACCOUNT_GENDER == 'true') $sql_data_array['entry_gender'] = $gender;
 145          if (ACCOUNT_COMPANY == 'true') $sql_data_array['entry_company'] = $company;
 146          if (ACCOUNT_SUBURB == 'true') $sql_data_array['entry_suburb'] = $suburb;
 147          if (ACCOUNT_STATE == 'true') {
 148            if ($zone_id > 0) {
 149              $sql_data_array['entry_zone_id'] = $zone_id;
 150              $sql_data_array['entry_state'] = '';
 151            } else {
 152              $sql_data_array['entry_zone_id'] = '0';
 153              $sql_data_array['entry_state'] = $state;
 154            }
 155          }
 156  
 157          if (!tep_session_is_registered('sendto')) tep_session_register('sendto');
 158  
 159          tep_db_perform(TABLE_ADDRESS_BOOK, $sql_data_array);
 160  
 161          $sendto = tep_db_insert_id();
 162  
 163          if (tep_session_is_registered('shipping')) tep_session_unregister('shipping');
 164  
 165          tep_redirect(tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'));
 166        }
 167  // process the selected shipping destination
 168      } elseif (isset($HTTP_POST_VARS['address'])) {
 169        $reset_shipping = false;
 170        if (tep_session_is_registered('sendto')) {
 171          if ($sendto != $HTTP_POST_VARS['address']) {
 172            if (tep_session_is_registered('shipping')) {
 173              $reset_shipping = true;
 174            }
 175          }
 176        } else {
 177          tep_session_register('sendto');
 178        }
 179  
 180        $sendto = $HTTP_POST_VARS['address'];
 181  
 182        $check_address_query = tep_db_query("select count(*) as total from " . TABLE_ADDRESS_BOOK . " where customers_id = '" . (int)$customer_id . "' and address_book_id = '" . (int)$sendto . "'");
 183        $check_address = tep_db_fetch_array($check_address_query);
 184  
 185        if ($check_address['total'] == '1') {
 186          if ($reset_shipping == true) tep_session_unregister('shipping');
 187          tep_redirect(tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'));
 188        } else {
 189          tep_session_unregister('sendto');
 190        }
 191      } else {
 192        if (!tep_session_is_registered('sendto')) tep_session_register('sendto');
 193        $sendto = $customer_default_address_id;
 194  
 195        tep_redirect(tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'));
 196      }
 197    }
 198  
 199  // if no shipping destination address was selected, use their own address as default
 200    if (!tep_session_is_registered('sendto')) {
 201      $sendto = $customer_default_address_id;
 202    }
 203  
 204    $breadcrumb->add(NAVBAR_TITLE_1, tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'));
 205    $breadcrumb->add(NAVBAR_TITLE_2, tep_href_link(FILENAME_CHECKOUT_SHIPPING_ADDRESS, '', 'SSL'));
 206  
 207    $addresses_count = tep_count_customer_address_book_entries();
 208  ?>
 209  <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
 210  <html <?php echo HTML_PARAMS; ?>>
 211  <head>
 212  <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">
 213  <title><?php echo TITLE; ?></title>
 214  <base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>">
 215  <link rel="stylesheet" type="text/css" href="stylesheet.css">
 216  <script language="javascript"><!--
 217  var selected;
 218  
 219  function selectRowEffect(object, buttonSelect) {
 220    if (!selected) {
 221      if (document.getElementById) {
 222        selected = document.getElementById('defaultSelected');
 223      } else {
 224        selected = document.all['defaultSelected'];
 225      }
 226    }
 227  
 228    if (selected) selected.className = 'moduleRow';
 229    object.className = 'moduleRowSelected';
 230    selected = object;
 231  
 232  // one button is not an array
 233    if (document.checkout_address.address[0]) {
 234      document.checkout_address.address[buttonSelect].checked=true;
 235    } else {
 236      document.checkout_address.address.checked=true;
 237    }
 238  }
 239  
 240  function rowOverEffect(object) {
 241    if (object.className == 'moduleRow') object.className = 'moduleRowOver';
 242  }
 243  
 244  function rowOutEffect(object) {
 245    if (object.className == 'moduleRowOver') object.className = 'moduleRow';
 246  }
 247  
 248  function check_form_optional(form_name) {
 249    var form = form_name;
 250  
 251    var firstname = form.elements['firstname'].value;
 252    var lastname = form.elements['lastname'].value;
 253    var street_address = form.elements['street_address'].value;
 254  
 255    if (firstname == '' && lastname == '' && street_address == '') {
 256      return true;
 257    } else {
 258      return check_form(form_name);
 259    }
 260  }
 261  //--></script>
 262  <?php require(DIR_WS_INCLUDES . 'form_check.js.php'); ?>
 263  </head>
 264  <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0">
 265  <!-- header //-->
 266  <?php require(DIR_WS_INCLUDES . 'header.php'); ?>
 267  <!-- header_eof //-->
 268  
 269  <!-- body //-->
 270  <table border="0" width="100%" cellspacing="3" cellpadding="3">
 271    <tr>
 272      <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">
 273  <!-- left_navigation //-->
 274  <?php require(DIR_WS_INCLUDES . 'column_left.php'); ?>
 275  <!-- left_navigation_eof //-->
 276      </table></td>
 277  <!-- body_text //-->
 278      <td width="100%" valign="top"><?php echo tep_draw_form('checkout_address', tep_href_link(FILENAME_CHECKOUT_SHIPPING_ADDRESS, '', 'SSL'), 'post', 'onSubmit="return check_form_optional(checkout_address);"'); ?><table border="0" width="100%" cellspacing="0" cellpadding="0">
 279        <tr>
 280          <td><table border="0" width="100%" cellspacing="0" cellpadding="0">
 281            <tr>
 282              <td class="pageHeading"><?php echo HEADING_TITLE; ?></td>
 283              <td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_delivery.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>
 284            </tr>
 285          </table></td>
 286        </tr>
 287        <tr>
 288          <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
 289        </tr>
 290  <?php
 291    if ($messageStack->size('checkout_address') > 0) {
 292  ?>
 293        <tr>
 294          <td><?php echo $messageStack->output('checkout_address'); ?></td>
 295        </tr>
 296        <tr>
 297          <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
 298        </tr>
 299  <?php
 300    }
 301  
 302    if ($process == false) {
 303  ?>
 304        <tr>
 305          <td><table border="0" width="100%" cellspacing="0" cellpadding="2">
 306            <tr>
 307              <td class="main"><b><?php echo TABLE_HEADING_SHIPPING_ADDRESS; ?></b></td>
 308            </tr>
 309          </table></td>
 310        </tr>
 311        <tr>
 312          <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">
 313            <tr class="infoBoxContents">
 314              <td><table border="0" width="100%" cellspacing="0" cellpadding="2">
 315                <tr>
 316                  <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
 317                  <td class="main" width="50%" valign="top"><?php echo TEXT_SELECTED_SHIPPING_DESTINATION; ?></td>
 318                  <td align="right" width="50%" valign="top"><table border="0" cellspacing="0" cellpadding="2">
 319                    <tr>
 320                      <td class="main" align="center" valign="top"><?php echo '<b>' . TITLE_SHIPPING_ADDRESS . '</b><br>' . tep_image(DIR_WS_IMAGES . 'arrow_south_east.gif'); ?></td>
 321                      <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
 322                      <td class="main" valign="top"><?php echo tep_address_label($customer_id, $sendto, true, ' ', '<br>'); ?></td>
 323                      <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
 324                    </tr>
 325                  </table></td>
 326                </tr>
 327              </table></td>
 328            </tr>
 329          </table></td>
 330        </tr>
 331        <tr>
 332          <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
 333        </tr>
 334  <?php
 335      if ($addresses_count > 1) {
 336  ?>
 337        <tr>
 338          <td><table border="0" width="100%" cellspacing="0" cellpadding="2">
 339            <tr>
 340              <td class="main"><b><?php echo TABLE_HEADING_ADDRESS_BOOK_ENTRIES; ?></b></td>
 341            </tr>
 342          </table></td>
 343        </tr>
 344        <tr>
 345          <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">
 346            <tr class="infoBoxContents">
 347              <td><table border="0" width="100%" cellspacing="0" cellpadding="2">
 348                <tr>
 349                  <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
 350                  <td class="main" width="50%" valign="top"><?php echo TEXT_SELECT_OTHER_SHIPPING_DESTINATION; ?></td>
 351                  <td class="main" width="50%" valign="top" align="right"><?php echo '<b>' . TITLE_PLEASE_SELECT . '</b><br>' . tep_image(DIR_WS_IMAGES . 'arrow_east_south.gif'); ?></td>
 352                  <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
 353                </tr>
 354  <?php
 355        $radio_buttons = 0;
 356  
 357        $addresses_query = tep_db_query("select address_book_id, entry_firstname as firstname, entry_lastname as lastname, entry_company as company, entry_street_address as street_address, entry_suburb as suburb, entry_city as city, entry_postcode as postcode, entry_state as state, entry_zone_id as zone_id, entry_country_id as country_id from " . TABLE_ADDRESS_BOOK . " where customers_id = '" . (int)$customer_id . "'");
 358        while ($addresses = tep_db_fetch_array($addresses_query)) {
 359          $format_id = tep_get_address_format_id($addresses['country_id']);
 360  ?>
 361                <tr>
 362                  <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
 363                  <td colspan="2"><table border="0" width="100%" cellspacing="0" cellpadding="2">
 364  <?php
 365         if ($addresses['address_book_id'] == $sendto) {
 366            echo '                  <tr id="defaultSelected" class="moduleRowSelected" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)" onclick="selectRowEffect(this, ' . $radio_buttons . ')">' . "\n";
 367          } else {
 368            echo '                  <tr class="moduleRow" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)" onclick="selectRowEffect(this, ' . $radio_buttons . ')">' . "\n";
 369          }
 370  ?>
 371                      <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
 372                      <td class="main" colspan="2"><b><?php echo tep_output_string_protected($addresses['firstname'] . ' ' . $addresses['lastname']); ?></b></td>
 373                      <td class="main" align="right"><?php echo tep_draw_radio_field('address', $addresses['address_book_id'], ($addresses['address_book_id'] == $sendto)); ?></td>
 374                      <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
 375                    </tr>
 376                    <tr>
 377                      <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
 378                      <td colspan="3"><table border="0" cellspacing="0" cellpadding="2">
 379                        <tr>
 380                          <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
 381                          <td class="main"><?php echo tep_address_format($format_id, $addresses, true, ' ', ', '); ?></td>
 382                          <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
 383                        </tr>
 384                      </table></td>
 385                      <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
 386                    </tr>
 387                  </table></td>
 388                  <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
 389                </tr>
 390  <?php
 391          $radio_buttons++;
 392        }
 393  ?>
 394              </table></td>
 395            </tr>
 396          </table></td>
 397        </tr>
 398        <tr>
 399          <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
 400        </tr>
 401  <?php
 402      }
 403    }
 404  
 405    if ($addresses_count < MAX_ADDRESS_BOOK_ENTRIES) {
 406  ?>
 407        <tr>
 408          <td><table border="0" width="100%" cellspacing="0" cellpadding="2">
 409            <tr>
 410              <td class="main"><b><?php echo TABLE_HEADING_NEW_SHIPPING_ADDRESS; ?></b></td>
 411            </tr>
 412          </table></td>
 413        </tr>
 414        <tr>
 415          <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">
 416            <tr class="infoBoxContents">
 417              <td><table border="0" width="100%" cellspacing="0" cellpadding="2">
 418                <tr>
 419                  <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
 420                  <td class="main" width="100%" valign="top"><?php echo TEXT_CREATE_NEW_SHIPPING_ADDRESS; ?></td>
 421                  <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
 422                </tr>
 423                <tr>
 424                  <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
 425                  <td><table border="0" width="100%" cellspacing="0" cellpadding="2">
 426                    <tr>
 427                      <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
 428                      <td><?php require(DIR_WS_MODULES . 'checkout_new_address.php'); ?></td>
 429                      <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
 430                    </tr>
 431                  </table></td>
 432                  <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
 433                </tr>
 434              </table></td>
 435            </tr>
 436          </table></td>
 437        </tr>
 438  <?php
 439    }
 440  ?>
 441        <tr>
 442          <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
 443        </tr>
 444        <tr>
 445          <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">
 446            <tr class="infoBoxContents">
 447              <td><table border="0" width="100%" cellspacing="0" cellpadding="2">
 448                <tr>
 449                  <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
 450                  <td class="main"><?php echo '<b>' . TITLE_CONTINUE_CHECKOUT_PROCEDURE . '</b><br>' . TEXT_CONTINUE_CHECKOUT_PROCEDURE; ?></td>
 451                  <td class="main" align="right"><?php echo tep_draw_hidden_field('action', 'submit') . tep_image_submit('button_continue.gif', IMAGE_BUTTON_CONTINUE); ?></td>
 452                  <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
 453                </tr>
 454              </table></td>
 455            </tr>
 456          </table></td>
 457        </tr>
 458  <?php
 459    if ($process == true) {
 460  ?>
 461        <tr>
 462          <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
 463        </tr>
 464        <tr>
 465          <td><?php echo '<a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING_ADDRESS, '', 'SSL') . '">' . tep_image_button('button_back.gif', IMAGE_BUTTON_BACK) . '</a>'; ?></td>
 466        </tr>
 467  <?php
 468    }
 469  ?>
 470        <tr>
 471          <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
 472        </tr>
 473        <tr>
 474          <td><table border="0" width="100%" cellspacing="0" cellpadding="0">
 475            <tr>
 476              <td width="25%"><table border="0" width="100%" cellspacing="0" cellpadding="0">
 477                <tr>
 478                  <td width="50%" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'checkout_bullet.gif'); ?></td>
 479                  <td width="50%"><?php echo tep_draw_separator('pixel_silver.gif', '100%', '1'); ?></td>
 480                </tr>
 481              </table></td>
 482              <td width="25%"><?php echo tep_draw_separator('pixel_silver.gif', '100%', '1'); ?></td>
 483              <td width="25%"><?php echo tep_draw_separator('pixel_silver.gif', '100%', '1'); ?></td>
 484              <td width="25%"><table border="0" width="100%" cellspacing="0" cellpadding="0">
 485                <tr>
 486                  <td width="50%"><?php echo tep_draw_separator('pixel_silver.gif', '100%', '1'); ?></td>
 487                  <td width="50%"><?php echo tep_draw_separator('pixel_silver.gif', '1', '5'); ?></td>
 488                </tr>
 489              </table></td>
 490            </tr>
 491            <tr>
 492              <td align="center" width="25%" class="checkoutBarCurrent"><?php echo CHECKOUT_BAR_DELIVERY; ?></td>
 493              <td align="center" width="25%" class="checkoutBarTo"><?php echo CHECKOUT_BAR_PAYMENT; ?></td>
 494              <td align="center" width="25%" class="checkoutBarTo"><?php echo CHECKOUT_BAR_CONFIRMATION; ?></td>
 495              <td align="center" width="25%" class="checkoutBarTo"><?php echo CHECKOUT_BAR_FINISHED; ?></td>
 496            </tr>
 497          </table></td>
 498        </tr>
 499      </table></form></td>
 500  <!-- body_text_eof //-->
 501      <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">
 502  <!-- right_navigation //-->
 503  <?php require(DIR_WS_INCLUDES . 'column_right.php'); ?>
 504  <!-- right_navigation_eof //-->
 505      </table></td>
 506    </tr>
 507  </table>
 508  <!-- body_eof //-->
 509  
 510  <!-- footer //-->
 511  <?php require(DIR_WS_INCLUDES . 'footer.php'); ?>
 512  <!-- footer_eof //-->
 513  <br>
 514  </body>
 515  </html>
 516  <?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>


Généré le : Mon Nov 26 19:48:25 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics