<?php echo $header; ?><?php echo $column_left; ?><?php echo $column_right; ?>
<div id="content"><?php echo $content_top; ?>
  <h3 style="position:relative;left:-185px;"><?php echo 'MY ORDERS'; ?></h3>
  <hr style="margin-left:-190px;">
  <?php if ($orders) { ?>
  
  
   <div style="border:1px solid #EDEDED;height: 30px;border-radius:3px;box-shadow: -2px 8px 11px -8px grey;margin-bottom: 5px;width:150px;float:left;">
		<span style="position: relative; top: 8px;left:56px;">Date</span>
   </div>
   <div style="border:1px solid #EDEDED;height: 30px;border-radius:3px;box-shadow: -2px 8px 11px -8px grey;margin-bottom: 5px;width:150px;float:left;">
		<span style="position: relative; top: 8px; left:45px;">Order Id</span>
   </div>
   <div style="border:1px solid #EDEDED;height: 30px;border-radius:3px;box-shadow: -2px 8px 11px -8px grey;margin-bottom: 5px;width:300px;float:left;">
		<span style="position: relative; top: 8px;left:25px;">Design</span>
   </div>
   <div style="border:1px solid #EDEDED;height: 30px;border-radius:3px;box-shadow: -2px 8px 11px -8px grey;margin-bottom: 5px;width:150px;float:left;">
		<span style="position: relative; top: 8px;left:46px;">Amount</span>
   </div>
  
  
  <?php foreach ($orders as $order) { ?>
   
	<div style="margin-bottom: 5px;width:150px;float:left;">
		<span style="position: relative; top: 8px;left:56px;"><?php echo $order['date_added']; ?></span>
   </div>
	<div style="margin-bottom: 5px;width:150px;float:left;">
		<span style="position: relative; top: 8px;left:56px;"><a href="<?php echo $order['href']; ?>">#<?php echo $order['order_id']; ?></a></span>
   </div>
	<div style="margin-bottom: 5px;width:300px;float:left;">
		<span style="position: relative; top: 8px;left:56px;"><?php echo $order['prodname']; ?></span>
   </div>
	<div style="margin-bottom: 5px;width:150px;float:left;">
		<span style="position: relative; top: 8px;left:56px;"><?php echo $order['total']; ?></span>
   </div>

  <?php } ?>
  <div class="pagination" style="visibility:hidden;"><?php echo $pagination; ?></div>
  <?php } else { ?>
  <div class="content"><?php echo $text_empty; ?></div>
  <?php } ?> 
  <?php echo $content_bottom; ?></div>
<?php echo $footer; ?>