      <!-- Content Wrapper. Contains page content -->
      <div class="content-wrapper">
        <!-- Content Header (Page header) -->
        <section class="content-header">
          <h1>
           Account Activation
          </h1>
          <ol class="breadcrumb">
            <li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
            <li><a href="#">Permissions</a></li>
            <li class="active">Admin Account Activation</li>
          </ol>
        </section>

        <!-- Main content -->
        <section class="content">
           <div class="row">         
           
           	 <div class="col-md-12">
              <div class="box box-success">
                <div class="box-header with-border">
                  <h3 class="box-title">Account Activation</h3>                  
                </div><!-- /.box-header -->  
              <div class="box-body">
                  <table id="members" class="table table-bordered table-striped">                    
					<thead>
						<tr>
							<th>Member No.</th>
							<th>First Name</th>
							<th>Other Names</th>
							<th>Status</th>
							<th>Action</th>
						</tr>
					</thead>
					<tbody>
                    <?php
					$x=0;
					if($members == NULL){?>
					
					<tr>
							<td colspan="6">  There are currently no Members in the system </td>
					
					<?php } else{
					foreach($members as $row){$x++;
					?>
					<!-- Start: list_row -->
						<tr>
							<td><a href="<?php echo site_url();?>user_management/user_profile/<?php echo $row->user_id;?>"><?php echo $row->member_no;?></a></td>
							<td><?php echo $row->first_name;?></td>
							<td><?php echo $row->other_names;?></td>
							<td><?php echo $status = ($row->active_status !=1)?"<span class='red' id='status{$row->user_id}'>Inactive</span>":"<span class='green' id='status{$row->user_id}'>Active</span>";?></td>
							<td><span class="account-activation activate" onclick="activateAccount(<?php $usertype = $this->login_model->user_type(); echo $usertype == 1?"'corporation'":"'user'";?>,<?php echo $row->user_id;?>)"></span>
                            <div class="horizontal-spacer"></div>
                            <span class="account-activation deactivate" onclick="deactivateAccount(<?php $usertype = $this->login_model->user_type(); echo $usertype == 1?"'corporation'":"'user'";?>,<?php echo $row->user_id;?>)"></span></td>
						</tr>
                      <?php  }} ?>
					
					<!-- End: list_row -->
					</tbody>
					<tfoot>
						<tr>
							<th>Member No.</th>
							<th>First Name</th>
							<th>Other Names</th>
							<th>Status</th>
							<th>Action</th>
						</tr>
					</tfoot>
				</table>
                </div><!-- /closing outer box --> 
                </div><!-- /.box -->   
           	</div>
          </div>   <!-- /.row -->

        </section><!-- /.content -->
      </div><!-- /.content-wrapper -->