<div class="my_sidebar">
  <div class="profle_body text-center">
      <span>Welcome</span>
    <h5 class="bold mb-0"><?=$mres['first_name'];?></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> Edit Profile</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() == 'change_password') ? 'class="active"' : ''; ?> href="<?php echo base_url('change-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>