<?php echo $header; ?>
<div class="box">
  <div class="title_left_3"><div class="title_right_3"><div class="title_middle_3"></div></div></div>
  <div class="box-content-2">
	<div id="breadcrumbs">
	  <?php foreach ($breadcrumbs as $breadcrumb) { ?>
		<div id="bread"><a href="<?php echo $breadcrumb['href']; ?>"><?php echo $breadcrumb['text']; ?></a><span></span></div>
	  <?php } ?>
	</div>
  </div>
  <div class="bottom_left_2"><div class="bottom_right_2"><div class="bottom_middle_2"> </div></div></div>
</div>
<?php echo $column_left; ?><?php echo $column_right; ?>
<div id="content"><?php echo $content_top; ?>
<div class="box">
 <div class="title_left"><div class="title_right"><div class="title_middle_3"><h1><?php echo $heading_title; ?></h1></div></div></div>
  <div class="box-content">
  <?php if ($orders) { ?>
  <?php foreach ($orders as $order) { ?>
  <div class="order-list">
    <div class="order-id"><?php echo $text_order_id; ?> <span><?php echo $order['order_id']; ?></span></div>
    <div class="order-status"><?php echo $text_status; ?> <span><?php echo $order['status']; ?></span></div>
    <div class="order-content">
      <div><?php echo $text_date_added; ?> <span><?php echo $order['date_added']; ?></span><br />
        <?php echo $text_products; ?> <span><?php echo $order['products']; ?></span></div>
      <div><?php echo $text_customer; ?> <span><?php echo $order['name']; ?></span><br />
        <?php echo $text_total; ?> <span class="total"><?php echo $order['total']; ?></span></div>
      <div class="order-info"><a href="<?php echo $order['href']; ?>"><img align="absmiddle" src="catalog/view/theme/elegant/image/info-icon.png" alt="<?php echo $button_view; ?>" class="poshytips" title="<?php echo $button_view; ?>" /></a>&nbsp;&nbsp;<a href="<?php echo $order['reorder']; ?>"><img align="absmiddle" src="catalog/view/theme/elegant/image/reorder-icon.png" alt="<?php echo $button_reorder; ?>" class="poshytips" title="<?php echo $button_reorder; ?>" /></a></div>
    </div>
  </div>
  <?php } ?>
  <div class="pagination"><?php echo $pagination; ?></div>
  <?php } else { ?>
  <div class="content"><?php echo $text_empty; ?></div>
  <?php } ?>
  <div class="buttons">
    <div class="right"><a href="<?php echo $continue; ?>" class="button"><?php echo $button_continue; ?></a></div>
  </div>
  </div>
  <div class="bottom_left"><div class="bottom_right"><div class="bottom_middle"> </div></div></div>
</div>
  <?php echo $content_bottom; ?></div>
<?php echo $footer; ?>