<!-- SIDEBAR -->
<aside class="Sidebar R" id="Sidebar">

    <div class="user">
        <div class="username"><?php echo $u['username']; ?></div>
        <div class="image"><img src="images/users/<?php echo $u['image']; ?>" width="100%" height="100%"></div>
        <div class="info">Points: <span class="FR"><?php echo comma_number($u['points']); ?></span></div>
        <div class="info">Listings: <span class="FR"><?php echo comma_number($u['listings']); ?></span></div>
        <div class="info">Joined: <span class="FR"><?php echo timestamp2day($u['date_created']); ?></span></div>
    </div>

    <a class="link <?php current_section('listings'); ?>" href="dashboard/listings"><div class="icon"><img src="images/icons/listings.png" height="100%"></div>My Listings</a>
    <a class="link <?php current_section('stats'); ?>" href="dashboard/stats"><div class="icon"><img src="images/icons/stats.png" height="100%"></div>My Statistics</a>
    <a class="link <?php current_section('orders'); ?>" href="dashboard/orders"><div class="icon"><img src="images/icons/orders.png" height="100%"></div>My Orders</a>
    <a class="link <?php current_section('edit-account'); ?>" href="dashboard/edit-account"><div class="icon"><img src="images/icons/edit-account.png" height="100%"></div>Edit Account</a>

</aside>
<!-- SIDEBAR -->