{if (!isset($smarty.get.delete))} {include_php file="`$smarty.const.DIR_FS_INCLUDES`form_check.js.php"} {/if} { if (!isset($smarty.get.delete))}{$tep_draw_form1}{/if} {if ($messageStack_size1 > 0) } {/if} {if (isset($smarty.get.delete)) } {else} {if (isset($smarty.get.edit) && is_numeric($smarty.get.edit))} {else} {/if} {/if}
{if (isset($smarty.get.edit)) } {$smarty.const.HEADING_TITLE_MODIFY_ENTRY} {elseif (isset($smarty.get.delete)) } {$smarty.const.HEADING_TITLE_DELETE_ENTRY} {else} {$smarty.const.HEADING_TITLE_ADD_ENTRY} {/if} {osc_image src="`$smarty.const.DIR_WS_IMAGES`table_background_address_book.gif" alt=$smarty.const.HEADING_TITLE width=$smarty.const.HEADING_IMAGE_WIDTH height=$smarty.const.HEADING_IMAGE_HEIGHT}
{osc_draw_separator image='pixel_trans.gif' width='100%' height='10'}
{$messageStack_output1}
{osc_draw_separator image='pixel_trans.gif' width='100%' height='10'}
{$smarty.const.DELETE_ADDRESS_TITLE}
{osc_draw_separator image='pixel_trans.gif' width='10' height='1'} {$smarty.const.DELETE_ADDRESS_DESCRIPTION}
{$smarty.const.SELECTED_ADDRESS}
{osc_image src="`$smarty.const.DIR_WS_IMAGES`arrow_south_east.gif"}
{osc_draw_separator image='pixel_trans.gif' width='10' height='1'} {osc_address_label customers_id=$smarty.session.customer_id address_id=$smarty.get.delete html=true boln=' ' eoln='
'}
{osc_draw_separator image='pixel_trans.gif' width='10' height='1'}
{osc_draw_separator image='pixel_trans.gif' width='10' height='1'}
{osc_draw_separator image='pixel_trans.gif' width='10' height='1'} {osc_image_button image='button_back.gif' alt=$smarty.const.IMAGE_BUTTON_BACK} {osc_image_button image='button_delete.gif' alt=$smarty.const.IMAGE_BUTTON_DELETE} {osc_draw_separator image='pixel_trans.gif' width='10' height='1'}
{if ($smarty.const.LANGUAGE_CURRENCY == 'JPY')} {else} {* else of language_currency *} {/if} {* end of language_currency *}
{$smarty.const.NEW_ADDRESS_TITLE} {$smarty.const.FORM_REQUIRED_INFORMATION}
{if $smarty.const.ACCOUNT_GENDER == 'true'} {/if} {if ($smarty.const.ACCOUNT_COMPANY == 'true')} {/if} {if ($smarty.const.ACCOUNT_STATE == 'true')} {/if} {if ($smarty.const.ACCOUNT_SUBURB == 'true')} {/if} {if ((isset($smarty.get.edit) && ($smarty.session.customer_default_address_id != $smarty.get.edit)) || (isset($smarty.get.edit) == false) )} {/if}
{$smarty.const.ENTRY_GENDER} {$tep_draw_radio_field1}  {$smarty.const.MALE}   {$tep_draw_radio_field2}  {$smarty.const.FEMALE}  {if tep_not_null($smarty.const.ENTRY_GENDER_TEXT)} {$smarty.const.ENTRY_GENDER_TEXT} {/if}
{$smarty.const.ENTRY_LAST_NAME} {$tep_draw_input_field2}  {if tep_not_null(ENTRY_LAST_NAME_TEXT)} {$smarty.const.ENTRY_LAST_NAME_TEXT} {/if}
{$smarty.const.ENTRY_FIRST_NAME} {$tep_draw_input_field1}  {if tep_not_null($smarty.const.ENTRY_FIRST_NAME_TEXT)} {$smarty.const.ENTRY_FIRST_NAME_TEXT} {/if}
{osc_draw_separator image='pixel_trans.gif' width='100%' height='10'}
{$smarty.const.ENTRY_COMPANY} {$tep_draw_input_field3}  {if tep_not_null($smarty.const.ENTRY_COMPANY_TEXT)} {$smarty.const.ENTRY_COMPANY_TEXT} {/if}
{osc_draw_separator image='pixel_trans.gif' width='100%' height='10'}
{$smarty.const.ENTRY_POST_CODE} {$tep_draw_input_field6}  {if tep_not_null($smarty.const.ENTRY_POST_CODE_TEXT)} {$smarty.const.ENTRY_POST_CODE_TEXT} {/if}
{$smarty.const.ENTRY_COUNTRY} {$tep_get_country_list1}  {if tep_not_null($smarty.const.ENTRY_COUNTRY_TEXT)} {$smarty.const.ENTRY_COUNTRY_TEXT} {/if}
{$smarty.const.ENTRY_STATE} {if ($process == true)} {if ($entry_state_has_zones == true)} {$tep_draw_pull_down_menu1} {else} {$tep_draw_input_field8} {/if} {$tep_draw_input_field8} {else} {$tep_draw_input_field9} {/if} {if tep_not_null($smarty.const.ENTRY_STATE_TEXT)}  {$smarty.const.ENTRY_STATE_TEXT} {/if}
{$smarty.const.ENTRY_CITY} {$tep_draw_input_field7}  {if tep_not_null($smarty.const.ENTRY_CITY_TEXT)} {$smarty.const.ENTRY_CITY_TEXT} {/if}
{$smarty.const.ENTRY_STREET_ADDRESS} {$tep_draw_input_field4}  {if tep_not_null($smarty.const.ENTRY_STREET_ADDRESS_TEXT)} {$smarty.const.ENTRY_STREET_ADDRESS_TEXT} {/if}
{$smarty.const.ENTRY_SUBURB} {$tep_draw_input_field5}  {if tep_not_null(ENTRY_SUBURB_TEXT)} {$smarty.const.ENTRY_SUBURB_TEXT} {/if}
{osc_draw_separator image='pixel_trans.gif' width='100%' height='10'}
{$smarty.const.ENTRY_TELEPHONE_NUMBER} {$tep_draw_input_field10}  {if tep_not_null($smarty.const.ENTRY_TELEPHONE_NUMBER_TEXT)} {$smarty.const.ENTRY_TELEPHONE_NUMBER_TEXT} {/if}
{osc_draw_separator image='pixel_trans.gif' width='100%' height='10'}
{$tep_draw_checkbox_field1}{$smarty.const.SET_AS_PRIMARY}
{if $smarty.const.ACCOUNT_GENDER == 'true'} {/if} {if ($smarty.const.ACCOUNT_COMPANY == 'true')} {/if} {if ($smarty.const.ACCOUNT_SUBURB == 'true')} {/if} {if ($smarty.const.ACCOUNT_STATE == 'true')} {/if} {if ((isset($smarty.get.edit) && ($smarty.session.customer_default_address_id != $smarty.get.edit)) || (isset($smarty.get.edit) == false) )} {/if}
{$smarty.const.ENTRY_GENDER} {$tep_draw_radio_field1}  {$smarty.const.MALE}   {$tep_draw_radio_field2}  {$smarty.const.FEMALE}  {if tep_not_null($smarty.const.ENTRY_GENDER_TEXT)} {$smarty.const.ENTRY_GENDER_TEXT} {/if}
{$smarty.const.ENTRY_FIRST_NAME} {$tep_draw_input_field1}  {if tep_not_null($smarty.const.ENTRY_FIRST_NAME_TEXT)} {$smarty.const.ENTRY_FIRST_NAME_TEXT} {/if}
{$smarty.const.ENTRY_LAST_NAME} {$tep_draw_input_field2}  {if tep_not_null(ENTRY_LAST_NAME_TEXT)} {$smarty.const.ENTRY_LAST_NAME_TEXT} {/if}
{osc_draw_separator image='pixel_trans.gif' width='100%' height='10'}
{$smarty.const.ENTRY_COMPANY} {$tep_draw_input_field3}  {if tep_not_null($smarty.const.ENTRY_COMPANY_TEXT)} {$smarty.const.ENTRY_COMPANY_TEXT} {/if}
{osc_draw_separator image='pixel_trans.gif' width='100%' height='10'}
{$smarty.const.ENTRY_STREET_ADDRESS} {$tep_draw_input_field4}  {if tep_not_null($smarty.const.ENTRY_STREET_ADDRESS_TEXT)} {$smarty.const.ENTRY_STREET_ADDRESS_TEXT} {/if}
{$smarty.const.ENTRY_SUBURB} {$tep_draw_input_field5}  {if tep_not_null($smarty.const.ENTRY_SUBURB_TEXT)} {$smarty.const.ENTRY_SUBURB_TEXT} {/if}
{$smarty.const.ENTRY_POST_CODE} {$tep_draw_input_field6}  {if tep_not_null($smarty.const.ENTRY_POST_CODE_TEXT)} {$smarty.const.ENTRY_POST_CODE_TEXT} {/if}
{$smarty.const.ENTRY_CITY} {$tep_draw_input_field7}  {if tep_not_null($smarty.const.ENTRY_CITY_TEXT)} {$smarty.const.ENTRY_CITY_TEXT} {/if}
{$smarty.const.ENTRY_COUNTRY} {$tep_get_country_list1}  {if tep_not_null($smarty.const.ENTRY_COUNTRY_TEXT)} {$smarty.const.ENTRY_COUNTRY_TEXT} {/if}
{$smarty.const.ENTRY_STATE} {if ($process == true)} {if ($entry_state_has_zones == true)} {$tep_draw_pull_down_menu1} {else} {$tep_draw_input_field8} {/if} {$tep_draw_input_field8} {else} {$tep_draw_input_field9} {/if} {if tep_not_null($smarty.const.ENTRY_STATE_TEXT)}  {$smarty.const.ENTRY_STATE_TEXT} {/if}
{osc_draw_separator image='pixel_trans.gif' width='100%' height='10'}
{$smarty.const.ENTRY_TELEPHONE_NUMBER} {$tep_draw_input_field10}  {if tep_not_null($smarty.const.ENTRY_TELEPHONE_NUMBER_TEXT)} {$smarty.const.ENTRY_TELEPHONE_NUMBER_TEXT} {/if}
{osc_draw_separator image='pixel_trans.gif' width='100%' height='10'}
{$tep_draw_checkbox_field1}{$smarty.const.SET_AS_PRIMARY}
{osc_draw_separator image='pixel_trans.gif' width='100%' height='10'}
{osc_draw_separator image='pixel_trans.gif' width='10' height='1'} {osc_image_button image='button_back.gif' alt=$smarty.const.IMAGE_BUTTON_BACK} {osc_draw_hidden_field name='action' value='update'}{osc_draw_hidden_field name='edit' value=$smarty.get.edit}{osc_image_submit image='button_update.gif' alt=$smarty.const.IMAGE_BUTTON_UPDATE} {osc_draw_separator image='pixel_trans.gif' width='10' height='1'}
{osc_draw_separator image='pixel_trans.gif' width='10' height='1'} {osc_image_button image='button_back.gif' alt=$smarty.const.IMAGE_BUTTON_BACK} {osc_draw_hidden_field name='action' value='process'}{osc_image_submit image='button_continue.gif' alt=$smarty.const.IMAGE_BUTTON_CONTINUE} {osc_draw_separator image='pixel_trans.gif' width='10' height='1'}
{if (!isset($smarty.get.delete))}{/if}