  <div class="my_sidebar">
        <div class="profle_body text-center">
      <img src="<?php echo theme_url();?>images/user.svg" width="80" height="80" alt="<?=$mres['first_name'];?>" title="<?=$mres['first_name'];?>">
            <?php $welcName = ($mres['display_name']!='') ? $mres['display_name'] : $mres['first_name'];?>
        <h5 class="bold mb-0">Welcome, <?=$welcName;?></h5>
        <small class="counter"><?=$mres['user_name'];?></small>
        </div>            
        </div>
<div class="my_sidebar">
<ul>
    <li><a <?php echo ($this->router->fetch_method() == 'myaccount') ? 'class="active"' : ''; ?> href="<?php echo base_url('my-account'); ?>" title="My Account"><i class="fa fa-user"></i> My Account</a>
    </li>
    <li><a <?php echo ($this->router->fetch_method() == 'orders_history') ? 'class="active"' : ''; ?> href="<?php echo base_url('my-orders'); ?>" title="My Orders"><i class="fa fa-shopping-bag"></i> My Orders</a>
    </li>
    <li><a <?php echo ($this->router->fetch_method() == 'edit_account') ? 'class="active"' : ''; ?> href="<?php echo base_url('edit-profile'); ?>" title="Edit Profile"><i class="fa fa-pencil-square-o"></i> Manage Address</a>
    </li>
    <li><a <?php echo ($this->router->fetch_method() == 'myprofile') ? 'class="active"' : ''; ?> href="<?php echo base_url('my-profile'); ?>" title="Manage Profile"><i class="fa fa-pencil-square-o"></i> Manage Profile</a>
    </li>
<!--
    <li><a <?php echo ($this->router->fetch_method() == 'manage_address') ? 'class="active"' : ''; ?> href="<?php echo base_url('manage-address'); ?>" title="Manage Address"><i class="fa fa-pencil-square-o"></i> Manage Address</a>
    </li>
-->
<!--
    <li><a <?php echo ($this->router->fetch_method() == 'mywishlist') ? 'class="active"' : ''; ?> href="<?php echo base_url('wishlist'); ?>" title="My Wishlist"><i class="fa fa-heart"></i> My Wishlist</a>
    </li>
-->
     <li> <a <?php echo ($this->router->fetch_method() == 'reviews') ? 'class="active"' : ''; ?> href="<?php echo base_url('myreview'); ?>" title="My Wishlist"><i class="fa fa-star"></i> My Reviews & Ratings</a>
    </li>     
    <li><a <?php echo ($this->router->fetch_method() == 'reset_password') ? 'class="active"' : ''; ?> href="<?php echo base_url('reset-password'); ?>" title="Change Password"><i class="fa fa-lock"></i> Change Password</a>
    </li>
    
    <li><a href="<?php echo base_url('users/logout'); ?>" title="Logout"><i class="fa fa-power-off"></i> Logout</a>
    </li>
  </ul>
</div>