<?php /* Smarty version Smarty-3.1.15, created on 2015-04-28 11:13:48
         compiled from "3fa9b275e51448c14370f8fda98ee049e63467a6" */ ?>
<?php /*%%SmartyHeaderCode:2119119509553efaec2bea72-99318926%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '3fa9b275e51448c14370f8fda98ee049e63467a6' => 
    array (
      0 => '3fa9b275e51448c14370f8fda98ee049e63467a6',
      1 => 0,
      2 => 'string',
    ),
  ),
  'nocache_hash' => '2119119509553efaec2bea72-99318926',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'DATA' => 0,
    'BILLING' => 0,
    'SHIPPING' => 0,
    'PRODUCTS' => 0,
    'product' => 0,
    'TAXES' => 0,
    'tax' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.15',
  'unifunc' => 'content_553efaec443cb9_16682592',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_553efaec443cb9_16682592')) {function content_553efaec443cb9_16682592($_smarty_tpl) {?><?php if (!is_callable('smarty_modifier_replace')) include '/home/hushdogcafe/public_html/cube/includes/lib/smarty/plugins/modifier.replace.php';
?><p><?php echo $_smarty_tpl->tpl_vars['DATA']->value['first_name'];?>
 <?php echo $_smarty_tpl->tpl_vars['DATA']->value['last_name'];?>
 <?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['BILLING']->value['company_name'];?>
<?php $_tmp1=ob_get_clean();?><?php if (!empty($_tmp1)) {?>(<?php echo $_smarty_tpl->tpl_vars['BILLING']->value['company_name'];?>
)<?php }?> just placed order number <?php echo $_smarty_tpl->tpl_vars['DATA']->value['cart_order_id'];?>
 on <?php echo $_smarty_tpl->tpl_vars['DATA']->value['order_date'];?>
.</p>
        <p>This order can be managed online by following the link below.</p> 
        <p><a href="<?php echo $_smarty_tpl->tpl_vars['DATA']->value['link'];?>
"><?php echo $_smarty_tpl->tpl_vars['DATA']->value['link'];?>
</a></p>
        <table width="100%">
        <tr>
        <td valign="top" width="50%"><strong>Billing address:</strong><br />
        <?php echo $_smarty_tpl->tpl_vars['BILLING']->value['first_name'];?>
 <?php echo $_smarty_tpl->tpl_vars['BILLING']->value['last_name'];?>
<br />
        <?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['BILLING']->value['company_name'];?>
<?php $_tmp2=ob_get_clean();?><?php if (!empty($_tmp2)) {?><?php echo $_smarty_tpl->tpl_vars['BILLING']->value['company_name'];?>
<br />
        <?php }?>
        <?php echo $_smarty_tpl->tpl_vars['BILLING']->value['line1'];?>
<br />
        <?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['BILLING']->value['line2'];?>
<?php $_tmp3=ob_get_clean();?><?php if (!empty($_tmp3)) {?><?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'];?>
<br />
        <?php echo $_smarty_tpl->tpl_vars['BILLING']->value['postcode'];?>
<br />
        <?php echo $_smarty_tpl->tpl_vars['BILLING']->value['country'];?>
<br />
        <?php echo $_smarty_tpl->tpl_vars['BILLING']->value['phone'];?>
<br />
        <br />
        <strong>Email:</strong><br />
        <?php echo $_smarty_tpl->tpl_vars['BILLING']->value['email'];?>
</td>
        <td valign="top" width="50%"><strong>Shipping address:</strong><br />
        <?php echo $_smarty_tpl->tpl_vars['SHIPPING']->value['first_name'];?>
 <?php echo $_smarty_tpl->tpl_vars['SHIPPING']->value['last_name'];?>
<br />
        <?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['SHIPPING']->value['company_name'];?>
<?php $_tmp4=ob_get_clean();?><?php if (!empty($_tmp4)) {?><?php echo $_smarty_tpl->tpl_vars['SHIPPING']->value['company_name'];?>
 <br />
        <?php }?><?php echo $_smarty_tpl->tpl_vars['SHIPPING']->value['line1'];?>
<br />
        <?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['SHIPPING']->value['line2'];?>
<?php $_tmp5=ob_get_clean();?><?php if (!empty($_tmp5)) {?><?php echo $_smarty_tpl->tpl_vars['SHIPPING']->value['line2'];?>
 <br />
        <?php }?><?php echo $_smarty_tpl->tpl_vars['SHIPPING']->value['town'];?>
<br />
        <?php echo $_smarty_tpl->tpl_vars['SHIPPING']->value['state'];?>
<br />
        <?php echo $_smarty_tpl->tpl_vars['SHIPPING']->value['postcode'];?>
<br />
        <?php echo $_smarty_tpl->tpl_vars['SHIPPING']->value['country'];?>
</td>
        </tr>
        </table>
        <table border="0" cellpadding="3" cellspacing="0" width="100%">
        <tbody>
        <tr>
        <td><strong>Item</strong></td>
        <td><strong>Quantity</strong></td>
        <td><strong>Cost</strong></td>
        </tr>
        <?php  $_smarty_tpl->tpl_vars['product'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['product']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['PRODUCTS']->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;
?>
        <tr>
        <td><?php echo $_smarty_tpl->tpl_vars['product']->value['name'];?>
 <br /><?php echo $_smarty_tpl->tpl_vars['product']->value['product_options'];?>
</td>
        <td><?php echo $_smarty_tpl->tpl_vars['product']->value['quantity'];?>
</td>
        <td><?php echo $_smarty_tpl->tpl_vars['product']->value['price'];?>
</td>
        </tr>
        <?php } ?>
        <tr>
        <td>&nbsp;</td>
        <td> <?php if (!empty($_smarty_tpl->tpl_vars['DATA']->value['ship_method'])) {?><?php echo smarty_modifier_replace($_smarty_tpl->tpl_vars['DATA']->value['ship_method'],'_',' ');?>
:<?php if (!empty($_smarty_tpl->tpl_vars['DATA']->value['ship_product'])) {?> (<?php echo $_smarty_tpl->tpl_vars['DATA']->value['ship_product'];?>
)<?php }?><?php } else { ?>Shipping:<?php }?></td>
        <td> <?php echo $_smarty_tpl->tpl_vars['DATA']->value['shipping'];?>
</td>
        </tr>
        <tr>
        <td>&nbsp;</td>
        <td> Discount:</td>
        <td> <?php echo $_smarty_tpl->tpl_vars['DATA']->value['discount'];?>
</td>
        </tr>
        <tr>
        <td>&nbsp;</td>
        <td> Subtotal:</td>
        <td> <?php echo $_smarty_tpl->tpl_vars['DATA']->value['subtotal'];?>
</td>
        </tr>
        <?php  $_smarty_tpl->tpl_vars['tax'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['tax']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['TAXES']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['tax']->key => $_smarty_tpl->tpl_vars['tax']->value) {
$_smarty_tpl->tpl_vars['tax']->_loop = true;
?>
        <tr>
        <td>&nbsp;</td>
        <td> <?php echo $_smarty_tpl->tpl_vars['tax']->value['tax_name'];?>
: (<?php echo $_smarty_tpl->tpl_vars['tax']->value['tax_percent'];?>
%)</td>
        <td> <?php echo $_smarty_tpl->tpl_vars['tax']->value['tax_amount'];?>
</td>
        </tr>
        <?php } ?>
        <tr>
        <td>&nbsp;</td>
        <td><strong>Order Total: </strong></td>
        <td><strong><?php echo $_smarty_tpl->tpl_vars['DATA']->value['total'];?>
</strong></td>
        </tr>
        </tbody>
        
        </table><?php }} ?>
