      <!-- 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">Super 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="corporations" class="table table-bordered table-striped">                    
					<thead>
						<tr>
							<th>Corporation Id</th>
							<th>Corp Name</th>
							<th>Total Accounts</th>
							<th>Active Accounts</th>
							<th>Inactive Accounts</th>
							<th>Action</th>
						</tr>
					</thead>
					<tbody>
                    <?php
					$x=0;
					if($corporations == NULL){?>
					
					<tr>
							<td colspan="6">  There are currently no Corporations in the system </td>
					
					<?php } else{
					foreach($corporations as $row){$x++;
					?>
					<!-- Start: list_row -->
						<tr>
							<td><?php echo $row->corporation_id;?></td>
							<td><?php echo $row->corporation_name;?></td>
							<td><?php echo $corp_accounts[$row->corporation_id]['total_accounts'];?></td>
							<td><?php echo $corp_accounts[$row->corporation_id]['active_accounts'];?></td>
							<td><?php echo $corp_accounts[$row->corporation_id]['inactive_accounts'];?></td>
							<td><span class="account-activation activate" onclick="activateAccount(<?php $usertype= $this->login_model->user_type(); echo $usertype == 1?"'corporation'":"'user'";?>,<?php echo $row->corporation_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->corporation_id;?>)"></span></td>
						</tr>
                      <?php  }} ?>
					
					<!-- End: list_row -->
					</tbody>
					<tfoot>
						<tr>
							<th>Corporation Id</th>
							<th>Corp Name</th>
							<th>Total Accounts</th>
							<th>Active Accounts</th>
							<th>Inactive Accounts</th>
							<th>Action</th>
						</tr>
					</tfoot>
				</table>
                </div><!-- /closing outer box --> 
                </div><!-- /.box -->   
           	</div>
          </div>   <!-- /.row -->

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