<div class="Orders">
    <div class="image"><img src="images/users/<?php echo fetch_id('users', $f1['user_id'])['image']; ?>" width="100%" height="100%"></div>
    <div class="info">
        <span class="date"><?php echo timestamp2day($f1['date_created']); ?> <span class="FR"><?php echo strtoupper($f1['status']); ?></span></span>
        <span class="row"><?php echo $f1['paypal']; ?> <span class="FR">$<?php echo decimal_number($f1['amount']); ?> USD</span></span>
        <span class="row">Points: <?php echo comma_number($f1['points']); ?> <span class="FR">#<?php echo $f1['id']; ?></span></span>
        <?php if($f1['status'] == 'Pending'){ ?>
        <span class="row"><a class="B" href="dashboard/place-order/<?php echo $f1['id']; ?>">Complete Order</a> <a class="FR B" href="ex/cancel.order.php?id=<?php echo $f1['id']; ?>">Cancel Order</a></span>
        <?php } ?>
    </div>
</div>