0)
{
// Query Successful
$SelectCustomerBox = "\n";
}
$query = tep_db_query("select code, value from " . TABLE_CURRENCIES . " ORDER BY code");
$result = $query;
if (tep_db_num_rows($result) > 0)
{
// Query Successful
$SelectCurrencyBox = "\n";
}
if(IsSet($HTTP_GET_VARS['Customer']))
{
$account_query = tep_db_query("select * from " . TABLE_CUSTOMERS . " where customers_id = '" . $HTTP_GET_VARS['Customer'] . "'");
$account = tep_db_fetch_array($account_query);
$customer = $account['customers_id'];
$address_query = tep_db_query("select * from " . TABLE_ADDRESS_BOOK . " where customers_id = '" . $HTTP_GET_VARS['Customer'] . "'");
$address = tep_db_fetch_array($address_query);
//$customer = $account['customers_id'];
} elseif (IsSet($HTTP_GET_VARS['Customer_nr']))
{
$account_query = tep_db_query("select * from " . TABLE_CUSTOMERS . " where customers_id = '" . $HTTP_GET_VARS['Customer_nr'] . "'");
$account = tep_db_fetch_array($account_query);
$customer = $account['customers_id'];
$address_query = tep_db_query("select * from " . TABLE_ADDRESS_BOOK . " where customers_id = '" . $HTTP_GET_VARS['Customer_nr'] . "'");
$address = tep_db_fetch_array($address_query);
//$customer = $account['customers_id'];
}
require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_CREATE_ORDER_PROCESS);
// #### Generate Page
?>
>
|
\n";
print "\n";
print "\n";
?>
\n";
print "\n";
print "\n";
?>
|
customers_id); ?>
|
|
|
|
' . tep_image_button('button_back.gif', IMAGE_BUTTON_BACK) . ''; ?> |
|
|
|
|