460 lignes
29 KiB
Smarty
460 lignes
29 KiB
Smarty
[{assign var="template_title" value="USER_LOGINTITLE"|oxmultilangassign}]
|
|
[{include file="_header.tpl" title=$template_title location=$template_title}]
|
|
|
|
<!-- ordering steps -->
|
|
[{include file="inc/steps_item.tpl" highlight=2 }]
|
|
[{assign var="_blshownoregopt" value=$oView->getShowNoRegOption()}]
|
|
|
|
[{ if !$oxcmp_user && !$oView->getLoginOption() }]
|
|
[{if $_blshownoregopt }]
|
|
<div class="left">
|
|
<strong class="useroptboxhead">[{ oxmultilang ident="USER_OPTION1" }]</strong>
|
|
<div class="useroptbox">
|
|
<b>[{ oxmultilang ident="USER_ORDERWITHOUTREGISTER1" }]</b><br><br>
|
|
[{ oxmultilang ident="USER_ORDERWITHOUTREGISTER2" }]<br><br>
|
|
[{*** D3 MOD NEXT_LINE * GoogleAnalytics ***}]
|
|
<form action="[{ $oViewConf->getSslSelfLink()|oxaddparams:"cl=user" }]" method="post">
|
|
<div>
|
|
[{ $oViewConf->getHiddenSid() }]
|
|
[{ $oViewConf->getNavFormParams() }]
|
|
<input type="hidden" name="cl" value="user">
|
|
<input type="hidden" name="fnc" value="">
|
|
<input type="hidden" name="option" value="1">
|
|
<span class="btn"><input id="test_UsrOpt1" type="submit" name="send" value="[{ oxmultilang ident="USER_NEXT" }]" class="btn"></span>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
[{/if}]
|
|
<div class="left">
|
|
<strong class="useroptboxhead[{if !$_blshownoregopt }]big[{/if}]">[{if !$_blshownoregopt }][{ oxmultilang ident="USER_OPTION1" }][{else}][{ oxmultilang ident="USER_OPTION2" }][{/if}]</strong>
|
|
<div class="useroptbox[{if !$_blshownoregopt }]big[{/if}]">
|
|
<b>[{ oxmultilang ident="USER_ALREADYCUSTOMER" }]</b><br><br>
|
|
[{ oxmultilang ident="USER_PLEASELOGIN" }]<br><br>
|
|
[{foreach from=$Errors.user item=oEr key=key }]
|
|
<div class="err">[{ $oEr->getOxMessage()}]</div>
|
|
[{/foreach}]
|
|
[{*** D3 MOD NEXT_LINE * GoogleAnalytics ***}]
|
|
<form action="[{ $oViewConf->getSslSelfLink()|oxaddparams:"cl=user" }]" method="post">
|
|
<div>
|
|
[{ $oViewConf->getHiddenSid() }]
|
|
[{ $oViewConf->getNavFormParams() }]
|
|
<input type="hidden" name="fnc" value="login_noredirect">
|
|
<input type="hidden" name="cl" value="user">
|
|
<input type="hidden" name="option" value="2">
|
|
<input type="hidden" name="lgn_cook" value="0">
|
|
<input type="hidden" name="CustomError" value='user'>
|
|
<span class="fs11"><b>[{ oxmultilang ident="USER_EMAIL" }]</b></span><br>
|
|
<input id="test_UsrOpt2_usr" type="text" name="lgn_usr" value="" size="25"><br><br>
|
|
<span class="fs11"><b>[{ oxmultilang ident="USER_PWD" }]</b></span><br>
|
|
<input id="test_UsrOpt2_pwd" type="password" name="lgn_pwd" value="" size="25"><br><br>
|
|
<span class="btn"><input id="test_UsrOpt2" type="submit" name="send" value="[{ oxmultilang ident="USER_LOGIN" }]" class="btn"></span><br><br>
|
|
<a id="test_UsrOpt2_forgotPwd" rel="nofollow" href="[{ oxgetseourl ident=$oViewConf->getSelfLink()|cat:"cl=forgotpwd" }]" class="link">[{ oxmultilang ident="USER_FORGOTPWD" }]</a><br><br>
|
|
[{if $oViewConf->getShowOpenIdLogin() }]
|
|
<span class="fs11"><b>[{ oxmultilang ident="USER_OPENID" }]</b></span><br>
|
|
<input id="test_UsrOpt2_openid" type="text" name="lgn_openid" value="" class="openid" size="21"><br><br>
|
|
<span class="btn"><input id="test_UsrOpt2OpenId" type="submit" name="send" value="[{ oxmultilang ident="USER_LOGIN" }]" class="btn"></span><br>
|
|
[{/if}]
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="left">
|
|
<strong class="useroptboxhead[{if !$_blshownoregopt }]big[{/if}]">[{if !$_blshownoregopt }][{ oxmultilang ident="USER_OPTION2" }][{else}][{ oxmultilang ident="USER_OPTION3" }][{/if}]</strong>
|
|
<div class="useroptbox[{if !$_blshownoregopt }]big[{/if}]">
|
|
<b>[{ oxmultilang ident="USER_OPENPERSONALACCOUNT1" }]</b><br><br>
|
|
[{ oxmultilang ident="USER_OPENPERSONALACCOUNT2" }] [{ oxmultilang ident="USER_OPENPERSONALACCOUNT3" }]<br><br>
|
|
<span class="fs11">
|
|
[{ oxmultilang ident="USER_OPENPERSONALACCOUNT4" }]<br>
|
|
[{ oxmultilang ident="USER_OPENPERSONALACCOUNT5" }]<br>
|
|
[{ oxmultilang ident="USER_OPENPERSONALACCOUNT6" }]<br>
|
|
[{ oxmultilang ident="USER_OPENPERSONALACCOUNT7" }]<br>
|
|
[{ oxmultilang ident="USER_OPENPERSONALACCOUNT8" }]<br>
|
|
[{ oxmultilang ident="USER_OPENPERSONALACCOUNT9" }]<br>
|
|
[{ oxmultilang ident="USER_OPENPERSONALACCOUNT10" }]
|
|
</span>
|
|
<br><br>
|
|
[{*** D3 MOD NEXT_LINE * GoogleAnalytics ***}]
|
|
<form action="[{ $oViewConf->getSslSelfLink()|oxaddparams:"cl=user" }]" method="post">
|
|
<div>
|
|
[{ $oViewConf->getHiddenSid() }]
|
|
[{ $oViewConf->getNavFormParams() }]
|
|
<input type="hidden" name="cl" value="user">
|
|
<input type="hidden" name="fnc" value="">
|
|
<input type="hidden" name="option" value="3">
|
|
<span class="btn"><input id="test_UsrOpt3" type="submit" name="send" value="[{ oxmultilang ident="USER_LOGIN2" }]" class="btn"></span>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
|
|
[{else}]
|
|
[{assign var="currency" value=$oView->getActCurrency() }]
|
|
[{*** D3 MOD NEXT_LINE * GoogleAnalytics ***}]
|
|
<form action="[{ $oViewConf->getSslSelfLink()|oxaddparams:"cl=user" }]" name="order" method="post">
|
|
<div>
|
|
[{ $oViewConf->getHiddenSid() }]
|
|
[{ $oViewConf->getNavFormParams() }]
|
|
<input type="hidden" name="option" value="[{$oView->getLoginOption()}]">
|
|
<input type="hidden" name="cl" value="user">
|
|
<input type="hidden" name="CustomError" value='user'>
|
|
<input type="hidden" id="reloadaddress" name="reloadaddress" value="">
|
|
[{if !$oxcmp_user->oxuser__oxpassword->value }]
|
|
<input type="hidden" name="fnc" value="createuser">
|
|
[{else}]
|
|
<input type="hidden" name="fnc" value="changeuser">
|
|
<input type="hidden" name="lgn_cook" value="0">
|
|
[{/if}]
|
|
</div>
|
|
|
|
[{if $oView->isLowOrderPrice()}]
|
|
<div class="bar prevnext order">
|
|
<div class="minorderprice">[{ oxmultilang ident="BASKET_MINORDERPRICE" }] [{ $oView->getMinOrderPrice() }] [{ $currency->sign }]</div>
|
|
</div>
|
|
[{else}]
|
|
<div class="bar prevnext order">
|
|
<div class="right arrowright">
|
|
<input id="test_UserNextStepTop" name="userform" type="submit" value="[{ oxmultilang ident="USER_NEXTSTEP" }]">
|
|
</div>
|
|
</div>
|
|
[{/if}]
|
|
|
|
|
|
[{include file="inc/error.tpl" Errorlist=$Errors.user}]
|
|
|
|
[{if $oView->getLoginOption() == 3}]
|
|
<strong class="boxhead">[{ oxmultilang ident="USER_LOGIN3" }]</strong>
|
|
<div class="box info">
|
|
[{ oxmultilang ident="USER_ENTEREMAILANDPWD" }]<br>
|
|
[{ oxmultilang ident="USER_RECEIVECONFIRMATION" }]
|
|
<div class="dot_sep"></div>
|
|
<table class="form" width="90%">
|
|
<colgroup>
|
|
<col width="145">
|
|
</colgroup>
|
|
<tr>
|
|
<td><label>[{ oxmultilang ident="USER_EMAILADDRESS" }]</label></td>
|
|
<td><input id="test_lgn_usr" type="text" name="lgn_usr" value="[{if $lgn_usr}][{$lgn_usr}][{else}][{$oxcmp_user->oxuser__oxusername->value}][{/if}]" size="37"> <span class="req">*</span></td>
|
|
</tr>
|
|
<tr>
|
|
<td><label>[{ oxmultilang ident="USER_PASSWORD" }]</label></td>
|
|
<td><input id="test_lgn_pwd" type="password" name="lgn_pwd" value="[{$lgn_pwd}]" size="37"> <span class="req">*</span></td>
|
|
</tr>
|
|
<tr>
|
|
<td><label>[{ oxmultilang ident="USER_CONFIRMPWD" }]</label></td>
|
|
<td><input id="test_lgn_pwd2" type="password" name="lgn_pwd2" value="[{$lgn_pwd2}]" size="37"> <span class="req">*</span></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
[{/if}]
|
|
|
|
<strong class="boxhead">[{ oxmultilang ident="USER_SEND" }]</strong>
|
|
<div class="box info">
|
|
<b>[{ oxmultilang ident="USER_BILLINDADDRESS" }]</b> [{ oxmultilang ident="USER_COMPLETEALLMARKEDFIELDS" }]
|
|
<div class="dot_sep"></div>
|
|
|
|
<table class="form" width="90%">
|
|
<colgroup>
|
|
<col width="145">
|
|
</colgroup>
|
|
[{ if !$oxcmp_user->oxuser__oxpassword->value && $oView->getLoginOption() != 3}]
|
|
<tr>
|
|
<td><label>[{ oxmultilang ident="USER_EMAILADDRESS2" }]</label></td>
|
|
<td>
|
|
<input id="test_lgn_usr" type="text" name="lgn_usr" value="[{if $lgn_usr}][{$lgn_usr}][{else}][{$oxcmp_user->oxuser__oxusername->value}][{/if}]" size="37">
|
|
<span class="req">*</span></td>
|
|
</tr>
|
|
[{/if}]
|
|
<tr>
|
|
<td><label>[{ oxmultilang ident="USER_TITLE" }]</label></td>
|
|
<td>
|
|
[{include file="inc/salutation.tpl" name="invadr[oxuser__oxsal]" value=$oxcmp_user->oxuser__oxsal->value value2=$invadr.oxuser__oxsal}]
|
|
[{if $oView->isFieldRequired(oxuser__oxsal) }]<span class="req">*</span>[{/if}]
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td><label>[{ oxmultilang ident="USER_FIRSTNAME" }]</label></td>
|
|
<td>
|
|
<input type="text" size="37" maxlength="255" name="invadr[oxuser__oxfname]" value="[{if isset( $invadr.oxuser__oxfname ) }][{ $invadr.oxuser__oxfname }][{else}][{ $oxcmp_user->oxuser__oxfname->value }][{/if}]">
|
|
[{if $oView->isFieldRequired(oxuser__oxfname) }]<span class="req">*</span>[{/if}]
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td><label>[{ oxmultilang ident="USER_LASTNAME" }]</label></td>
|
|
<td>
|
|
<input type="text" size="37" maxlength="255" name="invadr[oxuser__oxlname]" value="[{if isset( $invadr.oxuser__oxlname ) }][{ $invadr.oxuser__oxlname }][{else}][{ $oxcmp_user->oxuser__oxlname->value }][{/if}]">
|
|
[{if $oView->isFieldRequired(oxuser__oxlname) }]<span class="req">*</span>[{/if}]
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td><label>[{ oxmultilang ident="USER_COMPANY" }]</label></td>
|
|
<td>
|
|
<input type="text" size="37" maxlength="255" name="invadr[oxuser__oxcompany]" value="[{if isset( $invadr.oxuser__oxcompany ) }][{ $invadr.oxuser__oxcompany }][{else}][{$oxcmp_user->oxuser__oxcompany->value }][{/if}]">
|
|
[{if $oView->isFieldRequired(oxuser__oxcompany) }]<span class="req">*</span>[{/if}]
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td><label>[{ oxmultilang ident="USER_STREET" }]</label></td>
|
|
<td>
|
|
<input type="text" size="28" maxlength="255" name="invadr[oxuser__oxstreet]" value="[{if isset( $invadr.oxuser__oxstreet ) }][{$invadr.oxuser__oxstreet }][{else}][{$oxcmp_user->oxuser__oxstreet->value }][{/if}]">
|
|
<input type="text" size="5" maxlength="16" name="invadr[oxuser__oxstreetnr]" value="[{if isset( $invadr.oxuser__oxstreetnr ) }][{ $invadr.oxuser__oxstreetnr }][{else}][{ $oxcmp_user->oxuser__oxstreetnr->value }][{/if}]">
|
|
[{if $oView->isFieldRequired(oxuser__oxstreet) || $oView->isFieldRequired(oxuser__oxstreetnr) }]<span class="req">*</span>[{/if}]
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td><label>[{ oxmultilang ident="USER_PLZANDCITY" }]</label></td>
|
|
<td>
|
|
<input type="text" size="5" maxlength="16" name="invadr[oxuser__oxzip]" value="[{if isset( $invadr.oxuser__oxzip ) }][{$invadr.oxuser__oxzip }][{else}][{$oxcmp_user->oxuser__oxzip->value }][{/if}]">
|
|
<input type="text" size="28" maxlength="255" name="invadr[oxuser__oxcity]" value="[{if isset( $invadr.oxuser__oxcity ) }][{$invadr.oxuser__oxcity }][{else}][{$oxcmp_user->oxuser__oxcity->value }][{/if}]">
|
|
[{if $oView->isFieldRequired(oxuser__oxzip) || $oView->isFieldRequired(oxuser__oxcity) }]<span class="req">*</span>[{/if}]
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td><label>[{ oxmultilang ident="USER_VATID" }]</label></td>
|
|
<td>
|
|
<input type="text" size="37" maxlength="255" name="invadr[oxuser__oxustid]" value="[{if isset( $invadr.oxuser__oxustid ) }][{$invadr.oxuser__oxustid }][{else}][{$oxcmp_user->oxuser__oxustid->value }][{/if}]">
|
|
[{if $oView->isFieldRequired(oxuser__oxustid) }]<span class="req">*</span>[{/if}]
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td><label>[{ oxmultilang ident="USER_ADDITIONALINFO" }]</label></td>
|
|
<td>
|
|
<input type="text" size="37" maxlength="255" name="invadr[oxuser__oxaddinfo]" value="[{if isset( $invadr.oxuser__oxaddinfo ) }][{$invadr.oxuser__oxaddinfo }][{else}][{$oxcmp_user->oxuser__oxaddinfo->value }][{/if}]">
|
|
[{if $oView->isFieldRequired(oxuser__oxaddinfo) }]<span class="req">*</span>[{/if}]
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td><label>[{ oxmultilang ident="USER_COUNTRY" }]</label></td>
|
|
<td>
|
|
<select id="inv_country_select" name="invadr[oxuser__oxcountryid]">
|
|
<option value="">-</option>
|
|
[{foreach from=$oView->getCountryList() item=country key=country_id}]
|
|
<option value="[{$country->oxcountry__oxid->value}]"[{if isset( $invadr.oxuser__oxcountryid ) && $invadr.oxuser__oxcountryid == $country->oxcountry__oxid->value}] selected[{ elseif $oxcmp_user->oxuser__oxcountryid->value == $country->oxcountry__oxid->value }] selected[{/if}]>[{$country->oxcountry__oxtitle->value}]</option>
|
|
[{/foreach}]
|
|
</select>
|
|
[{if $oView->isFieldRequired(oxuser__oxcountryid) }]<span class="req">*</span>[{/if}]
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>
|
|
[{include file="inc/state_selector.snippet.tpl"
|
|
countrySelectId="inv_country_select"
|
|
stateSelectName="invadr[oxuser__oxstateid]"
|
|
selectedStateIdPrim=$invadr.oxuser__oxstateid
|
|
selectedStateId=$oxcmp_user->oxuser__oxstateid
|
|
}]
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td><label>[{ oxmultilang ident="USER_PHONE" }]</label></td>
|
|
<td>
|
|
<input type="text" size="37" maxlength="128" name="invadr[oxuser__oxfon]" value="[{if isset( $invadr.oxuser__oxfon ) }][{$invadr.oxuser__oxfon }][{else}][{$oxcmp_user->oxuser__oxfon->value }][{/if}]">
|
|
[{if $oView->isFieldRequired(oxuser__oxfon) }]<span class="req">*</span>[{/if}]
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td><label>[{ oxmultilang ident="USER_FAX" }]</label></td>
|
|
<td>
|
|
<input type="text" size="37" maxlength="128" name="invadr[oxuser__oxfax]" value="[{if isset( $invadr.oxuser__oxfax ) }][{$invadr.oxuser__oxfax }][{else}][{$oxcmp_user->oxuser__oxfax->value }][{/if}]">
|
|
[{if $oView->isFieldRequired(oxuser__oxfax) }]<span class="req">*</span>[{/if}]
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td><label>[{ oxmultilang ident="USER_MOBIL" }]</label></td>
|
|
<td>
|
|
<input type="text" size="37" maxlength="64" name="invadr[oxuser__oxmobfon]" value="[{if isset( $invadr.oxuser__oxmobfon ) }][{$invadr.oxuser__oxmobfon }][{else}][{$oxcmp_user->oxuser__oxmobfon->value }][{/if}]">
|
|
[{if $oView->isFieldRequired(oxuser__oxmobfon) }]<span class="req">*</span>[{/if}]
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td><label>[{ oxmultilang ident="USER_PRIVATPHONE" }]</label></td>
|
|
<td>
|
|
<input type="text" size="37" maxlength="64" name="invadr[oxuser__oxprivfon]" value="[{if isset( $invadr.oxuser__oxprivfon ) }][{$invadr.oxuser__oxprivfon }][{else}][{$oxcmp_user->oxuser__oxprivfon->value }][{/if}]">
|
|
[{if $oView->isFieldRequired(oxuser__oxprivfon) }]<span class="req">*</span>[{/if}]
|
|
</td>
|
|
</tr>
|
|
[{if $oViewConf->showBirthdayFields() }]
|
|
<tr>
|
|
<td><label>[{ oxmultilang ident="USER_BIRTHDATE" }]</label></td>
|
|
<td valign="top" nowrap>
|
|
<table><tr><td>
|
|
<input type="text" size="3" maxlength="2" name="invadr[oxuser__oxbirthdate][day]" value="[{if isset( $invadr.oxuser__oxbirthdate.day ) }][{$invadr.oxuser__oxbirthdate.day }][{elseif $oxcmp_user->oxuser__oxbirthdate->value && $oxcmp_user->oxuser__oxbirthdate->value != "0000-00-00"}][{$oxcmp_user->oxuser__oxbirthdate->value|regex_replace:"/^([0-9]{4})[-]([0-9]{1,2})[-]/":"" }][{/if}]">
|
|
<input type="text" size="3" maxlength="2" name="invadr[oxuser__oxbirthdate][month]" value="[{if isset( $invadr.oxuser__oxbirthdate.month ) }][{$invadr.oxuser__oxbirthdate.month }][{elseif $oxcmp_user->oxuser__oxbirthdate->value && $oxcmp_user->oxuser__oxbirthdate->value != "0000-00-00" }][{$oxcmp_user->oxuser__oxbirthdate->value|regex_replace:"/^([0-9]{4})[-]/":""|regex_replace:"/[-]([0-9]{1,2})$/":"" }][{/if}]">
|
|
<input type="text" size="8" maxlength="4" name="invadr[oxuser__oxbirthdate][year]" value="[{if isset( $invadr.oxuser__oxbirthdate.year ) }][{$invadr.oxuser__oxbirthdate.year }][{elseif $oxcmp_user->oxuser__oxbirthdate->value && $oxcmp_user->oxuser__oxbirthdate->value != "0000-00-00" }][{$oxcmp_user->oxuser__oxbirthdate->value|regex_replace:"/[-]([0-9]{1,2})[-]([0-9]{1,2})$/":"" }][{/if}]">
|
|
[{if $oView->isFieldRequired(oxuser__oxbirthdate) }]<span class="req">*</span>[{/if}]</td>
|
|
<td><span class="fs10"> [{ oxmultilang ident="USER_BIRTHDAYMESSAGE" }]</span></td>
|
|
</tr></table>
|
|
</td>
|
|
</tr>
|
|
[{/if}]
|
|
<tr>
|
|
<td><label>[{ oxmultilang ident="USER_SUBSCRIBENEWSLETTER" }]</label></td>
|
|
<td>
|
|
<input type="hidden" name="blnewssubscribed" value="0">
|
|
<input id="test_newsReg" type="checkbox" name="blnewssubscribed" value="1" [{if $oView->isNewsSubscribed()}]checked[{/if}]>
|
|
<span class="fs10">[{ oxmultilang ident="USER_SUBSCRIBENEWSLETTER_MESSAGE" }]</span>
|
|
</td>
|
|
</tr>
|
|
<tr class="td_sep">
|
|
<td valign="top"><label>[{ oxmultilang ident="USER_YOURMESSAGE" }]</label></td>
|
|
<td>
|
|
[{ if !$oView->getOrderRemark()}]
|
|
[{assign var="order_remark" value="USER_MESSAGEHERE"|oxmultilangassign}]
|
|
[{else}]
|
|
[{assign var="order_remark" value=$oView->getOrderRemark()}]
|
|
[{/if}]
|
|
<textarea cols="60" rows="7" name="order_remark">[{$order_remark}]</textarea>
|
|
</td>
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<div class="dot_sep"></div>
|
|
|
|
<br />
|
|
<b>[{ oxmultilang ident="USER_SHIPPINGADDRESS" }]</b>
|
|
<div class="dot_sep"></div>
|
|
|
|
[{if !$oView->showShipAddress()}]
|
|
<span class="btn"><input type="submit" name="blshowshipaddress" value="[{ oxmultilang ident="USER_DIFFERENTSHIPPINGADDRESS" }]" class="btn"></span><br /><br />
|
|
[{else}]
|
|
<span class="btn"><input type="submit" name="blhideshipaddress" value="[{ oxmultilang ident="USER_DISABLESHIPPINGADDRESS" }]" class="btn"></span><br /><br />
|
|
[{/if}]
|
|
|
|
<div class="fs10 def_color_1"><span class="req">[{ oxmultilang ident="USER_NOTE" }]</span> [{ oxmultilang ident="USER_DIFFERENTDELIVERYADDRESS" }]</div>
|
|
[{if $oView->showShipAddress()}]
|
|
[{assign var="delivadr" value=$oView->getDelAddress()}]
|
|
<table class="form" width="90%">
|
|
<colgroup>
|
|
<col width="145">
|
|
</colgroup>
|
|
|
|
<tr>
|
|
<td><label>[{ oxmultilang ident="USER_ADDRESSES" }]</label></td>
|
|
<td>
|
|
<select name="oxaddressid" onchange="oxid.form.set('reloadaddress', this.value === '-1' ? 1 : 2);oxid.form.reload(this.value === '-1','order','user','');oxid.form.clear(this.value !== '-1','order',/oxaddress__/);">
|
|
<option value="-1" SELECTED>[{ oxmultilang ident="USER_NEWADDRESS" }]</option>
|
|
[{if $oxcmp_user}]
|
|
[{foreach from=$oxcmp_user->getUserAddresses() item=address}]
|
|
[{if $address->oxaddress__oxid->value == -2}]
|
|
<option value="-2" [{ if $address->selected}]SELECTED[{/if}]>[{ oxmultilang ident="USER_USEBILLINGADDR" }]</option>
|
|
[{else}]
|
|
<option value="[{ $address->oxaddress__oxid->value }]" [{ if $address->selected}]SELECTED[{/if}]>[{ $address }]</option>
|
|
[{/if}]
|
|
[{/foreach}]
|
|
[{/if}]
|
|
</select>
|
|
<noscript>
|
|
<span class="btn"><input id="test_accUserReloadAddress" class="btn" type="submit" name="reloadaddress" value="[{ oxmultilang ident="USER_ADDRESSES_SELECT" }]"></span>
|
|
</noscript>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td><label>[{ oxmultilang ident="USER_TITLE2" }]</label></td>
|
|
<td>
|
|
[{include file="inc/salutation.tpl" name="deladr[oxaddress__oxsal]" value=$delivadr->oxaddress__oxsal->value}]
|
|
[{if $oView->isFieldRequired(oxaddress__oxsal) }]<span class="req">*</span>[{/if}]
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td><label>[{ oxmultilang ident="USER_NAME" }]</label></td>
|
|
<td>
|
|
<input type="text" size="15" maxlength="255" name="deladr[oxaddress__oxfname]" value="[{if isset( $deladr.oxaddress__oxfname ) }][{$deladr.oxaddress__oxfname}][{else}][{$delivadr->oxaddress__oxfname->value }][{/if}]">
|
|
<input type="text" size="18" maxlength="255" name="deladr[oxaddress__oxlname]" value="[{if isset( $deladr.oxaddress__oxlname ) }][{$deladr.oxaddress__oxlname}][{else}][{$delivadr->oxaddress__oxlname->value }][{/if}]">
|
|
[{if $oView->isFieldRequired(oxaddress__oxfname) || $oView->isFieldRequired(oxaddress__oxlname) }]<span class="req">*</span>[{/if}]
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td><label>[{ oxmultilang ident="USER_COMPANY2" }]</label></td>
|
|
<td>
|
|
<input type="text" size="37" maxlength="255" name="deladr[oxaddress__oxcompany]" value="[{if isset( $deladr.oxaddress__oxcompany ) }][{$deladr.oxaddress__oxcompany}][{else}][{$delivadr->oxaddress__oxcompany->value }][{/if}]">
|
|
[{if $oView->isFieldRequired(oxaddress__oxcompany) }]<span class="req">*</span>[{/if}]
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td><label>[{ oxmultilang ident="USER_STREET2" }]</label></td>
|
|
<td>
|
|
<input type="text" size="28" maxlength="255" name="deladr[oxaddress__oxstreet]" value="[{if isset( $deladr.oxaddress__oxstreet ) }][{$deladr.oxaddress__oxstreet}][{else}][{$delivadr->oxaddress__oxstreet->value}][{/if}]">
|
|
<input type="text" size="5" maxlength="16" name="deladr[oxaddress__oxstreetnr]" value="[{if isset( $deladr.oxaddress__oxstreetnr ) }][{$deladr.oxaddress__oxstreetnr}][{else}][{$delivadr->oxaddress__oxstreetnr->value }][{/if}]">
|
|
[{if $oView->isFieldRequired(oxaddress__oxstreet) || $oView->isFieldRequired(oxaddress__oxstreetnr) }]<span class="req">*</span>[{/if}]
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td><label>[{ oxmultilang ident="USER_PLZANDCITY2" }]</label></td>
|
|
<td>
|
|
<input type="text" size="5" maxlength="16" name="deladr[oxaddress__oxzip]" value="[{if isset( $deladr.oxaddress__oxzip ) }][{$deladr.oxaddress__oxzip}][{else}][{$delivadr->oxaddress__oxzip->value }][{/if}]">
|
|
<input type="text" size="28" maxlength="255" name="deladr[oxaddress__oxcity]" value="[{if isset( $deladr.oxaddress__oxcity ) }][{$deladr.oxaddress__oxcity}][{else}][{$delivadr->oxaddress__oxcity->value }][{/if}]">
|
|
[{if $oView->isFieldRequired(oxaddress__oxzip) || $oView->isFieldRequired(oxaddress__oxcity) }]<span class="req">*</span>[{/if}]
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td><label>[{ oxmultilang ident="USER_ADDITIONALINFO2" }]</label></td>
|
|
<td>
|
|
<input type="text" size="37" maxlength="255" name="deladr[oxaddress__oxaddinfo]" value="[{if isset( $deladr.oxaddress__oxaddinfo ) }][{$deladr.oxaddress__oxaddinfo}][{else}][{$delivadr->oxaddress__oxaddinfo->value }][{/if}]">
|
|
[{if $oView->isFieldRequired(oxaddress__oxaddinfo) }]<span class="req">*</span>[{/if}]
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td><label>[{ oxmultilang ident="USER_COUNTRY2" }]</label></td>
|
|
<td>
|
|
<select id="del_country_select" name="deladr[oxaddress__oxcountryid]">
|
|
<option value="">-</option>
|
|
[{foreach from=$oView->getCountryList() item=country key=country_id}]
|
|
<option value="[{$country->oxcountry__oxid->value}]" [{if isset( $deladr.oxaddress__oxcountryid ) && $deladr.oxaddress__oxcountryid == $country->oxcountry__oxid->value}]selected[{elseif $delivadr->oxaddress__oxcountryid->value == $country->oxcountry__oxid->value}]selected[{/if}]>[{$country->oxcountry__oxtitle->value}]</option>
|
|
[{/foreach}]
|
|
</select>
|
|
[{if $oView->isFieldRequired(oxaddress__oxcountryid) }]<span class="req">*</span>[{/if}]
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>
|
|
[{include file="inc/state_selector.snippet.tpl"
|
|
countrySelectId="del_country_select"
|
|
stateSelectName="deladr[oxaddress__oxstateid]"
|
|
selectedStateIdPrim=$deladr.oxaddress__oxstateid
|
|
selectedStateId=$delivadr->oxaddress__oxstateid->value
|
|
}]
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td><label>[{ oxmultilang ident="USER_PHONE2" }]</label></td>
|
|
<td>
|
|
<input type="text" size="37" maxlength="128" name="deladr[oxaddress__oxfon]" value="[{if isset( $deladr.oxaddress__oxfon ) }][{$deladr.oxaddress__oxfon}][{else}][{$delivadr->oxaddress__oxfon->value }][{/if}]">
|
|
[{if $oView->isFieldRequired(oxaddress__oxfon) }]<span class="req">*</span>[{/if}]
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td><label>[{ oxmultilang ident="USER_FAX2" }]</label></td>
|
|
<td>
|
|
<input type="text" size="37" maxlength="128" name="deladr[oxaddress__oxfax]" value="[{if isset( $deladr.oxaddress__oxfax ) }][{$deladr.oxaddress__oxfax}][{else}][{$delivadr->oxaddress__oxfax->value }][{/if}]">
|
|
[{if $oView->isFieldRequired(oxaddress__oxfax) }]<span class="req">*</span>[{/if}]
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
[{/if}]
|
|
</div>
|
|
|
|
[{if $oView->isLowOrderPrice()}]
|
|
<div class="bar prevnext order">
|
|
<div class="minorderprice">[{ oxmultilang ident="BASKET_MINORDERPRICE" }] [{ $oView->getMinOrderPrice() }] [{ $currency->sign }]</div>
|
|
</div>
|
|
[{else}]
|
|
<div class="bar prevnext">
|
|
<div class="right arrowright">
|
|
<input id="test_UserNextStepBottom" name="userform" type="submit" value="[{ oxmultilang ident="USER_NEXTSTEP" }]">
|
|
</div>
|
|
</div>
|
|
[{/if}]
|
|
|
|
</form>
|
|
|
|
|
|
[{/if}]
|
|
|
|
|
|
[{ insert name="oxid_tracker" title=$template_title }]
|
|
[{include file="_footer.tpl"}]
|