</th>
					</tr>
				</thead>
				<tbody>
					<?php 
        $_from = $this->_tpl_vars['lastOrders'];
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        $this->_foreach['lastOrders'] = array('total' => count($_from), 'iteration' => 0);
        if ($this->_foreach['lastOrders']['total'] > 0) {
            foreach ($_from as $this->_tpl_vars['order']) {
                $this->_foreach['lastOrders']['iteration']++;
                ?>
						<tr class="<?php 
                echo smarty_function_zebra(array('loop' => 'lastOrders'), $this);
                ?>
">
							<td><a href="<?php 
                echo smarty_function_backendOrderUrl(array('order' => $this->_tpl_vars['order']), $this);
                ?>
"><?php 
                echo is_array($_tmp = $this->_tpl_vars['order']['invoiceNumber']) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp);
                ?>
</a></td>
							<td title="<?php 
                echo is_array($_tmp = $this->_tpl_vars['order']['formatted_dateCreated']['date_medium']) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp);
                ?>
 <?php 
                echo is_array($_tmp = $this->_tpl_vars['order']['formatted_dateCreated']['time_short']) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp);
                ?>
                ?>
 first<?php 
            }
            ?>
">
			<td class="param"><?php 
            echo $this->_tpl_vars['attr'][$this->_tpl_vars['field']][$this->_tpl_vars['group']]['name_lang'];
            ?>
</td>
			<td class="value"></td>
		</tr>
	<?php 
        }
        ?>
	<tr class="<?php 
        echo smarty_function_zebra(array('loop' => 'attributes'), $this);
        ?>
">
		<td class="param"><?php 
        echo $this->_tpl_vars['attr'][$this->_tpl_vars['field']]['name_lang'];
        ?>
</td>
		<td class="value">
			<?php 
        $_smarty_tpl_vars = $this->_tpl_vars;
        $this->_smarty_include(array('smarty_include_tpl_file' => "custom:product/attributeValue.tpl", 'smarty_include_vars' => array()));
        $this->_tpl_vars = $_smarty_tpl_vars;
        unset($_smarty_tpl_vars);
        ?>
		</td>
	</tr>
</span>
					<span class="price"><?php 
echo is_array($_tmp = is_array($_tmp = @$this->_tpl_vars['shipment']['taxAmount']) ? $this->_run_mod_handler('default', true, $_tmp, 0) : smarty_modifier_default($_tmp, 0)) ? $this->_run_mod_handler('string_format', true, $_tmp, "%.2f") : smarty_modifier_string_format($_tmp, "%.2f");
?>
</span>
					<span class="priceSuffix"><?php 
echo $this->_tpl_vars['shipment']['AmountCurrency']['priceSuffix'];
?>
</span>
				</span>
			</div>
		</td>
	</tr>

	<tr class="orderShipment_info_total_row <?php 
echo smarty_function_zebra(array(), $this);
?>
">
		<td class="orderShipmentsItem_info_report_td">
			<div class="orderShipmentsItem_info_report">
				<?php 
echo smarty_function_translate(array('text' => '_price'), $this);
?>
:
			</div>
		</td>
		<td class="orderShipmentsItem_info_total_td">
			<div class="orderShipmentsItem_info_total orderShipment_totalSum">
				<span class="orderShipment_info_total shipment_total">
					<span class="pricePrefix"><?php 
echo $this->_tpl_vars['shipment']['AmountCurrency']['pricePrefix'];
?>
		</tr>
	</thead>
	<tbody>
		<?php 
$_from = $this->_tpl_vars['products'];
if (!is_array($_from) && !is_object($_from)) {
    settype($_from, 'array');
}
$this->_foreach['productList'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['productList']['total'] > 0) {
    foreach ($_from as $this->_tpl_vars['product']) {
        $this->_foreach['productList']['iteration']++;
        ?>
			<tr class="<?php 
        echo smarty_function_zebra(array('loop' => 'productList'), $this);
        ?>
 <?php 
        if (!($this->_foreach['productList']['iteration'] == $this->_foreach['productList']['total'])) {
            ?>
last<?php 
        }
        ?>
">

				<?php 
        if ($this->_tpl_vars['columns']['IMAGE']) {
            ?>
					<td class="productImage">
						<a href="<?php 
            echo smarty_function_productUrl(array('product' => $this->_tpl_vars['product']), $this);
    }
    ?>
		<td class="ratingPreview"></td>
	</tr>
<?php 
    $_from = $this->_tpl_vars['ratingTypes'];
    if (!is_array($_from) && !is_object($_from)) {
        settype($_from, 'array');
    }
    $this->_foreach['types'] = array('total' => count($_from), 'iteration' => 0);
    if ($this->_foreach['types']['total'] > 0) {
        foreach ($_from as $this->_tpl_vars['type']) {
            $this->_foreach['types']['iteration']++;
            ?>
	<tr class="<?php 
            echo smarty_function_zebra(array('loop' => 'types'), $this);
            if ($this->_foreach['types']['iteration'] == $this->_foreach['types']['total']) {
                ?>
 last<?php 
            }
            ?>
">
		<td class="param ratingCategoryName">
			<?php 
            ob_start();
            echo smarty_function_translate(array('text' => '_default_rating_category'), $this);
            $this->_smarty_vars['capture']['default'] = ob_get_contents();
            $this->assign('blockAsParamValue', ob_get_contents());
            ob_end_clean();
            echo smarty_modifier_or($this->_tpl_vars['type']['name_lang'], $this->_tpl_vars['blockAsParamValue']);
            ?>
/* Smarty version 2.6.26, created on 2015-12-04 09:31:01
   compiled from custom:order/block/items.tpl */
require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('function', 'zebra', 'custom:order/block/items.tpl', 2, false), array('function', 'link', 'custom:order/block/items.tpl', 5, false), array('function', 'translate', 'custom:order/block/items.tpl', 5, false), array('function', 'productUrl', 'custom:order/block/items.tpl', 12, false), array('function', 'img', 'custom:order/block/items.tpl', 13, false), array('function', 'textfield', 'custom:order/block/items.tpl', 52, false), array('modifier', 'config', 'custom:order/block/items.tpl', 4, false), array('modifier', 'escape', 'custom:order/block/items.tpl', 13, false))), $this);
$_from = $this->_tpl_vars['cart']['cartItems'];
if (!is_array($_from) && !is_object($_from)) {
    settype($_from, 'array');
}
$this->_foreach['cart'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['cart']['total'] > 0) {
    foreach ($_from as $this->_tpl_vars['item']) {
        $this->_foreach['cart']['iteration']++;
        ?>
	<tr class="<?php 
        echo smarty_function_zebra(array('loop' => 'cart'), $this);
        ?>
">
		<td class="cartControl">
			<?php 
        if (is_array($_tmp = 'ENABLE_WISHLISTS') ? $this->_run_mod_handler('config', true, $_tmp) : $this->_plugins['modifier']['config'][0][0]->config($_tmp)) {
            ?>
				<a href="<?php 
            echo smarty_function_link(array('controller' => 'order', 'action' => 'moveToWishList', 'id' => $this->_tpl_vars['item']['ID'], 'query' => "return=" . $this->_tpl_vars['return']), $this);
            ?>
"><?php 
            echo smarty_function_translate(array('text' => '_move_to_wishlist'), $this);
            ?>
</a>
			<?php 
        }
</th>
		</tr>
	</thead>
	<tbody>
	<?php 
$_from = $this->_tpl_vars['cart']['wishListItems'];
if (!is_array($_from) && !is_object($_from)) {
    settype($_from, 'array');
}
$this->_foreach['wishList'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['wishList']['total'] > 0) {
    foreach ($_from as $this->_tpl_vars['item']) {
        $this->_foreach['wishList']['iteration']++;
        ?>
		<tr class="<?php 
        echo smarty_function_zebra(array('loop' => 'wishList'), $this);
        ?>
">
			<td class="cartControl">
				<a href="<?php 
        echo smarty_function_link(array('controller' => 'order', 'action' => 'moveToCart', 'id' => $this->_tpl_vars['item']['ID'], 'query' => "return=" . $this->_tpl_vars['return']), $this);
        ?>
"><?php 
        echo smarty_function_translate(array('text' => '_move_to_cart'), $this);
        ?>
</a>
				<a href="<?php 
        echo smarty_function_link(array('controller' => 'order', 'action' => 'delete', 'id' => $this->_tpl_vars['item']['ID'], 'query' => "return=" . $this->_tpl_vars['return']), $this);
        ?>
"><?php 
        echo smarty_function_translate(array('text' => '_remove'), $this);
</span>
		</td>
		<td class="itemCount"><?php 
        echo $this->_tpl_vars['item']['count'];
        ?>
</td>
		<td class="amount"><?php 
        echo $this->_tpl_vars['item']['formattedDisplaySubTotal'];
        ?>
</td>
	</tr>
	<?php 
        if ($this->_tpl_vars['productsInSeparateLine']) {
            ?>
		<tr class="<?php 
            echo smarty_function_zebra(array('loop' => 'shipment', 'stop' => true), $this);
            ?>
">
			<td class="productName" colspan="<?php 
            echo $this->_tpl_vars['colspan'] + 1;
            ?>
">
				<?php 
            $_smarty_tpl_vars = $this->_tpl_vars;
            $this->_smarty_include(array('smarty_include_tpl_file' => "custom:order/itemProductInfo.tpl", 'smarty_include_vars' => array()));
            $this->_tpl_vars = $_smarty_tpl_vars;
            unset($_smarty_tpl_vars);
            ?>
			</td>
		</tr>
	<?php 
    }
    ?>

		<table class="discounts">
			<?php 
    $_from = $this->_tpl_vars['order']['discounts'];
    if (!is_array($_from) && !is_object($_from)) {
        settype($_from, 'array');
    }
    $this->_foreach['discounts'] = array('total' => count($_from), 'iteration' => 0);
    if ($this->_foreach['discounts']['total'] > 0) {
        foreach ($_from as $this->_tpl_vars['discount']) {
            $this->_foreach['discounts']['iteration']++;
            ?>
				<tr class="<?php 
            echo smarty_function_zebra(array('loop' => 'discounts'), $this);
            ?>
">
					<td><?php 
            echo $this->_tpl_vars['discount']['description'];
            ?>
</td>
					<td class="amount"><?php 
            echo $this->_tpl_vars['discount']['formatted_amount'];
            ?>
</td>
				</tr>
			<?php 
        }
    }
    unset($_from);