<link rel="stylesheet" type="text/css" href="catalog/template/beststoreitems/css/account.css">
<div class="block block-account">
	<div class="block-content">
        <h3 class="link_5">My Orders</h3>
        <ul>
        	<li><a href="index.php?controller=waiting_payment">Unpaid Orders&nbsp;(<?php echo $waiting_orders_count;?>)</a></li>
        	<li><a href="index.php?controller=account_history&status=processing">Processing Orders&nbsp;(<?php echo $processing_orders_count;?>)</a></li>
        	<li><a href="index.php?controller=account_history&status=shipped">Shipped Orders&nbsp;(<?php echo $shipped_orders_count;?>)</a></li>
        	<li><a href="index.php?controller=canceled_order">Canceled Orders(<?php echo $canceled_orders_count;?>)</a></li>
        </ul>
        
        <h3 class="link_3">My Profile</h3>
        <ul>
            <li><a href="index.php?controller=account_password">Change Password</a></li>
            <li><a href="index.php?controller=account_edit">Account Settings</a></li>
            <li><a href="index.php?controller=account_address">Manage Address Book</a></li>
        </ul>
        
        <h3><i class="icon-Edit"></i>My Review<label style="font-size:12px;color:blue;font-weight:500; font-family:Arial, Helvetica, sans-serif;">&nbsp;(Get Points)</label></h3>
        <ul>
            <li><a href="index.php?controller=waiting_review">Waiting for Reviews&nbsp;(<?php echo $waiting_reviews_count;?>)</a></li>
            <li><a href="index.php?controller=completed_review">Completed Reviews&nbsp;(<?php echo $completed_reviews_count;?>)</a></li>
        </ul>
        
        <h3 class="link_2">Community</h3>
        <ul>
            <li><a href="index.php?controller=my_wishlist">My Wishlist (<?php echo $my_wishlist_count;?>)</a></li>
            <li><a href="index.php?controller=my_points">My Points (<?php echo $customer_info['current_points'];?>)</a></li>
            <li><a href="index.php?controller=my_coupons">My Coupons (<?php echo $my_coupons_count;?>)</a></li>
            <li><a href="index.php?controller=my_tickets">My Tickets(<?php echo $my_tickets_count;?>)</a></li>   
            <li><a href="index.php?controller=my_questions">My Questions (<?php echo $my_questions_count;?>)</a></li>            
            <li><a href="index.php?controller=my_affiliate">My Affiliate (<?php echo $my_affiliate_count;?>)</a></li>        
            <li><a href="index.php?controller=account_newsletter">Subscribe Newsletter</a></li>
            <li><a href="index.php?controller=account_logout">Quit</a></li>
        </ul>
    <h3 class="ugiftcerts link_7">Help</h3>
	<div class="userCenter_help">
		If need our help, please<b> <a href="index.php?controller=knowledge_base&knowledge_id=12" target="_blank">contact us</a></b>.  
	</div>
    </div>
</div>
<script type="text/javascript">
	var liList= $(".block-content ul>li:not('.none')");
	var currentLink = document.location.href;
	var linkss=$(".block-content ul>li:not('.one')>a");
	for(var i=0;i<liList.length;i++){
		if(currentLink.indexOf(linkss[i])!=-1) {
			$(liList[i]).addClass("current");
		}
	}
</script>