<?php /* Smarty version Smarty-3.1.15, created on 2015-04-27 21:12:32
         compiled from "/home/hushdogcafe/public_html/cube/skins/foundation/templates/content.checkout.confirm.php" */ ?>
<?php /*%%SmartyHeaderCode:1817942577553e35c0942bc6-70975772%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '7036c73032f4e591f8471b2ff17e704a393ba632' => 
    array (
      0 => '/home/hushdogcafe/public_html/cube/skins/foundation/templates/content.checkout.confirm.php',
      1 => 1429684646,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '1817942577553e35c0942bc6-70975772',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'IS_USER' => 0,
    'CTRL_DELIVERY' => 0,
    'LANG' => 0,
    'DATA' => 0,
    'STORE_URL' => 0,
    'ADDRESSES' => 0,
    'address' => 0,
    'BILLING' => 0,
    'USER' => 0,
    'DELIVERY' => 0,
    'USERNAME' => 0,
    'ALLOW_DELIVERY_ADDRESS' => 0,
    'ADDRESS_LOOKUP' => 0,
    'COUNTRIES' => 0,
    'country' => 0,
    'TERMS_CONDITIONS' => 0,
    'TERMS_CONDITIONS_CHECKED' => 0,
    'MAILING_LIST_SUBSCRIBE' => 0,
    'DELIVERY_CHECKED' => 0,
    'STATE_JSON' => 0,
    'REGISTER_CHECKED' => 0,
    'VAL_CUSTOMER_COMMENTS' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.15',
  'unifunc' => 'content_553e35c0cff980_59362545',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_553e35c0cff980_59362545')) {function content_553e35c0cff980_59362545($_smarty_tpl) {?><?php if (!is_callable('smarty_modifier_replace')) include '/home/hushdogcafe/public_html/cube/includes/lib/smarty/plugins/modifier.replace.php';
?>
<?php if ($_smarty_tpl->tpl_vars['IS_USER']->value) {?>
<div class="row">
   <div class="large-6 columns">
      <h2><?php if ($_smarty_tpl->tpl_vars['CTRL_DELIVERY']->value) {?><?php echo $_smarty_tpl->tpl_vars['LANG']->value['address']['billing_address'];?>
<?php } else { ?><?php echo $_smarty_tpl->tpl_vars['LANG']->value['address']['billing_delivery_address'];?>
<?php }?></h2>
      <?php echo $_smarty_tpl->tpl_vars['DATA']->value['title'];?>
 <?php echo $_smarty_tpl->tpl_vars['DATA']->value['first_name'];?>
 <?php echo $_smarty_tpl->tpl_vars['DATA']->value['last_name'];?>
<br>
      <?php if ($_smarty_tpl->tpl_vars['DATA']->value['company_name']) {?><?php echo $_smarty_tpl->tpl_vars['DATA']->value['company_name'];?>
<br><?php }?>
      <?php echo $_smarty_tpl->tpl_vars['DATA']->value['line1'];?>
<br>
      <?php if ($_smarty_tpl->tpl_vars['DATA']->value['line2']) {?><?php echo $_smarty_tpl->tpl_vars['DATA']->value['line2'];?>
<br><?php }?>
      <?php echo $_smarty_tpl->tpl_vars['DATA']->value['town'];?>
<br>
      <?php echo $_smarty_tpl->tpl_vars['DATA']->value['state'];?>
, <?php echo $_smarty_tpl->tpl_vars['DATA']->value['postcode'];?>
<br>
      <?php echo $_smarty_tpl->tpl_vars['DATA']->value['country'];?>

      <div class="pad-top"><a href="<?php echo $_smarty_tpl->tpl_vars['STORE_URL']->value;?>
/index.php?_a=addressbook&action=edit&address_id=<?php echo $_smarty_tpl->tpl_vars['DATA']->value['address_id'];?>
&redir=confirm" class="button tiny secondary"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['address']['address_edit'];?>
</a></div>
   </div>
   <div class="large-6 columns">
      <?php if ($_smarty_tpl->tpl_vars['CTRL_DELIVERY']->value) {?>
      <h2><?php echo $_smarty_tpl->tpl_vars['LANG']->value['address']['delivery_address'];?>
</h2>
      <select name="delivery_address" style="text-transform:capitalize;">
      <?php  $_smarty_tpl->tpl_vars['address'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['address']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['ADDRESSES']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['address']->key => $_smarty_tpl->tpl_vars['address']->value) {
$_smarty_tpl->tpl_vars['address']->_loop = true;
?>
      <option value="<?php echo $_smarty_tpl->tpl_vars['address']->value['address_id'];?>
" <?php echo $_smarty_tpl->tpl_vars['address']->value['selected'];?>
><?php echo $_smarty_tpl->tpl_vars['address']->value['description'];?>
 (<?php echo $_smarty_tpl->tpl_vars['address']->value['state'];?>
, <?php echo $_smarty_tpl->tpl_vars['address']->value['postcode'];?>
)</option>
      <?php } ?>
      </select>
      <div class="pad-top"><a href="<?php echo $_smarty_tpl->tpl_vars['STORE_URL']->value;?>
/index.php?_a=addressbook&action=add&redir=confirm" class="button tiny secondary"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['address']['address_add'];?>
</a></div>
      <?php }?>
   </div>
</div>
<?php } else { ?>
<div id="register_false_address" class="row<?php if (empty($_smarty_tpl->tpl_vars['BILLING']->value['line1'])) {?> hide<?php }?>">
   <div class="large-6 columns">
      <h2><?php echo $_smarty_tpl->tpl_vars['LANG']->value['address']['billing_address'];?>
</h2>
      <?php echo $_smarty_tpl->tpl_vars['BILLING']->value['title'];?>
 <?php echo $_smarty_tpl->tpl_vars['BILLING']->value['first_name'];?>
 <?php echo $_smarty_tpl->tpl_vars['BILLING']->value['last_name'];?>
<br>
      <?php if ($_smarty_tpl->tpl_vars['BILLING']->value['company_name']) {?><?php echo $_smarty_tpl->tpl_vars['BILLING']->value['company_name'];?>
<br><?php }?>
      <?php echo $_smarty_tpl->tpl_vars['BILLING']->value['line1'];?>
<br>
      <?php if ($_smarty_tpl->tpl_vars['BILLING']->value['line2']) {?><?php echo $_smarty_tpl->tpl_vars['BILLING']->value['line2'];?>
<br><?php }?>
      <?php echo $_smarty_tpl->tpl_vars['BILLING']->value['town'];?>
<br>
      <?php echo $_smarty_tpl->tpl_vars['BILLING']->value['state'];?>
, <?php echo $_smarty_tpl->tpl_vars['BILLING']->value['postcode'];?>
<br>
      <?php echo $_smarty_tpl->tpl_vars['BILLING']->value['country_iso'];?>

      <h3><?php echo $_smarty_tpl->tpl_vars['LANG']->value['account']['contact_details'];?>
</h3>
      <table>
        <tr><td align="center"><i class="fa fa-envelope"></i></td><td><?php echo $_smarty_tpl->tpl_vars['BILLING']->value['first_name'];?>
 <?php echo $_smarty_tpl->tpl_vars['BILLING']->value['last_name'];?>
 &lt;<?php echo $_smarty_tpl->tpl_vars['USER']->value['email'];?>
&gt;</td></tr>
        <tr><td align="center"><i class="fa fa-phone"></i></td><td><?php echo $_smarty_tpl->tpl_vars['USER']->value['phone'];?>
</td></tr>
        <?php if (!empty($_smarty_tpl->tpl_vars['USER']->value['mobile'])) {?><tr><td align="center"><i class="fa fa-mobile"></i></td><td><?php echo $_smarty_tpl->tpl_vars['USER']->value['mobile'];?>
</td></tr><?php }?>
      </table>
   </div>
   <div class="large-6 columns">
      <h2><?php echo $_smarty_tpl->tpl_vars['LANG']->value['address']['delivery_address'];?>
</h2>
      <?php echo $_smarty_tpl->tpl_vars['DELIVERY']->value['title'];?>
 <?php echo $_smarty_tpl->tpl_vars['DELIVERY']->value['first_name'];?>
 <?php echo $_smarty_tpl->tpl_vars['DELIVERY']->value['last_name'];?>
<br>
      <?php if ($_smarty_tpl->tpl_vars['DELIVERY']->value['company_name']) {?><?php echo $_smarty_tpl->tpl_vars['DELIVERY']->value['company_name'];?>
<br><?php }?>
      <?php echo $_smarty_tpl->tpl_vars['DELIVERY']->value['line1'];?>
<br>
      <?php if ($_smarty_tpl->tpl_vars['DELIVERY']->value['line2']) {?><?php echo $_smarty_tpl->tpl_vars['DELIVERY']->value['line2'];?>
<br><?php }?>
      <?php echo $_smarty_tpl->tpl_vars['DELIVERY']->value['town'];?>
<br>
      <?php echo $_smarty_tpl->tpl_vars['DELIVERY']->value['state'];?>
, <?php echo $_smarty_tpl->tpl_vars['DELIVERY']->value['postcode'];?>
<br>
      <?php echo $_smarty_tpl->tpl_vars['DELIVERY']->value['country_iso'];?>

      <div class="pad-top"><a href="#" class="button small show_address_form"><i class="fa fa-reply"></i> <?php echo $_smarty_tpl->tpl_vars['LANG']->value['form']['make_changes'];?>
</a></div>
   </div>
</div>
<div class="hide" id="checkout_login_form">
   <h2><?php echo $_smarty_tpl->tpl_vars['LANG']->value['account']['login'];?>
</h2>
   <p><?php echo $_smarty_tpl->tpl_vars['LANG']->value['account']['return_register_form'];?>
 <a href="#" id="checkout_register"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['common']['signup'];?>
</a></p>
   <div class="row">
      <div class="small-12 large-6 columns">
         <label for="login-username" class="show-for-medium-up"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['user']['email_address'];?>
</label>
         <input type="text" name="username" id="login-username" placeholder="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['user']['email_address'];?>
 <?php echo $_smarty_tpl->tpl_vars['LANG']->value['form']['required'];?>
" value="<?php echo $_smarty_tpl->tpl_vars['USERNAME']->value;?>
" required disabled>
      </div>
   </div>
   <div class="row">
      <div class="small-12 large-6 columns">
         <label for="login-password" class="show-for-medium-up"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['account']['password'];?>
</label><input type="password" autocomplete="off" name="password" id="login-password" placeholder="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['account']['password'];?>
 <?php echo $_smarty_tpl->tpl_vars['LANG']->value['form']['required'];?>
" required disabled>
      </div>
   </div>
</div>
<div id="checkout_register_form"<?php if (!empty($_smarty_tpl->tpl_vars['BILLING']->value['line1'])) {?> class="hide"<?php }?>>
   <h2><?php echo $_smarty_tpl->tpl_vars['LANG']->value['account']['your_details'];?>
</h2>
   <p><?php echo $_smarty_tpl->tpl_vars['LANG']->value['account']['already_registered'];?>
 <a href="#" id="checkout_login"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['account']['log_in'];?>
</a></p>
   <h3><?php echo $_smarty_tpl->tpl_vars['LANG']->value['account']['contact_details'];?>
</h3>
   <div class="row">
      <div class="small-4 columns"><label for="user_title" class="show-for-medium-up"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['user']['title'];?>
</label><input type="text" name="user[title]" id="user_title"  class="capitalize" value="<?php echo $_smarty_tpl->tpl_vars['USER']->value['title'];?>
" placeholder="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['user']['title'];?>
"></div>
   </div>
   <div class="row">
      <div class="small-12 large-8 columns"><label for="user_first" class="show-for-medium-up"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['user']['name_first'];?>
</label><input type="text" name="user[first_name]" id="user_first"   required value="<?php echo $_smarty_tpl->tpl_vars['USER']->value['first_name'];?>
" placeholder="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['user']['name_first'];?>
  <?php echo $_smarty_tpl->tpl_vars['LANG']->value['form']['required'];?>
"></div>
   </div>
   <div class="row">
      <div class="small-12 large-8 columns"><label for="user_last" class="show-for-medium-up"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['user']['name_last'];?>
</label><input type="text" name="user[last_name]" id="user_last"   required value="<?php echo $_smarty_tpl->tpl_vars['USER']->value['last_name'];?>
" placeholder="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['user']['name_last'];?>
  <?php echo $_smarty_tpl->tpl_vars['LANG']->value['form']['required'];?>
"></div>
   </div>
   <div class="row">
      <div class="small-12 large-8 columns"><label for="user_email" class="show-for-medium-up"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['common']['email'];?>
</label><input type="text" name="user[email]" id="user_email"  required value="<?php echo $_smarty_tpl->tpl_vars['USER']->value['email'];?>
" placeholder="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['common']['email'];?>
  <?php echo $_smarty_tpl->tpl_vars['LANG']->value['form']['required'];?>
"></div>
   </div>
   <div class="row">
      <div class="small-12 large-8 columns"><label for="user_phone" class="show-for-medium-up"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['address']['phone'];?>
</label><input type="text" name="user[phone]" id="user_phone"  required value="<?php echo $_smarty_tpl->tpl_vars['USER']->value['phone'];?>
" placeholder="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['address']['phone'];?>
  <?php echo $_smarty_tpl->tpl_vars['LANG']->value['form']['required'];?>
"></div>
   </div>
   <div class="row">
      <div class="small-12 large-8 columns"><label for="user_mobile" class="show-for-medium-up"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['address']['mobile'];?>
</label><input type="text" name="user[mobile]" id="user_mobile"  value="<?php echo $_smarty_tpl->tpl_vars['USER']->value['mobile'];?>
" placeholder="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['address']['mobile'];?>
"></div>
   </div>
   <h3><?php echo $_smarty_tpl->tpl_vars['LANG']->value['address']['billing_address'];?>
</h3>
   <?php if (!$_smarty_tpl->tpl_vars['ALLOW_DELIVERY_ADDRESS']->value) {?><?php echo $_smarty_tpl->tpl_vars['LANG']->value['address']['ship_to_billing_only'];?>
<?php }?>
   <div class="row">
      <div class="small-12 large-8 columns"><label for="addr_company" class="show-for-medium-up"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['address']['company_name'];?>
</label><input type="text" name="billing[company_name]" id="addr_company"  value="<?php echo $_smarty_tpl->tpl_vars['BILLING']->value['company_name'];?>
" placeholder="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['address']['company_name'];?>
"></div>
   </div>
   <address>
      <div class="row">
         <div class="small-12 large-8 columns"><label for="addr_line1" class="show-for-medium-up"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['address']['line1'];?>
</label><input type="text" name="billing[line1]" id="addr_line1"   value="<?php echo $_smarty_tpl->tpl_vars['BILLING']->value['line1'];?>
" placeholder="<?php if ($_smarty_tpl->tpl_vars['ADDRESS_LOOKUP']->value) {?><?php echo $_smarty_tpl->tpl_vars['LANG']->value['address']['address_lookup'];?>
<?php } else { ?><?php echo $_smarty_tpl->tpl_vars['LANG']->value['address']['line1'];?>
 <?php echo $_smarty_tpl->tpl_vars['LANG']->value['form']['required'];?>
<?php }?>" autocomplete="off" autocorrect="off" class="address_lookup"></div>
      </div>
      <?php if ($_smarty_tpl->tpl_vars['ADDRESS_LOOKUP']->value) {?>
      <p id="lookup_fail"><a href="#"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['address']['address_not_found'];?>
</a></p>
      <?php }?>
      <div<?php if ($_smarty_tpl->tpl_vars['ADDRESS_LOOKUP']->value) {?> class="hide"<?php }?> id="address_form">
      <div class="row">
         <div class="small-12 large-8 columns"><label for="addr_line2" class="show-for-medium-up"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['address']['line2'];?>
</label><input type="text" name="billing[line2]" id="addr_line2"  value="<?php echo $_smarty_tpl->tpl_vars['BILLING']->value['line2'];?>
" placeholder="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['address']['line2'];?>
"></div>
      </div>
      <div class="row">
         <div class="small-12 large-8 columns"><label for="addr_town" class="show-for-medium-up"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['address']['town'];?>
</label><input type="text" name="billing[town]" id="addr_town"  required value="<?php echo $_smarty_tpl->tpl_vars['BILLING']->value['town'];?>
" placeholder="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['address']['town'];?>
 <?php echo $_smarty_tpl->tpl_vars['LANG']->value['form']['required'];?>
"></div>
      </div>
      <div class="row">
         <div class="small-12 large-8 columns"><label for="addr_postcode" class="show-for-medium-up"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['address']['postcode'];?>
</label><input type="text" name="billing[postcode]" id="addr_postcode"  class="uppercase required" value="<?php echo $_smarty_tpl->tpl_vars['BILLING']->value['postcode'];?>
" placeholder="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['address']['postcode'];?>
 <?php echo $_smarty_tpl->tpl_vars['LANG']->value['form']['required'];?>
"></div>
      </div>
      <div class="row">
         <div class="small-12 large-8 columns"><label for="country-list" class="show-for-medium-up"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['address']['country'];?>
</label>
            <select name="billing[country]"  id="country-list">
            <?php  $_smarty_tpl->tpl_vars['country'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['country']->_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['country']->key => $_smarty_tpl->tpl_vars['country']->value) {
$_smarty_tpl->tpl_vars['country']->_loop = true;
?>
            <option value="<?php echo $_smarty_tpl->tpl_vars['country']->value['numcode'];?>
" <?php echo $_smarty_tpl->tpl_vars['country']->value['selected'];?>
><?php echo $_smarty_tpl->tpl_vars['country']->value['name'];?>
</option>
            <?php } ?>
            </select>
         </div>
      </div>
      <div class="row">
         <div class="small-12 large-8 columns"><label for="state-list" class="show-for-medium-up"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['address']['state'];?>
</label></span><input type="text" name="billing[state]" id="state-list"  required value="<?php echo $_smarty_tpl->tpl_vars['BILLING']->value['state'];?>
"></div>
      </div>
</div>
</address>
<?php if ($_smarty_tpl->tpl_vars['TERMS_CONDITIONS']->value) {?>
<div class="row">
   <div class="small-12 large-8 columns"><span id="error_terms_agree"><input type="checkbox" id="reg_terms" name="terms_agree" value="1" <?php echo $_smarty_tpl->tpl_vars['TERMS_CONDITIONS_CHECKED']->value;?>
 rel="error_terms_agree"><label for="reg_terms"><?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['TERMS_CONDITIONS']->value;?>
<?php $_tmp1=ob_get_clean();?><?php echo smarty_modifier_replace($_smarty_tpl->tpl_vars['LANG']->value['account']['register_terms_agree_link'],'%s',$_tmp1);?>
</label></span></div>
</div>
<?php }?>
<div class="row">
   <div class="small-12 large-8 columns">
      <input type="checkbox" id="mailing_list" name="mailing_list" value="1" <?php echo $_smarty_tpl->tpl_vars['MAILING_LIST_SUBSCRIBE']->value;?>
><label for="mailing_list"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['account']['register_mailing'];?>
</label>
   </div>
</div>
<?php if ($_smarty_tpl->tpl_vars['ALLOW_DELIVERY_ADDRESS']->value) {?>
<div class="row">
   <div class="small-12 large-8 columns"><input type="checkbox" name="delivery_is_billing" id="delivery_is_billing" <?php echo $_smarty_tpl->tpl_vars['DELIVERY_CHECKED']->value;?>
><label for="delivery_is_billing"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['address']['delivery_is_billing'];?>
</label></div>
</div>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['ALLOW_DELIVERY_ADDRESS']->value) {?>
<div class="hide" id="address_delivery">
   <h3><?php echo $_smarty_tpl->tpl_vars['LANG']->value['address']['delivery_address'];?>
</h3>
   <div class="row">
      <div class="small-12 large-8 columns"><label for="del_first" class="show-for-medium-up"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['user']['name_first'];?>
</label><input type="text" name="delivery[first_name]" id="del_first"   required value="<?php echo $_smarty_tpl->tpl_vars['DELIVERY']->value['first_name'];?>
" placeholder="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['user']['name_first'];?>
 <?php echo $_smarty_tpl->tpl_vars['LANG']->value['form']['required'];?>
"></div>
   </div>
   <div class="row">
      <div class="small-12 large-8 columns"><label for="del_last" class="show-for-medium-up"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['user']['name_last'];?>
</label><input type="text" name="delivery[last_name]" id="del_last"   required value="<?php echo $_smarty_tpl->tpl_vars['DELIVERY']->value['last_name'];?>
" placeholder="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['user']['name_last'];?>
 <?php echo $_smarty_tpl->tpl_vars['LANG']->value['form']['required'];?>
"></div>
   </div>
   <div class="row">
      <div class="small-12 large-8 columns"><label for="del_company" class="show-for-medium-up"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['address']['company_name'];?>
</label><input type="text" name="delivery[company_name]" id="del_company"  value="<?php echo $_smarty_tpl->tpl_vars['DELIVERY']->value['company_name'];?>
" placeholder="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['user']['company_name'];?>
"></div>
   </div>
   <address>
      <div class="row">
         <div class="small-12 large-8 columns"><label for="del_line1" class="show-for-medium-up"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['address']['line1'];?>
</label><input type="text" name="delivery[line1]" id="del_line1"  required value="<?php echo $_smarty_tpl->tpl_vars['DELIVERY']->value['line1'];?>
" placeholder="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['address']['line1'];?>
 <?php echo $_smarty_tpl->tpl_vars['LANG']->value['form']['required'];?>
"></div>
      </div>
      <div class="row">
         <div class="small-12 large-8 columns"><label for="del_line2" class="show-for-medium-up"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['address']['line2'];?>
</label><input type="text" name="delivery[line2]" id="del_line2"  value="<?php echo $_smarty_tpl->tpl_vars['DELIVERY']->value['line2'];?>
" placeholder="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['address']['line2'];?>
"></div>
      </div>
      <div class="row">
         <div class="small-12 large-8 columns"><label for="del_town" class="show-for-medium-up"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['address']['town'];?>
</label><input type="text" name="delivery[town]" id="del_town"  required value="<?php echo $_smarty_tpl->tpl_vars['DELIVERY']->value['town'];?>
" placeholder="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['address']['town'];?>
 <?php echo $_smarty_tpl->tpl_vars['LANG']->value['form']['required'];?>
"></div>
      </div>
      <div class="row">
         <div class="small-12 large-8 columns"><label for="del_postcode" class="show-for-medium-up"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['address']['postcode'];?>
</label><input type="text" name="delivery[postcode]" id="del_postcode"  class="uppercase required" value="<?php echo $_smarty_tpl->tpl_vars['DELIVERY']->value['postcode'];?>
" placeholder="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['address']['postcode'];?>
 <?php echo $_smarty_tpl->tpl_vars['LANG']->value['form']['required'];?>
"></div>
      </div>
      <div class="row">
         <div class="small-12 large-8 columns"><label for="delivery_country" class="show-for-medium-up"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['address']['country'];?>
</label>
            <select name="delivery[country]" id="delivery_country"  class="country-list" rel="delivery_state">
            <?php  $_smarty_tpl->tpl_vars['country'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['country']->_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['country']->key => $_smarty_tpl->tpl_vars['country']->value) {
$_smarty_tpl->tpl_vars['country']->_loop = true;
?>
            <option value="<?php echo $_smarty_tpl->tpl_vars['country']->value['numcode'];?>
" <?php echo $_smarty_tpl->tpl_vars['country']->value['selected_d'];?>
><?php echo $_smarty_tpl->tpl_vars['country']->value['name'];?>
</option>
            <?php } ?>
            </select>
         </div>
      </div>
      <div class="row">
         <div class="small-12 large-8 columns"><label for="delivery_state" class="show-for-medium-up"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['address']['state'];?>
</label></span><input type="text" name="delivery[state]" id="delivery_state"  required value="<?php echo $_smarty_tpl->tpl_vars['DELIVERY']->value['state'];?>
" placeholder="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['address']['state'];?>
 <?php echo $_smarty_tpl->tpl_vars['LANG']->value['form']['required'];?>
"></div>
      </div>
   </address>
</div>
<?php }?>
<script type="text/javascript">
   var county_list = <?php echo $_smarty_tpl->tpl_vars['STATE_JSON']->value;?>
;
</script>
<div class="row">
   <div class="small-12 large-8 columns"><input type="checkbox" name="register" id="show-reg" value="1" <?php echo $_smarty_tpl->tpl_vars['REGISTER_CHECKED']->value;?>
><label for="show-reg"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['account']['create_account'];?>
</label></div>
</div>
<div id="account-reg">
   <h3><?php echo $_smarty_tpl->tpl_vars['LANG']->value['account']['password'];?>
</h3>
   <div class="row">
      <div class="small-12 large-8 columns"><label for="reg_password" class="show-for-medium-up"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['account']['password'];?>
</label></span><input type="password" autocomplete="off" name="password" id="reg_password"  required  placeholder="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['account']['password'];?>
 <?php echo $_smarty_tpl->tpl_vars['LANG']->value['form']['required'];?>
"></div>
   </div>
   <div class="row">
      <div class="small-12 large-8 columns"><label for="reg_passconf" class="show-for-medium-up"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['user']['password_confirm'];?>
</label></span><input type="password" autocomplete="off" name="passconf" id="reg_passconf"  required  placeholder="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['user']['password_confirm'];?>
 <?php echo $_smarty_tpl->tpl_vars['LANG']->value['form']['required'];?>
"></div>
   </div>
</div>
<?php echo $_smarty_tpl->getSubTemplate ('templates/content.recaptcha.php', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

</div>
<?php }?>
<label for="delivery_comments" class="return"><strong><?php echo $_smarty_tpl->tpl_vars['LANG']->value['basket']['your_comments'];?>
</strong></label>
<textarea name="comments" id="delivery_comments"><?php echo $_smarty_tpl->tpl_vars['VAL_CUSTOMER_COMMENTS']->value;?>
</textarea>

<div class="hide" id="validate_required"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['form']['required'];?>
</div>
<div class="hide" id="validate_field_required"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['form']['field_required'];?>
</div>
<div class="hide" id="validate_email"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['common']['error_email_invalid'];?>
</div>
<div class="hide" id="validate_email_in_use"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['account']['error_email_in_use'];?>
</div>
<div class="hide" id="validate_phone"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['account']['error_valid_phone'];?>
</div>
<div class="hide" id="validate_mobile"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['account']['error_valid_mobile_phone'];?>
</div>
<div class="hide" id="validate_password"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['account']['error_password_empty'];?>
</div>
<div class="hide" id="validate_password_length"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['account']['error_password_length'];?>
</div>
<div class="hide" id="validate_password_mismatch"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['account']['error_password_mismatch'];?>
</div>
<div class="hide" id="validate_terms_agree"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['account']['error_terms_agree'];?>
</div>
<?php }} ?>
