<div class="navbar-default sidebar" role="navigation">
    <div class="sidebar-nav navbar-collapse slimscrollsidebar">
          <div class="user-profile">
        <div class="dropdown user-pro-body">
              <div><img src="pics/<?php echo user_details($user_id,'x_pic');  ?>" alt="user-img" class="img-circle">
           
              </div>
              <a href="#" class="dropdown-toggle u-dropdown" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><?php echo user_details($user_id,'x_fname');  ?>  <?php echo user_details($user_id,'x_lname');  ?><span class="caret"></span></a>
               <br>  Last Session : <?php  echo user_lastloggedin($user_id); ?><br>
               IP: <?php  echo visitor_ip();  ?>
              <ul class="dropdown-menu animated flipInY">
            <li><a href="<?php  echo website_settingdata('x_weburl'); ?>user/account-detail.php"><i class="ti-user"></i> My Profile</a></li>
            <li><a href="<?php  echo website_settingdata('x_weburl'); ?>user/welcome.php"><i class="ti-wallet"></i> My Balance</a></li>
            <li><a href="<?php  echo website_settingdata('x_weburl'); ?>user/logout.php"><i class="fa fa-power-off"></i> Logout</a></li>
          </ul>
            </div>
      </div>
          <ul class="nav" id="side-menu">
        <li class="sidebar-search hidden-sm hidden-md hidden-lg"> 
              <!-- input-group -->
              <div class="input-group custom-search-form">

            <input type="text" class="form-control" placeholder="Search...">
            <span class="input-group-btn">
                <button class="btn btn-default" type="button"> <i class="fa fa-search"></i> </button>
                </span> </div>
              <!-- /input-group --> 
            </li>
        <li class="nav-small-cap m-t-10"> Main Menu</li>
        <li> <a href="index.html" class="waves-effect active"><i class="linea-icon linea-basic fa-fw" data-icon="v"></i> <span class="hide-menu"> Account Details <span class="fa arrow"></span></span></a>
                        <ul class="nav nav-second-level">
                            <li> <a href="<?php  echo website_settingdata('x_weburl'); ?>user/welcome.php?<?php  echo md5(rand(0000,9999));  ?>">Account Summary</a> </li>
                            <li> <a href="<?php  echo website_settingdata('x_weburl'); ?>user/account-detail.php?<?php  echo md5(rand(0000,9999));  ?>">Account Details</a> </li>
                            <li> <a href="<?php  echo website_settingdata('x_weburl'); ?>user/account-statement.php?<?php  echo md5(rand(0000,9999));  ?>">Account Statement</a> </li>
                            <li> <a href="<?php  echo website_settingdata('x_weburl'); ?>user/fund-transfer.php?<?php  echo md5(rand(0000,9999));  ?>">Fund Transfer</a> </li>
                             <li> <a href="<?php  echo website_settingdata('x_weburl'); ?>user/creditcard.php?<?php  echo md5(rand(0000,9999));  ?>">Credit Card</a> </li>
                              <li> <a href="<?php  echo website_settingdata('x_weburl'); ?>user/contactus.php?<?php  echo md5(rand(0000,9999));  ?>">Contact Us</a> </li>
                           
                        </ul>
                    </li>
        
        
        
    
        <li> <a href="index.html" class="waves-effect active"><i class="linea-icon linea-basic fa-fw" data-icon="v"></i> <span class="hide-menu"> Security Settings<span class="fa arrow"></span> </span></a>
                        <ul class="nav nav-second-level">
                            <li> <a href="<?php  echo website_settingdata('x_weburl'); ?>user/user-profile.php?<?php  echo md5(rand(0000,9999));  ?>">User Profile</a> </li>
                            <li> <a href="<?php  echo website_settingdata('x_weburl'); ?>user/accountbene.php?<?php  echo md5(rand(0000,9999));  ?>">Account Beneficiary</a> </li>
                            <li> <a href="<?php  echo website_settingdata('x_weburl'); ?>user/change-password.php?<?php  echo md5(rand(0000,9999));  ?>">Change Password</a> </li>
                            <li> <a href="<?php  echo website_settingdata('x_weburl'); ?>user/change-pin.php?<?php  echo md5(rand(0000,9999));  ?>">Change PIN</a> </li>
                             <li> <a href="<?php  echo website_settingdata('x_weburl'); ?>user/logout.php">Sign Out</a> </li>
                        </ul>
                    </li>
        
     </ul>
        </div>
  </div>