{* * 2007-2013 PrestaShop * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License (AFL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/afl-3.0.php * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to license@prestashop.com so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to http://www.prestashop.com for more information. * * @author PrestaShop SA * @copyright 2007-2013 PrestaShop SA * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA *} {* Will be deleted for 1.5 version and more *} {* Smarty code compatibility v2 *} {* If ordered_adr_fields doesn't exist, it's a PrestaShop older than 1.4.2 *} {if !isset($dlv_all_fields)} {$dlv_all_fields.0 = 'company'} {$dlv_all_fields.1 = 'firstname'} {$dlv_all_fields.2 = 'lastname'} {$dlv_all_fields.3 = 'address1'} {$dlv_all_fields.4 = 'address2'} {$dlv_all_fields.5 = 'postcode'} {$dlv_all_fields.6 = 'city'} {$dlv_all_fields.7 = 'country'} {$dlv_all_fields.8 = 'state'} {/if} {** Landing page: display longin/register form pages *} {if !isset($email_create)} {** Display Login form *} {include file="$tpl_dir./header-page.tpl" page="login"} {include file="$tpl_dir./authentication-head.tpl"}
{if isset($back)}{/if}

{l s='Forgot your password?'}
{include file="$tpl_dir./footer-page.tpl" page="login"} {** End of login form *} {** Display Register form part 1 (email) *} {include file="$tpl_dir./header-page.tpl" page="register"} {include file="$tpl_dir./authentication-head.tpl"}
{if isset($back)}{/if}
{include file="$tpl_dir./footer-page.tpl" page="login"} {** End pf register form part 1 (email) *} {/if} {** End of landing page (Login/Register) *} {** Beginning of Guest checkout *} {if !isset($email_create) && isset($inOrderProcess) && $inOrderProcess && $PS_GUEST_CHECKOUT_ENABLED} {include file="$tpl_dir./header-page.tpl" page="guest_checkout"} {include file="$tpl_dir./authentication-head.tpl"}

{l s='Instant Checkout'}

*

{l s='Title'}

*

*

{l s='Date of Birth'}

{if isset($newsletter) && $newsletter}

{/if}

{l s='Delivery address'}

{foreach from=$dlv_all_fields item=field_name} {if $field_name eq "company"}

{elseif $field_name eq "vat_number"} {elseif $field_name eq "address1"}

*

{elseif $field_name eq "postcode"}

*

{elseif $field_name eq "city"}

*

{elseif $field_name eq "Country:name" || $field_name eq "country"}

*

{elseif $field_name eq "State:name" || $field_name eq 'state'} {assign var='stateExist' value=true}

*

{elseif $field_name eq "phone"}

*

{/if} {/foreach} {if $stateExist eq false}

*

{/if}

*{l s='Required field'}

{include file="$tpl_dir./footer-page.tpl" page="guest_checkout"} {/if} {** End of Guest checkout *} {if isset($email_create)} {** Beginning of Register page part 2 (user filled the email *} {capture name="forceback"}{$link->getPageLink('authentication.php')}{/capture} {include file="$tpl_dir./header-page.tpl" page="register"} {include file="$tpl_dir./authentication-head.tpl"}

{l s='Your Information'}

{l s='Title'}
{l s='Date of Birth'}
{if isset($newsletter) && $newsletter}
{/if}

{l s='Your Address'}

{foreach from=$dlv_all_fields item=field_name} {if $field_name == "company"}
{elseif $field_name eq "vat_number"} {elseif $field_name eq "firstname"}
{elseif $field_name eq "lastname"}
{elseif $field_name eq "address1"}
{l s='(Street address, P.O. box, company name, c/o)'}
{elseif $field_name eq "address2"}
{l s='(Apartment, suite, unit, building, floor, etc.)'}
{elseif $field_name eq "postcode"}
{elseif $field_name eq "city"}
{elseif $field_name eq "Country:name" || $field_name eq "country"}
{elseif $field_name eq "State:name" || $field_name eq 'state'} {assign var='stateExist' value=true}
{/if} {/foreach} {if $stateExist eq false}
{/if}
{l s='You must register at least one phone number'} *
{if isset($back)}{/if} *{l s='Required field'}
{include file="$tpl_dir./footer-page.tpl" page="register"} {/if} {** End of Register form part 2 *}