<?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 foreach ($downloads as $download) { ?>
  <div class="download-list">
    <div class="download-id"><?php echo $text_order; ?> <span><?php echo $download['order_id']; ?></span></div>
    <div class="download-status"><?php echo $text_size; ?> <span><?php echo $download['size']; ?></span></div>
    <div class="download-content">
      <div><?php echo $text_name; ?> <span><?php echo $download['name']; ?></span><br />
        <?php echo $text_date_added; ?> <span><?php echo $download['date_added']; ?></span></div>
      <div><?php echo $text_remaining; ?> <span><?php echo $download['remaining']; ?></span></div>
      <div class="download-info">
        <?php if ($download['remaining'] > 0) { ?>
        <a href="<?php echo $download['href']; ?>"><img src="catalog/view/theme/elegant/image/order-download-icon.png" alt="<?php echo $button_download; ?>" class="poshytips" title="<?php echo $button_download; ?>" /></a>
        <?php } ?>
      </div>
    </div>
  </div>
  <?php } ?>
  <div class="pagination"><?php echo $pagination; ?></div>
  <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; ?>