<?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.php" */ ?>
<?php /*%%SmartyHeaderCode:705942148553e35c080e248-32939511%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '9dbaf2c6ebdf3a0306800ff4a16a94b0752067e6' => 
    array (
      0 => '/home/hushdogcafe/public_html/cube/skins/foundation/templates/content.checkout.php',
      1 => 1429684646,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '705942148553e35c080e248-32939511',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'ITEMS' => 0,
    'VAL_SELF' => 0,
    'INCLUDE_CHECKOUT' => 0,
    'LANG' => 0,
    'DISABLE_GATEWAYS' => 0,
    'GATEWAYS' => 0,
    'gateway' => 0,
    'STORE_URL' => 0,
    'DISABLE_CHECKOUT_BUTTON' => 0,
    'CHECKOUT_BUTTON' => 0,
    'CUSTOMER_LOCALE' => 0,
    'CHECKOUTS' => 0,
    'checkout' => 0,
    'RELATED' => 0,
    'product' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.15',
  'unifunc' => 'content_553e35c093e464_79400890',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_553e35c093e464_79400890')) {function content_553e35c093e464_79400890($_smarty_tpl) {?>
<?php if (isset($_smarty_tpl->tpl_vars['ITEMS']->value)) {?>
<form action="<?php echo $_smarty_tpl->tpl_vars['VAL_SELF']->value;?>
" method="post" enctype="multipart/form-data" class="autosubmit" id="checkout_form">
   <?php if ($_smarty_tpl->tpl_vars['INCLUDE_CHECKOUT']->value) {?>
   <?php echo $_smarty_tpl->getSubTemplate ('templates/content.checkout.confirm.php', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

   <?php }?>
   <h2><?php echo $_smarty_tpl->tpl_vars['LANG']->value['checkout']['your_basket'];?>
</h2>
   <?php echo $_smarty_tpl->getSubTemplate ('templates/content.checkout.medium-up.php', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

   <?php echo $_smarty_tpl->getSubTemplate ('templates/content.checkout.small.php', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

   <div class="row">
         <div class="small-8 columns text-right">
            <?php echo $_smarty_tpl->tpl_vars['LANG']->value['basket']['coupon_add'];?>

         </div>
         <div class="small-4 columns">
            <input name="coupon" id="coupon" type="text" maxlength="25">
         </div>
      </div>
   
   <?php if ($_smarty_tpl->tpl_vars['INCLUDE_CHECKOUT']->value&&!$_smarty_tpl->tpl_vars['DISABLE_GATEWAYS']->value) {?>
   <div id="payment_method">
      <h3><?php echo $_smarty_tpl->tpl_vars['LANG']->value['gateway']['select'];?>
</h3>
      <hr>
      <div class="row">
         <div class="small-12 columns">
            <ul class="no-bullet center" id="gateway_error">
               <?php  $_smarty_tpl->tpl_vars['gateway'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['gateway']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['GATEWAYS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['gateway']->key => $_smarty_tpl->tpl_vars['gateway']->value) {
$_smarty_tpl->tpl_vars['gateway']->_loop = true;
?>
               <li>
                  <input name="gateway" type="radio" value="<?php echo $_smarty_tpl->tpl_vars['gateway']->value['folder'];?>
" id="<?php echo $_smarty_tpl->tpl_vars['gateway']->value['folder'];?>
" required <?php echo $_smarty_tpl->tpl_vars['gateway']->value['checked'];?>
 rel="gateway_error"><label for="<?php echo $_smarty_tpl->tpl_vars['gateway']->value['folder'];?>
"><?php echo $_smarty_tpl->tpl_vars['gateway']->value['description'];?>
</label>
                  <?php if (!empty($_smarty_tpl->tpl_vars['gateway']->value['help'])) {?>
                  <a href="<?php echo $_smarty_tpl->tpl_vars['gateway']->value['help'];?>
" class="info" title="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['common']['information'];?>
"><i class="fa fa-info-circle"></i></a>
                  <?php }?>
               </li>
               <?php } ?>
            </ul>
            <div class="hide" id="validate_gateway_required"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['gateway']['choose_payment'];?>
</div>
         </div>
      </div>
   </div>
   <?php }?>
   <div class="clearfix">
      <div class="show-for-medium-up"><a href="<?php echo $_smarty_tpl->tpl_vars['STORE_URL']->value;?>
/index.php?_a=basket&empty-basket=true" class="button alert left"><i class="fa fa-trash-o"></i> <?php echo $_smarty_tpl->tpl_vars['LANG']->value['basket']['basket_empty'];?>
</a></div>
      <div class="show-for-medium-up"><button type="submit" name="update" class="button secondary left" value="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['basket']['basket_update'];?>
"><i class="fa fa-refresh"></i> <?php echo $_smarty_tpl->tpl_vars['LANG']->value['basket']['basket_update'];?>
</button></div>
      <div class="show-for-small-only"><button type="submit" name="update" class="button secondary left" value="<?php echo $_smarty_tpl->tpl_vars['LANG']->value['basket']['basket_update'];?>
"><i class="fa fa-refresh"></i> <?php echo $_smarty_tpl->tpl_vars['LANG']->value['common']['update'];?>
</button></div>
      <?php if ($_smarty_tpl->tpl_vars['DISABLE_CHECKOUT_BUTTON']->value!==true) {?>
      <button type="submit" name="proceed" id="checkout_proceed" class="button right"><?php echo $_smarty_tpl->tpl_vars['CHECKOUT_BUTTON']->value;?>
 <i class="fa fa-chevron-right"></i></i></button>
      <?php }?>
   </div>
</form>
<?php if ($_smarty_tpl->tpl_vars['CUSTOMER_LOCALE']->value['description']) {?>
<small><?php echo $_smarty_tpl->tpl_vars['CUSTOMER_LOCALE']->value['mark'];?>
 <?php echo $_smarty_tpl->tpl_vars['LANG']->value['basket']['unconfirmed_locale'];?>
</small>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['CHECKOUTS']->value) {?>
<div class="row">
   <div class="small-12 columns text-right">-- <?php echo $_smarty_tpl->tpl_vars['LANG']->value['common']['or'];?>
 --</div>
</div>
<?php  $_smarty_tpl->tpl_vars['checkout'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['checkout']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['CHECKOUTS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['checkout']->key => $_smarty_tpl->tpl_vars['checkout']->value) {
$_smarty_tpl->tpl_vars['checkout']->_loop = true;
?>
<div class="row">
   <div class="small-12 columns text-right pad-topbottom"><?php echo $_smarty_tpl->tpl_vars['checkout']->value;?>
</div>
</div>
<?php } ?>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['RELATED']->value) {?>
<div class="show-for-medium-up">
   <h2><?php echo $_smarty_tpl->tpl_vars['LANG']->value['catalogue']['related_products'];?>
</h2>
   <ul class="small-block-grid-5 no-bullet">
      <?php  $_smarty_tpl->tpl_vars['product'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['product']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['RELATED']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['product']->key => $_smarty_tpl->tpl_vars['product']->value) {
$_smarty_tpl->tpl_vars['product']->_loop = true;
?>
      <li>
         <a href="<?php echo $_smarty_tpl->tpl_vars['product']->value['url'];?>
" title="<?php echo $_smarty_tpl->tpl_vars['product']->value['name'];?>
"><img src="<?php echo $_smarty_tpl->tpl_vars['product']->value['img_src'];?>
" class="th" alt="<?php echo $_smarty_tpl->tpl_vars['product']->value['name'];?>
"></a>
         <br>
         <a href="<?php echo $_smarty_tpl->tpl_vars['product']->value['url'];?>
" title="<?php echo $_smarty_tpl->tpl_vars['product']->value['name'];?>
"><?php echo $_smarty_tpl->tpl_vars['product']->value['name'];?>
</a>
         <p>
            <?php if ($_smarty_tpl->tpl_vars['product']->value['ctrl_sale']) {?>
            <span class="old_price"><?php echo $_smarty_tpl->tpl_vars['product']->value['price'];?>
</span> <span class="sale_price"><?php echo $_smarty_tpl->tpl_vars['product']->value['sale_price'];?>
</span>
            <?php } else { ?>
            <?php echo $_smarty_tpl->tpl_vars['product']->value['price'];?>

            <?php }?>
         </p>
      </li>
      <?php } ?>
   </ul>
</div>
<?php }?>
<?php } else { ?>
<h2><?php echo $_smarty_tpl->tpl_vars['LANG']->value['checkout']['your_basket'];?>
</h2>
<p class="thickpad-top"><?php echo $_smarty_tpl->tpl_vars['LANG']->value['basket']['basket_is_empty'];?>
</p>
<?php }?><?php }} ?>
