" . localize('There are no more items in your shopping bag. If you would like to continue browsing, please choose one of the departments from above. The items that you add to your shopping basket will later be added to this invoice.') . "
\n");
print("
" . localize('If you would prefer to simply delete this invoice, you may click') . " "); print("" . localize('here') . ".\n"); return(TRUE); } /* ** Get default address information: ** If this is the second time around (user omitted something), use those ** values, otherwise, try to use $UserInfo (if available). */ if(isset($ShipTo_Postal_Name_First)) { $shipAddress = getAddressFromEnvironment("ShipTo_"); $billingAddress = getAddressFromEnvironment("BillTo_"); } elseif(isset($UserInfo)) { $shipAddress = $UserInfo["Address"]; $billingAddress = $UserInfo["Address"]; } printLine(localize('If the items above are as you wish them, please fill out a shipping address below.'), 0, FALSE); /* ** Start the form, and do the main shipping address part */ print(StartForm("order_express", 'post', 'SET_ORDER_INFO', TRUE, FALSE, '', '', 'shippingForm')); //shipping information printLine(getHeader(localize('Shipping Information'), 2), 0, FALSE); startTable(); showShippingForm($UserInfo['Invoice'], $shipAddress, $_REQUEST['ship_Method']); endTable(); //billing information printLine(getHeader(localize('Billing Information'), 2), 0, FALSE); /* ** Give the user a link, "Same as shipping," that will fill in the billing ** fields with the values from the shipping section. ** ** This bit of code is a little out of place, but we'll fix it later. */ if((GENERATE_CLOAKING_CONSTANTS) AND (BROWSER_JAVASCRIPTOK)) { print(" "); print(localize('Same as shipping.') . ".\n"); print("\n"); } startTable(); showBillingForm($UserInfo['Invoice'], $billingAddress, $_REQUEST['Payment_Card_Type'], $_REQUEST['Payment_Card_Number'], $_REQUEST['Payment_Card_ExpDate_Month'], $_REQUEST['Payment_Card_ExpDate_Year']); // If the user is logged in, let them enter a coupon //FIXME: coupons not working if(USE_COUPONS AND (isset($UserInfo["ID"])) AND ($UserInfo["ID"] > 0)) { print("