0byt3m1n1 - D7net
0byt3m1n1 - D7net
Path:
/
home
/
s13cf5ef
/
www
/
pshoptuscamisetaspersonalizadas
/
cache
/
smarty
/
compile
/
f6
/
1c
/
ee
/
[
Home
]
Name File: f61cee03342c4bfa472b2b7ae2f8b9eb2f0c656a.file.authentication-create-account.tpl.php
< back
<?php /* Smarty version Smarty-3.1.13, created on 2013-07-23 13:17:55 compiled from "/home/s13cf5ef/public_html/pshoptuscamisetaspersonalizadas/themes/default/mobile/authentication-create-account.tpl" */ ?> <?php /*%%SmartyHeaderCode:41286284351ee6663c6fd07-61705940%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed'); $_valid = $_smarty_tpl->decodeProperties(array ( 'file_dependency' => array ( 'f61cee03342c4bfa472b2b7ae2f8b9eb2f0c656a' => array ( 0 => '/home/s13cf5ef/public_html/pshoptuscamisetaspersonalizadas/themes/default/mobile/authentication-create-account.tpl', 1 => 1369705051, 2 => 'file', ), ), 'nocache_hash' => '41286284351ee6663c6fd07-61705940', 'function' => array ( ), 'variables' => array ( 'link' => 0, 'HOOK_CREATE_ACCOUNT_TOP' => 0, 'genders' => 0, 'gender' => 0, 'days' => 0, 'day' => 0, 'sl_day' => 0, 'months' => 0, 'k' => 0, 'sl_month' => 0, 'month' => 0, 'years' => 0, 'year' => 0, 'sl_year' => 0, 'newsletter' => 0, 'b2b_enable' => 0, 'PS_REGISTRATION_PROCESS_TYPE' => 0, 'dlv_all_fields' => 0, 'field_name' => 0, 'countries' => 0, 'v' => 0, 'sl_country' => 0, 'stateExist' => 0, 'HOOK_CREATE_ACCOUNT_FORM' => 0, 'back' => 0, ), 'has_nocache_code' => false, 'version' => 'Smarty-3.1.13', 'unifunc' => 'content_51ee6664115b32_86837680', ),false); /*/%%SmartyHeaderCode%%*/?> <?php if ($_valid && !is_callable('content_51ee6664115b32_86837680')) {function content_51ee6664115b32_86837680($_smarty_tpl) {?><?php if (!is_callable('smarty_modifier_escape')) include '/home/s13cf5ef/public_html/pshoptuscamisetaspersonalizadas/tools/smarty/plugins/modifier.escape.php'; ?><form action="<?php echo $_smarty_tpl->tpl_vars['link']->value->getPageLink('authentication',true);?> " method="post" id="account-creation_form" class="std"> <?php echo $_smarty_tpl->tpl_vars['HOOK_CREATE_ACCOUNT_TOP']->value;?> <fieldset class="account_creation"> <h3><?php echo smartyTranslate(array('s'=>'Your personal information'),$_smarty_tpl);?> </h3> <p class="radio required"> <label><?php echo smartyTranslate(array('s'=>'Title'),$_smarty_tpl);?> </label> <?php $_smarty_tpl->tpl_vars['gender'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['gender']->_loop = false; $_smarty_tpl->tpl_vars['k'] = new Smarty_Variable; $_from = $_smarty_tpl->tpl_vars['genders']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} foreach ($_from as $_smarty_tpl->tpl_vars['gender']->key => $_smarty_tpl->tpl_vars['gender']->value){ $_smarty_tpl->tpl_vars['gender']->_loop = true; $_smarty_tpl->tpl_vars['k']->value = $_smarty_tpl->tpl_vars['gender']->key; ?> <input type="radio" name="id_gender" id="id_gender<?php echo $_smarty_tpl->tpl_vars['gender']->value->id;?> " value="<?php echo $_smarty_tpl->tpl_vars['gender']->value->id;?> " <?php if (isset($_POST['id_gender'])&&$_POST['id_gender']==$_smarty_tpl->tpl_vars['gender']->value->id){?>checked="checked"<?php }?> /> <label for="id_gender<?php echo $_smarty_tpl->tpl_vars['gender']->value->id;?> " class="top"><?php echo $_smarty_tpl->tpl_vars['gender']->value->name;?> </label> <?php } ?> </p> <p class="required"> <label for="customer_firstname"><?php echo smartyTranslate(array('s'=>'First name'),$_smarty_tpl);?> <sup>*</sup></label> <input onkeyup="$('#firstname').val(this.value);" type="text" class="text" id="customer_firstname" name="customer_firstname" value="<?php if (isset($_POST['customer_firstname'])){?><?php echo $_POST['customer_firstname'];?> <?php }?>" /> </p> <p class="required"> <label for="customer_lastname"><?php echo smartyTranslate(array('s'=>'Last name'),$_smarty_tpl);?> <sup>*</sup></label> <input onkeyup="$('#lastname').val(this.value);" type="text" class="text" id="customer_lastname" name="customer_lastname" value="<?php if (isset($_POST['customer_lastname'])){?><?php echo $_POST['customer_lastname'];?> <?php }?>" /> </p> <p class="required"> <label for="email"><?php echo smartyTranslate(array('s'=>'E-Mail:'),$_smarty_tpl);?> <sup>*</sup></label> <input type="text" class="text" id="email" name="email" value="<?php if (isset($_POST['email'])){?><?php echo $_POST['email'];?> <?php }?>" /> </p> <p class="required"> <label for="passwd"><?php echo smartyTranslate(array('s'=>'Password'),$_smarty_tpl);?> <sup>*</sup></label> <input type="password" class="text" name="passwd" id="passwd" /> <span><?php echo smartyTranslate(array('s'=>'(5 characters min.)'),$_smarty_tpl);?> </span> </p> <p class="select"> <label><?php echo smartyTranslate(array('s'=>'Date of Birth'),$_smarty_tpl);?> </label> <select id="days" name="days"> <option value="">-</option> <?php $_smarty_tpl->tpl_vars['day'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['day']->_loop = false; $_from = $_smarty_tpl->tpl_vars['days']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} foreach ($_from as $_smarty_tpl->tpl_vars['day']->key => $_smarty_tpl->tpl_vars['day']->value){ $_smarty_tpl->tpl_vars['day']->_loop = true; ?> <option value="<?php echo smarty_modifier_escape($_smarty_tpl->tpl_vars['day']->value, 'htmlall', 'UTF-8');?> " <?php if (($_smarty_tpl->tpl_vars['sl_day']->value==$_smarty_tpl->tpl_vars['day']->value)){?> selected="selected"<?php }?>><?php echo smarty_modifier_escape($_smarty_tpl->tpl_vars['day']->value, 'htmlall', 'UTF-8');?> </option> <?php } ?> </select> <select id="months" name="months"> <option value="">-</option> <?php $_smarty_tpl->tpl_vars['month'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['month']->_loop = false; $_smarty_tpl->tpl_vars['k'] = new Smarty_Variable; $_from = $_smarty_tpl->tpl_vars['months']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} foreach ($_from as $_smarty_tpl->tpl_vars['month']->key => $_smarty_tpl->tpl_vars['month']->value){ $_smarty_tpl->tpl_vars['month']->_loop = true; $_smarty_tpl->tpl_vars['k']->value = $_smarty_tpl->tpl_vars['month']->key; ?> <option value="<?php echo smarty_modifier_escape($_smarty_tpl->tpl_vars['k']->value, 'htmlall', 'UTF-8');?> " <?php if (($_smarty_tpl->tpl_vars['sl_month']->value==$_smarty_tpl->tpl_vars['k']->value)){?> selected="selected"<?php }?>><?php echo smartyTranslate(array('s'=>$_smarty_tpl->tpl_vars['month']->value),$_smarty_tpl);?> </option> <?php } ?> </select> <select id="years" name="years"> <option value="">-</option> <?php $_smarty_tpl->tpl_vars['year'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['year']->_loop = false; $_from = $_smarty_tpl->tpl_vars['years']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} foreach ($_from as $_smarty_tpl->tpl_vars['year']->key => $_smarty_tpl->tpl_vars['year']->value){ $_smarty_tpl->tpl_vars['year']->_loop = true; ?> <option value="<?php echo smarty_modifier_escape($_smarty_tpl->tpl_vars['year']->value, 'htmlall', 'UTF-8');?> " <?php if (($_smarty_tpl->tpl_vars['sl_year']->value==$_smarty_tpl->tpl_vars['year']->value)){?> selected="selected"<?php }?>><?php echo smarty_modifier_escape($_smarty_tpl->tpl_vars['year']->value, 'htmlall', 'UTF-8');?> </option> <?php } ?> </select> </p> <?php if ($_smarty_tpl->tpl_vars['newsletter']->value){?> <p class="checkbox" > <input type="checkbox" name="newsletter" id="newsletter" value="1" <?php if (isset($_POST['newsletter'])&&$_POST['newsletter']==1){?> checked="checked"<?php }?> /> <label for="newsletter"><?php echo smartyTranslate(array('s'=>'Sign up for our newsletter!'),$_smarty_tpl);?> </label> </p> <p class="checkbox" > <input type="checkbox"name="optin" id="optin" value="1" <?php if (isset($_POST['optin'])&&$_POST['optin']==1){?> checked="checked"<?php }?> /> <label for="optin"><?php echo smartyTranslate(array('s'=>'Receive special offers from our partners!'),$_smarty_tpl);?> </label> </p> <?php }?> </fieldset> <?php if ($_smarty_tpl->tpl_vars['b2b_enable']->value){?> <fieldset class="account_creation"> <h3><?php echo smartyTranslate(array('s'=>'Your company information'),$_smarty_tpl);?> </h3> <p class="text"> <label for=""><?php echo smartyTranslate(array('s'=>'Company'),$_smarty_tpl);?> </label> <input type="text" class="text" id="company" name="company" value="<?php if (isset($_POST['company'])){?><?php echo $_POST['company'];?> <?php }?>" /> </p> <p class="text"> <label for="siret"><?php echo smartyTranslate(array('s'=>'SIRET'),$_smarty_tpl);?> </label> <input type="text" class="text" id="siret" name="siret" value="<?php if (isset($_POST['siret'])){?><?php echo $_POST['siret'];?> <?php }?>" /> </p> <p class="text"> <label for="ape"><?php echo smartyTranslate(array('s'=>'APE'),$_smarty_tpl);?> </label> <input type="text" class="text" id="ape" name="ape" value="<?php if (isset($_POST['ape'])){?><?php echo $_POST['ape'];?> <?php }?>" /> </p> <p class="text"> <label for="website"><?php echo smartyTranslate(array('s'=>'Website'),$_smarty_tpl);?> </label> <input type="text" class="text" id="website" name="website" value="<?php if (isset($_POST['website'])){?><?php echo $_POST['website'];?> <?php }?>" /> </p> </fieldset> <?php }?> <?php if (isset($_smarty_tpl->tpl_vars['PS_REGISTRATION_PROCESS_TYPE']->value)&&$_smarty_tpl->tpl_vars['PS_REGISTRATION_PROCESS_TYPE']->value){?> <fieldset class="account_creation"> <h3><?php echo smartyTranslate(array('s'=>'Your address'),$_smarty_tpl);?> </h3> <?php $_smarty_tpl->tpl_vars['field_name'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['field_name']->_loop = false; $_from = $_smarty_tpl->tpl_vars['dlv_all_fields']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} foreach ($_from as $_smarty_tpl->tpl_vars['field_name']->key => $_smarty_tpl->tpl_vars['field_name']->value){ $_smarty_tpl->tpl_vars['field_name']->_loop = true; ?> <?php if ($_smarty_tpl->tpl_vars['field_name']->value=="company"){?> <p class="text"> <label for="company"><?php echo smartyTranslate(array('s'=>'Company'),$_smarty_tpl);?> </label> <input type="text" class="text" id="company" name="company" value="<?php if (isset($_POST['company'])){?><?php echo $_POST['company'];?> <?php }?>" /> </p> <?php }elseif($_smarty_tpl->tpl_vars['field_name']->value=="vat_number"){?> <div id="vat_number" style="display:none;"> <p class="text"> <label for="vat_number"><?php echo smartyTranslate(array('s'=>'VAT number'),$_smarty_tpl);?> </label> <input type="text" class="text" name="vat_number" value="<?php if (isset($_POST['vat_number'])){?><?php echo $_POST['vat_number'];?> <?php }?>" /> </p> </div> <?php }elseif($_smarty_tpl->tpl_vars['field_name']->value=="firstname"){?> <p class="required text"> <label for="firstname"><?php echo smartyTranslate(array('s'=>'First name'),$_smarty_tpl);?> <sup>*</sup></label> <input type="text" class="text" id="firstname" name="firstname" value="<?php if (isset($_POST['firstname'])){?><?php echo $_POST['firstname'];?> <?php }?>" /> </p> <?php }elseif($_smarty_tpl->tpl_vars['field_name']->value=="lastname"){?> <p class="required text"> <label for="lastname"><?php echo smartyTranslate(array('s'=>'Last name'),$_smarty_tpl);?> <sup>*</sup></label> <input type="text" class="text" id="lastname" name="lastname" value="<?php if (isset($_POST['lastname'])){?><?php echo $_POST['lastname'];?> <?php }?>" /> </p> <?php }elseif($_smarty_tpl->tpl_vars['field_name']->value=="address1"){?> <p class="required text"> <label for="address1"><?php echo smartyTranslate(array('s'=>'Address'),$_smarty_tpl);?> <sup>*</sup></label> <input type="text" class="text" name="address1" id="address1" value="<?php if (isset($_POST['address1'])){?><?php echo $_POST['address1'];?> <?php }?>" /> <span class="inline-infos"><?php echo smartyTranslate(array('s'=>'Street address, P.O. Box, company name, etc.'),$_smarty_tpl);?> </span> </p> <?php }elseif($_smarty_tpl->tpl_vars['field_name']->value=="address2"){?> <p class="text"> <label for="address2"><?php echo smartyTranslate(array('s'=>'Address (Line 2)'),$_smarty_tpl);?> </label> <input type="text" class="text" name="address2" id="address2" value="<?php if (isset($_POST['address2'])){?><?php echo $_POST['address2'];?> <?php }?>" /> <span class="inline-infos"><?php echo smartyTranslate(array('s'=>'Apartment, suite, unit, building, floor, etc...'),$_smarty_tpl);?> </span> </p> <?php }elseif($_smarty_tpl->tpl_vars['field_name']->value=="postcode"){?> <p class="required postcode text"> <label for="postcode"><?php echo smartyTranslate(array('s'=>'Zip / Postal Code'),$_smarty_tpl);?> <sup>*</sup></label> <input type="text" class="text" name="postcode" id="postcode" value="<?php if (isset($_POST['postcode'])){?><?php echo $_POST['postcode'];?> <?php }?>" onkeyup="$('#postcode').val($('#postcode').val().toUpperCase());" /> </p> <?php }elseif($_smarty_tpl->tpl_vars['field_name']->value=="city"){?> <p class="required text"> <label for="city"><?php echo smartyTranslate(array('s'=>'City'),$_smarty_tpl);?> <sup>*</sup></label> <input type="text" class="text" name="city" id="city" value="<?php if (isset($_POST['city'])){?><?php echo $_POST['city'];?> <?php }?>" /> </p> <!-- if customer hasn't update his layout address, country has to be verified but it's deprecated --> <?php }elseif($_smarty_tpl->tpl_vars['field_name']->value=="Country:name"||$_smarty_tpl->tpl_vars['field_name']->value=="country"){?> <p class="required select"> <label for="id_country"><?php echo smartyTranslate(array('s'=>'Country'),$_smarty_tpl);?> <sup>*</sup></label> <select name="id_country" id="id_country"> <option value="">-</option> <?php $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false; $_from = $_smarty_tpl->tpl_vars['countries']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value){ $_smarty_tpl->tpl_vars['v']->_loop = true; ?> <option value="<?php echo $_smarty_tpl->tpl_vars['v']->value['id_country'];?> " <?php if (($_smarty_tpl->tpl_vars['sl_country']->value==$_smarty_tpl->tpl_vars['v']->value['id_country'])){?> selected="selected"<?php }?>><?php echo smarty_modifier_escape($_smarty_tpl->tpl_vars['v']->value['name'], 'htmlall', 'UTF-8');?> </option> <?php } ?> </select> </p> <?php }elseif($_smarty_tpl->tpl_vars['field_name']->value=="State:name"||$_smarty_tpl->tpl_vars['field_name']->value=='state'){?> <?php $_smarty_tpl->tpl_vars['stateExist'] = new Smarty_variable(true, null, 0);?> <p class="required id_state select"> <label for="id_state"><?php echo smartyTranslate(array('s'=>'State'),$_smarty_tpl);?> <sup>*</sup></label> <select name="id_state" id="id_state"> <option value="">-</option> </select> </p> <?php }?> <?php } ?> <?php if ($_smarty_tpl->tpl_vars['stateExist']->value==false){?> <p class="required id_state select"> <label for="id_state"><?php echo smartyTranslate(array('s'=>'State'),$_smarty_tpl);?> <sup>*</sup></label> <select name="id_state" id="id_state"> <option value="">-</option> </select> </p> <?php }?> <p class="textarea"> <label for="other"><?php echo smartyTranslate(array('s'=>'Additional information'),$_smarty_tpl);?> </label> <textarea name="other" id="other" cols="26" rows="3"><?php if (isset($_POST['other'])){?><?php echo $_POST['other'];?> <?php }?></textarea> </p> <p class="inline-infos"><?php echo smartyTranslate(array('s'=>'You must register at least one phone number'),$_smarty_tpl);?> </p> <p class="text"> <label for="phone"><?php echo smartyTranslate(array('s'=>'Home phone'),$_smarty_tpl);?> </label> <input type="text" class="text" name="phone" id="phone" value="<?php if (isset($_POST['phone'])){?><?php echo $_POST['phone'];?> <?php }?>" /> </p> <p class="text"> <label for="phone_mobile"><?php echo smartyTranslate(array('s'=>'Mobile phone'),$_smarty_tpl);?> <sup>*</sup></label> <input type="text" class="text" name="phone_mobile" id="phone_mobile" value="<?php if (isset($_POST['phone_mobile'])){?><?php echo $_POST['phone_mobile'];?> <?php }?>" /> </p> <p class="required text" id="address_alias"> <label for="alias"><?php echo smartyTranslate(array('s'=>'Assign an address alias for future reference'),$_smarty_tpl);?> <sup>*</sup></label> <input type="text" class="text" name="alias" id="alias" value="<?php if (isset($_POST['alias'])){?><?php echo $_POST['alias'];?> <?php }else{ ?><?php echo smartyTranslate(array('s'=>'My address'),$_smarty_tpl);?> <?php }?>" /> </p> </fieldset> <fieldset class="account_creation dni"> <h3><?php echo smartyTranslate(array('s'=>'Tax identification'),$_smarty_tpl);?> </h3> <p class="required text"> <label for="dni"><?php echo smartyTranslate(array('s'=>'Identification number'),$_smarty_tpl);?> </label> <input type="text" class="text" name="dni" id="dni" value="<?php if (isset($_POST['dni'])){?><?php echo $_POST['dni'];?> <?php }?>" /> <span class="form_info"><?php echo smartyTranslate(array('s'=>'DNI / NIF / NIE'),$_smarty_tpl);?> </span> </p> </fieldset> <?php }?> <?php echo $_smarty_tpl->tpl_vars['HOOK_CREATE_ACCOUNT_FORM']->value;?> <p class="cart_navigation required submit"> <input type="hidden" name="email_create" value="1" /> <input type="hidden" name="is_new_customer" value="1" /> <?php if (isset($_smarty_tpl->tpl_vars['back']->value)){?><input type="hidden" class="hidden" name="back" value="<?php echo smarty_modifier_escape($_smarty_tpl->tpl_vars['back']->value, 'htmlall', 'UTF-8');?> " /><?php }?> <input type="submit" name="submitAccount" id="submitAccount" value="<?php echo smartyTranslate(array('s'=>'Register'),$_smarty_tpl);?> " class="exclusive" /> <span><sup>*</sup><?php echo smartyTranslate(array('s'=>'Required field'),$_smarty_tpl);?> </span> </p> </form><?php }} ?>
©
2018. | Recode by D7net