            <div class="row profile">
                <div class="col-md-12">
                    <!--BEGIN TABS-->
                    <div class="tabbable tabbable-custom tabbable-full-width">
                        <div id="response_msg"></div>
                        <ul class="nav nav-tabs">
                            <li class="active">
                                <a href="#tab_1_1" data-toggle="tab"> Overview </a>
                            </li>
                            <li>
                                <a href="#tab_1_3" data-toggle="tab"> Account </a>
                            </li>
                        </ul>
                        <div class="tab-content">
                            <div class="tab-pane active" id="tab_1_1">
                                <div class="row">
                                    <div class="col-md-12">
                                        <div class="row">
                                            <div class="col-md-8 profile-info">
                                                <h1><?php echo $user_details->contact_name; ?></h1>
                                                <ul class="list-inline">
                                                    <li>
                                                        <i class="fa fa-user"></i> <strong><?php echo $user_details->user_privilege; ?></strong>
                                                    </li>
                                                    <li>
                                                        <i class="fa fa-phone"></i> <strong><?php echo $user_details->contact_number; ?></strong>
                                                    </li>
                                                    <li>
                                                        Username - <strong><?php echo $user_details->username; ?></strong>
                                                    </li>
                                                    <li>
                                                        <?php if($user_details->user_status == 1){ 
                                                            $user_status = '<span class="label label-success">Active</span>'; 
                                                            
                                                        }else if($user_details->user_status == 2){ 
                                                            $user_status = '<span class="label label-danger">Inactive</span>'; 
                                                            
                                                        }else if($user_details->user_status == 3){ 
                                                            $user_status = '<span class="label label-danger">Deleted</span>'; 
                                                            
                                                        } ?>
                                                        
                                                        User Status <?php echo $user_status; ?>
                                                    </li>
                                                    <li>
                                                    <li>
                                                        <?php if($user_details->privilege_status == 1){ 
                                                            $privilege_status = '<span class="label label-success">Active</span>'; 
                                                            
                                                        }else if($user_details->privilege_status == 2){ 
                                                            $privilege_status = '<span class="label label-danger">Inactive</span>'; 
                                                            
                                                        } ?>
                                                        
                                                        Privilege Status <?php echo $privilege_status; ?>
                                                    </li>
                                                </ul>
                                            </div>
                                            <!--end col-md-8-->
                                        </div>
                                        <!--end row-->
                                    </div>
                                </div>
                            </div>
                            <!--tab_1_2-->
                            <div class="tab-pane" id="tab_1_3">
                                <div class="row profile-account">
                                    <div class="col-md-3">
                                        <ul class="ver-inline-menu tabbable margin-bottom-10">
                                            <li class="active">
                                                <a data-toggle="tab" href="#tab_1-1">
                                                <i class="fa fa-cog"></i> Personal info </a>
                                                <span class="after">
                                                </span>
                                            </li>
                                            <li>
                                                <a data-toggle="tab" href="#tab_3-3">
                                                <i class="fa fa-lock"></i> Change Password </a>
                                            </li>
                                        </ul>
                                    </div>
                                        <div class="col-md-9">
                                            <div class="tab-content">
                                                <div id="tab_1-1" class="tab-pane active">
                                                    <form id="edit_user" class="form-horizontal" method="post" enctype="multipart/form-data"  novalidate="novalidate">
                                                        <input type="hidden" name="user_id" id="user_id" class="form-control" value="<?php echo $user_details->id; ?>"/>
                                                        <div class="form-body">
                                                            <div class="form-group">
                                                                <label class="col-md-3 control-label pull-left">Contact Name</label>
                                                                <div class="col-md-6">
                                                                    <input type="text" name="contact_name" id="contact_name" placeholder="Shafraz Jiffry" class="form-control" value="<?php echo $user_details->contact_name; ?>"/>
                                                                </div>
                                                            </div>
                                                            <div class="form-group">
                                                                <label class="col-md-3 control-label pull-left">Contact Number</label>
                                                                <div class="col-md-6">
                                                                    <input type="number" name="contact_num" id="contact_num" placeholder="0777123456" class="form-control" value="<?php echo $user_details->contact_number; ?>"/>
                                                                </div>
                                                            </div>
                                                            <div class="form-group">
                                                                <label class="col-md-3 control-label pull-left">Username</label>
                                                                <div class="col-md-6">
                                                                    <input type="text" name="username" id="edit_username" placeholder="mj.shaf" class="form-control" value="<?php echo $user_details->username; ?>"/>
                                                                    <p id="edit_username_status"></p>
                                                                </div>
                                                            </div>
                                                            <div class="form-group">
                                                                <label class="col-md-3 control-label pull-left">User Privilege</label>
                                                                <div class="col-md-6">
                                                                    <select class="form-control" name="user_type" id="user_type" >
                                                                        <option value="" disabled>Select User Type</option>
                                                                        <?php
                                                                            $user_types = $this->admin_db->get_user_types();
                                                                            foreach ($user_types as $user_type) {
                                                                                $sel = '';
                                                                                if($user_details->user_type_id == $user_type['id']){
                                                                                    $sel = 'selected';
                                                                                }
                                                                        ?>
                                                                        
                                                                        <option value="<?php echo $user_type['id']; ?>" <?php echo $sel; ?> ><?php echo $user_type['user_privilege']; ?></option>
                                                                        
                                                                        <?php } ?>
                                                                    </select>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="form-actions fluid">
                                                            <div class="col-md-3"></div>
                                                            <div class="col-md-6">
                                                                <button type="submit" class="btn green" id="save_edit_user_details"> Submit </button>
                                                            </div>
                                                        </div>
                                                    </form>
                                                </div>
                                                <div id="tab_3-3" class="tab-pane">
                                                    <form id="form_user_password" class="form-horizontal" method="post">
                                                        <input type="hidden" name="user_id" id="user_id" class="form-control" value="<?php echo $user_details->id; ?>"/>
                                                        <div class="form-group">
                                                            <label class="col-md-3 control-label pull-left">New Password</label>
                                                            <div class="col-md-6">
                                                                <input type="password" name="password" id="password" class="form-control"/>
                                                            </div>
                                                        </div>
                                                        <div class="form-group">
                                                            <label class="col-md-3 control-label pull-left">Re-type New Password</label>
                                                            <div class="col-md-6">
                                                                <input type="password" name="con_password" id="con_password" class="form-control"/>
                                                            </div>
                                                        </div>
                                                        <div class="form-actions fluid">
                                                            <div class="col-md-3"></div>
                                                            <div class="col-md-6">
                                                                <button type="button" id="btn_change_password" class="btn green">Change Password </button>
                                                            </div>
                                                        </div>
                                                    </form>
                                                </div>
                                            </div>
                                        </div>
                                        <!--end col-md-9-->
                                </div>
                            </div>
                            <!--end tab-pane-->
                        </div>
                    </div>
                    <!--END TABS-->
                </div>
            </div>
            <!-- END PAGE CONTENT-->
        </div>
    </div>
    <!-- END CONTENT -->
<!-- END QUICK SIDEBAR -->
</div>