<!-- CONTENT -->
<section class="Content R">

   <h2 class="GLOB-Title">Balance: <span class="FR"><?php echo comma_number($u['points']); ?> Points</span></h2>

   <!-- FORM -->
   <form class="Form" action="dashboard/place-order" method="POST">

      <!-- TEXTFIELD: TEXT -->
      <div class="field">
         <div class="icon"><img src="images/icons/points.png" width="100%" height="100%"></div>
         <input type="text" name="points" class="textfield" onkeyup="orderPoints(this);" placeholder="Points" value="">
      </div>

      <!-- TEXTFIELD: TEXT -->
      <!-- TEXTFIELD: DISABLED -->
      <div class="field">
         <div class="icon"><img src="images/icons/dollar.png" width="100%" height="100%"></div>
         <input type="text" name="price" class="textfield" maxlength="10" id="price" placeholder="Point Price" value="<?php echo $set['point_price']; ?>" disabled>
      </div>

      <!-- TEXTFIELD: TEXT -->
      <!-- TEXTFIELD: DISABLED -->
      <div class="field">
         <div class="icon"><img src="images/icons/dollar.png" width="100%" height="100%"></div>
         <input type="text" name="total" class="textfield" maxlength="10" id="total" placeholder="Total" value="0.00" disabled>
      </div>

      <div class="ERRORS"></div>

      <!-- SUBMIT -->
      <div class="submit">
         <input type="submit" value="Confirm Order">
      </div>

   </form>
   <!-- FORM -->

   <h2 class="GLOB-Title">Orders History: <span class="FR"><?php echo comma_number($u['orders']); ?></span></h2>
   <?php fetch_elements("SELECT * FROM orders WHERE user_id = '{$user_id}' ORDER BY id DESC", 'elements/orders/main.php', 'a'); ?>

</section>
<!-- CONTENT -->