      <!-- Breadcrumbs-->
      <ol class="breadcrumb">
        <li class="breadcrumb-item">
          <a href="<?= base_url('instructor/dashboard'); ?>">Dashboard</a>
        </li>
        <li class="breadcrumb-item active"><?php echo $breadcrumb_title; ?></li>
      </ol>

      <div class="row">
        <div class="col-12">
                        <div class="w3-bar">
                                <div class="w3-left">
                                        <h2><?php echo $title; ?></h2>
                                </div>
                                <div class="w3-right"> 
                                                      
                                </div>
                        </div>      






<div class="w3-container">
  <ul class="nav nav-pills">
    <li class="active" style="padding:5px;"><a data-toggle="pill" style="background-color:#afcfaf;" class="btn btn-warning" href="#home">General Info</a></li>
    <li style="padding:5px;"><a data-toggle="pill" style="background-color:#afcfaf;" class="btn btn-warning" href="#menu1">Experience/Work History</a></li>
    <li style="padding:5px;"><a data-toggle="pill" style="background-color:#afcfaf;" class="btn btn-warning" href="#menu2">Skill/Qualification</a></li>
    <li style="padding:5px;"><a data-toggle="pill" style="background-color:#afcfaf;" class="btn btn-warning" href="#menu3">Demographic Detail</a></li>
    <li style="padding:5px;"><a data-toggle="pill" style="background-color:#afcfaf;" class="btn btn-warning" href="#menu4">Documents</a></li>
  </ul>

  <div class="tab-content">

    <div id="home" class="tab-pane fade in active">
      <h3  class="w3-bar" style="background-color:#f4e7d7;">
      General Info                                        
     
      </h3>
      <div class="w3-mobile" style="word-wrap: break-word;overflow:auto;">
<!--home menu content starts-->

                                <!--post job form starts-->
                                <div class="w3-row">
                                                <?php echo validation_errors(); ?>
                                                        <div id="add_job" class="panel">
                                                                <div class="w3-mobile w3-border panel-body">                                                                
                                                                        <div class="w3-container" style="border-style:none;overflow-x:auto;"> 
                                                                                
                                                                                        <table class="table table-striped table-hover" style="width:100%;">
                                                                                                <?php $attributes = array('class' => 'form-inline');echo form_open_multipart('humanresource/add_employee', $attributes);?>

                                                                                                        <tr>
                                                                                                        <th>Stakeholder Type:</th>
                                                                                                        <td>
                                                                                                                <select name='stakeholder_type'  class="form-control" id='stakeholder_type' required aria-required='true'>
                                                                                                                        <option selected disabled hidden style='display: none' value=''>Enter Stakeholder Type</option>
                                                                                                                        <?php if($stakeholder_types): ?>
                                                                                                                        <?php foreach($stakeholder_types as $stakeholder_type): ?>
                                                                                                                                <option  value="<?php echo $stakeholder_type['stakeholder_type']; ?>"><?php echo $stakeholder_type['description']; ?></option>
                                                                                                                        <?php endforeach; ?>
                                                                                                                        <?php else: ?>
                                                                                                                                <?php echo "<option value=''>No Stakeholder Type to display</option>"; ?>
                                                                                                                        <?php endif; ?>
                                                                                                                </select>

                                                                                                        </td>
                                                                                                        </tr>

                                                                                                        <tr>
                                                                                                        <th>Department:</th>
                                                                                                        <td>
                                                                                                                <select name='department'  class="form-control" id='department' required aria-required='true'>
                                                                                                                        <option selected disabled hidden style='display: none' value=''>Enter Department</option>
                                                                                                                        <?php if($departments): ?>
                                                                                                                        <?php foreach($departments as $department): ?>
                                                                                                                                <option  value="<?php echo $department['dept_name']; ?>"><?php echo $department['dept_description']; ?></option>
                                                                                                                        <?php endforeach; ?>
                                                                                                                        <?php else: ?>
                                                                                                                                <?php echo "<option value=''>No Department to display</option>"; ?>
                                                                                                                        <?php endif; ?>
                                                                                                                </select>

                                                                                                        </td>
                                                                                                        </tr>

                                                                                                        <tr>
                                                                                                        <th>Designation:</th>
                                                                                                        <td>
                                                                                                                <select name='designation'  class="form-control" id='designation' required aria-required='true'>
                                                                                                                        <option selected disabled hidden style='display: none' value=''>Enter Designation</option>
                                                                                                                        <?php if($designations): ?>
                                                                                                                        <?php foreach($designations as $designation): ?>
                                                                                                                                <option  value="<?php echo $designation['deg_name']; ?>"><?php echo $designation['deg_description']; ?></option>
                                                                                                                        <?php endforeach; ?>
                                                                                                                        <?php else: ?>
                                                                                                                                <?php echo "<option value=''>No Designation to display</option>"; ?>
                                                                                                                        <?php endif; ?>
                                                                                                                </select>

                                                                                                        </td>
                                                                                                        </tr>
                                                                                                        <tr>
                                                                                                        <th>First Name:</th>
                                                                                                        <td>
                                                                                                                <?php echo form_input(['name'=>'fname','class'=>'form-control','placeholder'=>'Enter First Name','id'=>'fname']); ?>    
                                                                                                        </td>
                                                                                                        </tr>
                                                                                                        <tr>
                                                                                                        <th>Last Name:</th>
                                                                                                        <td>
                                                                                                                <?php echo form_input(['name'=>'lname','class'=>'form-control','placeholder'=>'Enter Last Name','id'=>'lname']); ?>    
                                                                                                        </td>
                                                                                                        </tr>
                                                                                
                                                                                                        <tr>
                                                                                                                <th>Gender:</th>
                                                                                                                <td>
                                                                                                                <table class="w3-table-all">   
                                                                                                                <tr>
                                                                                                                        <td><?php echo form_radio(['name'=>'gender','id'=>'gender','value'=>'male','class'=>'w3-radio']); ?>Male</td>
                                                                                                                        <td><?php echo form_radio(['name'=>'gender','id'=>'gender','value'=>'female','class'=>'w3-radio']); ?>Female</td>
                                                                                                                </tr>
                                                                                                                </table>
                                                                                                                </td>
                                                                                                        </tr>

                                                                                                        <tr>
                                                                                                        <th>Profile Photo(If Any):</th>
                                                                                                        <td>
                                                                                                                <?php echo form_upload(['name'=>'image','class'=>'form-control','placeholder'=>'Job Image','type'=>'file','id'=>'job_image']); ?>
                                                                                                        </td>
                                                                                                        </tr>
                                                                                                    
                                                                                                        <tr>
                                                                                                        <th>Email ID.</th>
                                                                                                        <td>
                                                                                                                <?php echo form_input(['name'=>'email','class'=>'form-control','placeholder'=>'Email ID','type'=>'email','id'=>'email']); ?>
                                                                                                        </td>
                                                                                                        </tr>
                                                                                                    
                                                                                                        <tr>
                                                                                                        <th>Phone No.</th>
                                                                                                        <td>
                                                                                                                <?php echo form_input(['name'=>'phone','class'=>'form-control','placeholder'=>'Phone Number','type'=>'number','id'=>'phone']); ?>
                                                                                                        </td>
                                                                                                        </tr>

                                                                                                        <tr>
                                                                                                        <th>Username</th>
                                                                                                        <td>
                                                                                                                <?php echo form_input(['name'=>'username','class'=>'form-control','placeholder'=>'Username','type'=>'text','id'=>'username']); ?>
                                                                                                        </td>
                                                                                                        </tr>

                                                                                                        <tr>
                                                                                                        <th>Remarks(If Any):</th>
                                                                                                        <td>
                                                                                                                <?php echo form_textarea(['name'=>'remarks','class'=>'form-control','placeholder'=>'Enter Remarks','id'=>'remarks']); ?>
                                                                                                        </td>
                                                                                                        </tr>
   
                                                                                                        <tr>
                                                                                                        <th>Status:</th>
                                                                                                        <td>
                                                                                                                <select name='status'  class="form-control" id='status' required aria-required='true'>
                                                                                                                        <option selected disabled hidden style='display: none' value=''>Select Status</option>
                                                                                                                        <option  value='active'>ACTIVE</option>
                                                                                                                        <option  value='inactive'>IN-ACTIVE</option>
                                                                                                                </select>
                                                                                                        </td>
                                                                                                        </tr>
                                                                                                        <!--tr>
                                                                                                        <td>
                                                                                                                <button class="btn btn-info" type="submit">Submit</button>
                                                                                                        </td>
                                                                                                        <td>
                                                                                                                <button class="btn btn-info" type="reset">Reset</button>
                                                                                                        </td>
                                                                                                        </tr-->
                                                                                                <?php //echo form_close(); ?>
                                                                                        </table>
                                                                                
                                                                                                                                                     
                                                                </div>         
                                                        </div>
                                                </div> 
                                </div>      
                                <!--post job form ends-->

<!--home menu content ends-->
      </div>
    </div>

    <div id="menu1" class="tab-pane fade">
      <h3  class="w3-bar" style="background-color:#f4e7d7;">Experience/Work History</h3>
      <div class="w3-mobile" style="word-wrap: break-word;overflow:auto;">
<!--home menu content starts-->
                                <!--post job form starts-->
                                <div class="w3-row">
                                                <?php echo validation_errors(); ?>
                                                        <div id="add_job" class="panel">
                                                                <div class="w3-mobile w3-border panel-body">                                                                
                                                                        <div class="w3-container" style="border-style:none;overflow-x:auto;"> 
                                                                                
                                                                                        <table class="table table-striped table-hover" style="width:100%;">
                                                                                                <?php //$attributes = array('class' => 'form-inline');echo form_open_multipart('humanresource/add_employee', $attributes);?>

                                                                                                        <tr>
                                                                                                        <th>Stakeholder Type:</th>
                                                                                                        <td>
                                                                                                                <select name='stakeholder_type'  class="form-control" id='stakeholder_type' required aria-required='true'>
                                                                                                                        <option selected disabled hidden style='display: none' value=''>Enter Stakeholder Type</option>
                                                                                                                        <?php if($stakeholder_types): ?>
                                                                                                                        <?php foreach($stakeholder_types as $stakeholder_type): ?>
                                                                                                                                <option  value="<?php echo $stakeholder_type['stakeholder_type']; ?>"><?php echo $stakeholder_type['description']; ?></option>
                                                                                                                        <?php endforeach; ?>
                                                                                                                        <?php else: ?>
                                                                                                                                <?php echo "<option value=''>No Stakeholder Type to display</option>"; ?>
                                                                                                                        <?php endif; ?>
                                                                                                                </select>

                                                                                                        </td>
                                                                                                        </tr>

                                                                                                        <tr>
                                                                                                        <th>Department:</th>
                                                                                                        <td>
                                                                                                                <select name='department'  class="form-control" id='department' required aria-required='true'>
                                                                                                                        <option selected disabled hidden style='display: none' value=''>Enter Department</option>
                                                                                                                        <?php if($departments): ?>
                                                                                                                        <?php foreach($departments as $department): ?>
                                                                                                                                <option  value="<?php echo $department['dept_name']; ?>"><?php echo $department['dept_description']; ?></option>
                                                                                                                        <?php endforeach; ?>
                                                                                                                        <?php else: ?>
                                                                                                                                <?php echo "<option value=''>No Department to display</option>"; ?>
                                                                                                                        <?php endif; ?>
                                                                                                                </select>

                                                                                                        </td>
                                                                                                        </tr>

                                                                                                        <tr>
                                                                                                        <th>Designation:</th>
                                                                                                        <td>
                                                                                                                <select name='designation'  class="form-control" id='designation' required aria-required='true'>
                                                                                                                        <option selected disabled hidden style='display: none' value=''>Enter Designation</option>
                                                                                                                        <?php if($designations): ?>
                                                                                                                        <?php foreach($designations as $designation): ?>
                                                                                                                                <option  value="<?php echo $designation['deg_name']; ?>"><?php echo $designation['deg_description']; ?></option>
                                                                                                                        <?php endforeach; ?>
                                                                                                                        <?php else: ?>
                                                                                                                                <?php echo "<option value=''>No Designation to display</option>"; ?>
                                                                                                                        <?php endif; ?>
                                                                                                                </select>

                                                                                                        </td>
                                                                                                        </tr>
                                                                                                        <tr>
                                                                                                        <th>First Name:</th>
                                                                                                        <td>
                                                                                                                <?php echo form_input(['name'=>'fname','class'=>'form-control','placeholder'=>'Enter First Name','id'=>'fname']); ?>    
                                                                                                        </td>
                                                                                                        </tr>
                                                                                                        <tr>
                                                                                                        <th>Last Name:</th>
                                                                                                        <td>
                                                                                                                <?php echo form_input(['name'=>'lname','class'=>'form-control','placeholder'=>'Enter Last Name','id'=>'lname']); ?>    
                                                                                                        </td>
                                                                                                        </tr>
                                                                                
                                                                                                        <tr>
                                                                                                                <th>Gender:</th>
                                                                                                                <td>
                                                                                                                <table class="w3-table-all">   
                                                                                                                <tr>
                                                                                                                        <td><?php echo form_radio(['name'=>'gender','id'=>'gender','value'=>'male','class'=>'w3-radio']); ?>Male</td>
                                                                                                                        <td><?php echo form_radio(['name'=>'gender','id'=>'gender','value'=>'female','class'=>'w3-radio']); ?>Female</td>
                                                                                                                </tr>
                                                                                                                </table>
                                                                                                                </td>
                                                                                                        </tr>

                                                                                                        <tr>
                                                                                                        <th>Profile Photo(If Any):</th>
                                                                                                        <td>
                                                                                                                <?php echo form_upload(['name'=>'image','class'=>'form-control','placeholder'=>'Job Image','type'=>'file','id'=>'job_image']); ?>
                                                                                                        </td>
                                                                                                        </tr>
                                                                                                    
                                                                                                        <tr>
                                                                                                        <th>Email ID.</th>
                                                                                                        <td>
                                                                                                                <?php echo form_input(['name'=>'email','class'=>'form-control','placeholder'=>'Email ID','type'=>'email','id'=>'email']); ?>
                                                                                                        </td>
                                                                                                        </tr>
                                                                                                    
                                                                                                        <tr>
                                                                                                        <th>Phone No.</th>
                                                                                                        <td>
                                                                                                                <?php echo form_input(['name'=>'phone','class'=>'form-control','placeholder'=>'Phone Number','type'=>'number','id'=>'phone']); ?>
                                                                                                        </td>
                                                                                                        </tr>

                                                                                                        <tr>
                                                                                                        <th>Username</th>
                                                                                                        <td>
                                                                                                                <?php echo form_input(['name'=>'username','class'=>'form-control','placeholder'=>'Username','type'=>'text','id'=>'username']); ?>
                                                                                                        </td>
                                                                                                        </tr>

                                                                                                        <tr>
                                                                                                        <th>Remarks(If Any):</th>
                                                                                                        <td>
                                                                                                                <?php echo form_textarea(['name'=>'remarks','class'=>'form-control','placeholder'=>'Enter Remarks','id'=>'remarks']); ?>
                                                                                                        </td>
                                                                                                        </tr>
   
                                                                                                        <tr>
                                                                                                        <th>Status:</th>
                                                                                                        <td>
                                                                                                                <select name='status'  class="form-control" id='status' required aria-required='true'>
                                                                                                                        <option selected disabled hidden style='display: none' value=''>Select Status</option>
                                                                                                                        <option  value='active'>ACTIVE</option>
                                                                                                                        <option  value='inactive'>IN-ACTIVE</option>
                                                                                                                </select>
                                                                                                        </td>
                                                                                                        </tr>
                                                                                                        <!--tr>
                                                                                                        <td>
                                                                                                                <button class="btn btn-info" type="submit">Submit</button>
                                                                                                        </td>
                                                                                                        <td>
                                                                                                                <button class="btn btn-info" type="reset">Reset</button>
                                                                                                        </td>
                                                                                                        </tr-->
                                                                                                <?php //echo form_close(); ?>
                                                                                        </table>
                                                                                
                                                                                                                                                     
                                                                </div>         
                                                        </div>
                                                </div> 
                                </div>      
                                <!--post job form ends-->

<!--home menu content ends-->
      </div>
    </div>


    <div id="menu2" class="tab-pane fade">
      <h3  class="w3-bar" style="background-color:#f4e7d7;">Skill/Qualification</h3>
      <div class="w3-mobile" style="word-wrap: break-word;overflow:auto;">
<!--home menu content starts-->
                                <!--post job form starts-->
                                <div class="w3-row">
                                                <?php echo validation_errors(); ?>
                                                        <div id="add_job" class="panel">
                                                                <div class="w3-mobile w3-border panel-body">                                                                
                                                                        <div class="w3-container" style="border-style:none;overflow-x:auto;"> 
                                                                                
                                                                                        <table class="table table-striped table-hover" style="width:100%;">
                                                                                                <?php //$attributes = array('class' => 'form-inline');echo form_open_multipart('humanresource/add_employee', $attributes);?>

                                                                                                        <tr>
                                                                                                        <th>Stakeholder Type:</th>
                                                                                                        <td>
                                                                                                                <select name='stakeholder_type'  class="form-control" id='stakeholder_type' required aria-required='true'>
                                                                                                                        <option selected disabled hidden style='display: none' value=''>Enter Stakeholder Type</option>
                                                                                                                        <?php if($stakeholder_types): ?>
                                                                                                                        <?php foreach($stakeholder_types as $stakeholder_type): ?>
                                                                                                                                <option  value="<?php echo $stakeholder_type['stakeholder_type']; ?>"><?php echo $stakeholder_type['description']; ?></option>
                                                                                                                        <?php endforeach; ?>
                                                                                                                        <?php else: ?>
                                                                                                                                <?php echo "<option value=''>No Stakeholder Type to display</option>"; ?>
                                                                                                                        <?php endif; ?>
                                                                                                                </select>

                                                                                                        </td>
                                                                                                        </tr>

                                                                                                        <tr>
                                                                                                        <th>Department:</th>
                                                                                                        <td>
                                                                                                                <select name='department'  class="form-control" id='department' required aria-required='true'>
                                                                                                                        <option selected disabled hidden style='display: none' value=''>Enter Department</option>
                                                                                                                        <?php if($departments): ?>
                                                                                                                        <?php foreach($departments as $department): ?>
                                                                                                                                <option  value="<?php echo $department['dept_name']; ?>"><?php echo $department['dept_description']; ?></option>
                                                                                                                        <?php endforeach; ?>
                                                                                                                        <?php else: ?>
                                                                                                                                <?php echo "<option value=''>No Department to display</option>"; ?>
                                                                                                                        <?php endif; ?>
                                                                                                                </select>

                                                                                                        </td>
                                                                                                        </tr>

                                                                                                        <tr>
                                                                                                        <th>Designation:</th>
                                                                                                        <td>
                                                                                                                <select name='designation'  class="form-control" id='designation' required aria-required='true'>
                                                                                                                        <option selected disabled hidden style='display: none' value=''>Enter Designation</option>
                                                                                                                        <?php if($designations): ?>
                                                                                                                        <?php foreach($designations as $designation): ?>
                                                                                                                                <option  value="<?php echo $designation['deg_name']; ?>"><?php echo $designation['deg_description']; ?></option>
                                                                                                                        <?php endforeach; ?>
                                                                                                                        <?php else: ?>
                                                                                                                                <?php echo "<option value=''>No Designation to display</option>"; ?>
                                                                                                                        <?php endif; ?>
                                                                                                                </select>

                                                                                                        </td>
                                                                                                        </tr>
                                                                                                        <tr>
                                                                                                        <th>First Name:</th>
                                                                                                        <td>
                                                                                                                <?php echo form_input(['name'=>'fname','class'=>'form-control','placeholder'=>'Enter First Name','id'=>'fname']); ?>    
                                                                                                        </td>
                                                                                                        </tr>
                                                                                                        <tr>
                                                                                                        <th>Last Name:</th>
                                                                                                        <td>
                                                                                                                <?php echo form_input(['name'=>'lname','class'=>'form-control','placeholder'=>'Enter Last Name','id'=>'lname']); ?>    
                                                                                                        </td>
                                                                                                        </tr>
                                                                                
                                                                                                        <tr>
                                                                                                                <th>Gender:</th>
                                                                                                                <td>
                                                                                                                <table class="w3-table-all">   
                                                                                                                <tr>
                                                                                                                        <td><?php echo form_radio(['name'=>'gender','id'=>'gender','value'=>'male','class'=>'w3-radio']); ?>Male</td>
                                                                                                                        <td><?php echo form_radio(['name'=>'gender','id'=>'gender','value'=>'female','class'=>'w3-radio']); ?>Female</td>
                                                                                                                </tr>
                                                                                                                </table>
                                                                                                                </td>
                                                                                                        </tr>

                                                                                                        <tr>
                                                                                                        <th>Profile Photo(If Any):</th>
                                                                                                        <td>
                                                                                                                <?php echo form_upload(['name'=>'image','class'=>'form-control','placeholder'=>'Job Image','type'=>'file','id'=>'job_image']); ?>
                                                                                                        </td>
                                                                                                        </tr>
                                                                                                    
                                                                                                        <tr>
                                                                                                        <th>Email ID.</th>
                                                                                                        <td>
                                                                                                                <?php echo form_input(['name'=>'email','class'=>'form-control','placeholder'=>'Email ID','type'=>'email','id'=>'email']); ?>
                                                                                                        </td>
                                                                                                        </tr>
                                                                                                    
                                                                                                        <tr>
                                                                                                        <th>Phone No.</th>
                                                                                                        <td>
                                                                                                                <?php echo form_input(['name'=>'phone','class'=>'form-control','placeholder'=>'Phone Number','type'=>'number','id'=>'phone']); ?>
                                                                                                        </td>
                                                                                                        </tr>

                                                                                                        <tr>
                                                                                                        <th>Username</th>
                                                                                                        <td>
                                                                                                                <?php echo form_input(['name'=>'username','class'=>'form-control','placeholder'=>'Username','type'=>'text','id'=>'username']); ?>
                                                                                                        </td>
                                                                                                        </tr>

                                                                                                        <tr>
                                                                                                        <th>Remarks(If Any):</th>
                                                                                                        <td>
                                                                                                                <?php echo form_textarea(['name'=>'remarks','class'=>'form-control','placeholder'=>'Enter Remarks','id'=>'remarks']); ?>
                                                                                                        </td>
                                                                                                        </tr>
   
                                                                                                        <tr>
                                                                                                        <th>Status:</th>
                                                                                                        <td>
                                                                                                                <select name='status'  class="form-control" id='status' required aria-required='true'>
                                                                                                                        <option selected disabled hidden style='display: none' value=''>Select Status</option>
                                                                                                                        <option  value='active'>ACTIVE</option>
                                                                                                                        <option  value='inactive'>IN-ACTIVE</option>
                                                                                                                </select>
                                                                                                        </td>
                                                                                                        </tr>
                                                                                                        <!--tr>
                                                                                                        <td>
                                                                                                                <button class="btn btn-info" type="submit">Submit</button>
                                                                                                        </td>
                                                                                                        <td>
                                                                                                                <button class="btn btn-info" type="reset">Reset</button>
                                                                                                        </td>
                                                                                                        </tr-->
                                                                                                <?php //echo form_close(); ?>
                                                                                        </table>
                                                                                
                                                                                                                                                     
                                                                </div>         
                                                        </div>
                                                </div> 
                                </div>      
                                <!--post job form ends-->

<!--home menu content ends-->
      </div>
    </div>


    <div id="menu3" class="tab-pane fade">
      <h3  class="w3-bar" style="background-color:#f4e7d7;">Demographic Detail</h3>
      <div class="w3-mobile" style="word-wrap: break-word;overflow:auto;">
<!--home menu content starts-->
                                <!--post job form starts-->
                                <div class="w3-row">
                                                <?php echo validation_errors(); ?>
                                                        <div id="add_job" class="panel">
                                                                <div class="w3-mobile w3-border panel-body">                                                                
                                                                        <div class="w3-container" style="border-style:none;overflow-x:auto;"> 
                                                                                
                                                                                        <table class="table table-striped table-hover" style="width:100%;">
                                                                                                <?php //$attributes = array('class' => 'form-inline');echo form_open_multipart('humanresource/add_employee', $attributes);?>

                                                                                                        <tr>
                                                                                                        <th>Stakeholder Type:</th>
                                                                                                        <td>
                                                                                                                <select name='stakeholder_type'  class="form-control" id='stakeholder_type' required aria-required='true'>
                                                                                                                        <option selected disabled hidden style='display: none' value=''>Enter Stakeholder Type</option>
                                                                                                                        <?php if($stakeholder_types): ?>
                                                                                                                        <?php foreach($stakeholder_types as $stakeholder_type): ?>
                                                                                                                                <option  value="<?php echo $stakeholder_type['stakeholder_type']; ?>"><?php echo $stakeholder_type['description']; ?></option>
                                                                                                                        <?php endforeach; ?>
                                                                                                                        <?php else: ?>
                                                                                                                                <?php echo "<option value=''>No Stakeholder Type to display</option>"; ?>
                                                                                                                        <?php endif; ?>
                                                                                                                </select>

                                                                                                        </td>
                                                                                                        </tr>

                                                                                                        <tr>
                                                                                                        <th>Department:</th>
                                                                                                        <td>
                                                                                                                <select name='department'  class="form-control" id='department' required aria-required='true'>
                                                                                                                        <option selected disabled hidden style='display: none' value=''>Enter Department</option>
                                                                                                                        <?php if($departments): ?>
                                                                                                                        <?php foreach($departments as $department): ?>
                                                                                                                                <option  value="<?php echo $department['dept_name']; ?>"><?php echo $department['dept_description']; ?></option>
                                                                                                                        <?php endforeach; ?>
                                                                                                                        <?php else: ?>
                                                                                                                                <?php echo "<option value=''>No Department to display</option>"; ?>
                                                                                                                        <?php endif; ?>
                                                                                                                </select>

                                                                                                        </td>
                                                                                                        </tr>

                                                                                                        <tr>
                                                                                                        <th>Designation:</th>
                                                                                                        <td>
                                                                                                                <select name='designation'  class="form-control" id='designation' required aria-required='true'>
                                                                                                                        <option selected disabled hidden style='display: none' value=''>Enter Designation</option>
                                                                                                                        <?php if($designations): ?>
                                                                                                                        <?php foreach($designations as $designation): ?>
                                                                                                                                <option  value="<?php echo $designation['deg_name']; ?>"><?php echo $designation['deg_description']; ?></option>
                                                                                                                        <?php endforeach; ?>
                                                                                                                        <?php else: ?>
                                                                                                                                <?php echo "<option value=''>No Designation to display</option>"; ?>
                                                                                                                        <?php endif; ?>
                                                                                                                </select>

                                                                                                        </td>
                                                                                                        </tr>
                                                                                                        <tr>
                                                                                                        <th>First Name:</th>
                                                                                                        <td>
                                                                                                                <?php echo form_input(['name'=>'fname','class'=>'form-control','placeholder'=>'Enter First Name','id'=>'fname']); ?>    
                                                                                                        </td>
                                                                                                        </tr>
                                                                                                        <tr>
                                                                                                        <th>Last Name:</th>
                                                                                                        <td>
                                                                                                                <?php echo form_input(['name'=>'lname','class'=>'form-control','placeholder'=>'Enter Last Name','id'=>'lname']); ?>    
                                                                                                        </td>
                                                                                                        </tr>
                                                                                
                                                                                                        <tr>
                                                                                                                <th>Gender:</th>
                                                                                                                <td>
                                                                                                                <table class="w3-table-all">   
                                                                                                                <tr>
                                                                                                                        <td><?php echo form_radio(['name'=>'gender','id'=>'gender','value'=>'male','class'=>'w3-radio']); ?>Male</td>
                                                                                                                        <td><?php echo form_radio(['name'=>'gender','id'=>'gender','value'=>'female','class'=>'w3-radio']); ?>Female</td>
                                                                                                                </tr>
                                                                                                                </table>
                                                                                                                </td>
                                                                                                        </tr>

                                                                                                        <tr>
                                                                                                        <th>Profile Photo(If Any):</th>
                                                                                                        <td>
                                                                                                                <?php echo form_upload(['name'=>'image','class'=>'form-control','placeholder'=>'Job Image','type'=>'file','id'=>'job_image']); ?>
                                                                                                        </td>
                                                                                                        </tr>
                                                                                                    
                                                                                                        <tr>
                                                                                                        <th>Email ID.</th>
                                                                                                        <td>
                                                                                                                <?php echo form_input(['name'=>'email','class'=>'form-control','placeholder'=>'Email ID','type'=>'email','id'=>'email']); ?>
                                                                                                        </td>
                                                                                                        </tr>
                                                                                                    
                                                                                                        <tr>
                                                                                                        <th>Phone No.</th>
                                                                                                        <td>
                                                                                                                <?php echo form_input(['name'=>'phone','class'=>'form-control','placeholder'=>'Phone Number','type'=>'number','id'=>'phone']); ?>
                                                                                                        </td>
                                                                                                        </tr>

                                                                                                        <tr>
                                                                                                        <th>Username</th>
                                                                                                        <td>
                                                                                                                <?php echo form_input(['name'=>'username','class'=>'form-control','placeholder'=>'Username','type'=>'text','id'=>'username']); ?>
                                                                                                        </td>
                                                                                                        </tr>

                                                                                                        <tr>
                                                                                                        <th>Remarks(If Any):</th>
                                                                                                        <td>
                                                                                                                <?php echo form_textarea(['name'=>'remarks','class'=>'form-control','placeholder'=>'Enter Remarks','id'=>'remarks']); ?>
                                                                                                        </td>
                                                                                                        </tr>
   
                                                                                                        <tr>
                                                                                                        <th>Status:</th>
                                                                                                        <td>
                                                                                                                <select name='status'  class="form-control" id='status' required aria-required='true'>
                                                                                                                        <option selected disabled hidden style='display: none' value=''>Select Status</option>
                                                                                                                        <option  value='active'>ACTIVE</option>
                                                                                                                        <option  value='inactive'>IN-ACTIVE</option>
                                                                                                                </select>
                                                                                                        </td>
                                                                                                        </tr>
                                                                                                        <!--tr>
                                                                                                        <td>
                                                                                                                <button class="btn btn-info" type="submit">Submit</button>
                                                                                                        </td>
                                                                                                        <td>
                                                                                                                <button class="btn btn-info" type="reset">Reset</button>
                                                                                                        </td>
                                                                                                        </tr-->
                                                                                                <?php //echo form_close(); ?>
                                                                                        </table>
                                                                                
                                                                                                                                                     
                                                                </div>         
                                                        </div>
                                                </div> 
                                </div>      
                                <!--post job form ends-->

<!--home menu content ends-->
      </div>
    </div>


    <div id="menu4" class="tab-pane fade">
      <h3  class="w3-bar" style="background-color:#f4e7d7;">Documents</h3>
      <div class="w3-mobile" style="word-wrap: break-word;overflow:auto;">
<!--home menu content starts-->
                                <!--post job form starts-->
                                <div class="w3-row">
                                                <?php echo validation_errors(); ?>
                                                        <div id="add_job" class="panel">
                                                                <div class="w3-mobile w3-border panel-body">                                                                
                                                                        <div class="w3-container" style="border-style:none;overflow-x:auto;"> 
                                                                                
                                                                                        <table class="table table-striped table-hover" style="width:100%;">
                                                                                                <?php //$attributes = array('class' => 'form-inline');echo form_open_multipart('humanresource/add_employee', $attributes);?>

                                                                                                        <tr>
                                                                                                        <th>Stakeholder Type:</th>
                                                                                                        <td>
                                                                                                                <select name='stakeholder_type'  class="form-control" id='stakeholder_type' required aria-required='true'>
                                                                                                                        <option selected disabled hidden style='display: none' value=''>Enter Stakeholder Type</option>
                                                                                                                        <?php if($stakeholder_types): ?>
                                                                                                                        <?php foreach($stakeholder_types as $stakeholder_type): ?>
                                                                                                                                <option  value="<?php echo $stakeholder_type['stakeholder_type']; ?>"><?php echo $stakeholder_type['description']; ?></option>
                                                                                                                        <?php endforeach; ?>
                                                                                                                        <?php else: ?>
                                                                                                                                <?php echo "<option value=''>No Stakeholder Type to display</option>"; ?>
                                                                                                                        <?php endif; ?>
                                                                                                                </select>

                                                                                                        </td>
                                                                                                        </tr>

                                                                                                        <tr>
                                                                                                        <th>Department:</th>
                                                                                                        <td>
                                                                                                                <select name='department'  class="form-control" id='department' required aria-required='true'>
                                                                                                                        <option selected disabled hidden style='display: none' value=''>Enter Department</option>
                                                                                                                        <?php if($departments): ?>
                                                                                                                        <?php foreach($departments as $department): ?>
                                                                                                                                <option  value="<?php echo $department['dept_name']; ?>"><?php echo $department['dept_description']; ?></option>
                                                                                                                        <?php endforeach; ?>
                                                                                                                        <?php else: ?>
                                                                                                                                <?php echo "<option value=''>No Department to display</option>"; ?>
                                                                                                                        <?php endif; ?>
                                                                                                                </select>

                                                                                                        </td>
                                                                                                        </tr>

                                                                                                        <tr>
                                                                                                        <th>Designation:</th>
                                                                                                        <td>
                                                                                                                <select name='designation'  class="form-control" id='designation' required aria-required='true'>
                                                                                                                        <option selected disabled hidden style='display: none' value=''>Enter Designation</option>
                                                                                                                        <?php if($designations): ?>
                                                                                                                        <?php foreach($designations as $designation): ?>
                                                                                                                                <option  value="<?php echo $designation['deg_name']; ?>"><?php echo $designation['deg_description']; ?></option>
                                                                                                                        <?php endforeach; ?>
                                                                                                                        <?php else: ?>
                                                                                                                                <?php echo "<option value=''>No Designation to display</option>"; ?>
                                                                                                                        <?php endif; ?>
                                                                                                                </select>

                                                                                                        </td>
                                                                                                        </tr>
                                                                                                        <tr>
                                                                                                        <th>First Name:</th>
                                                                                                        <td>
                                                                                                                <?php echo form_input(['name'=>'fname','class'=>'form-control','placeholder'=>'Enter First Name','id'=>'fname']); ?>    
                                                                                                        </td>
                                                                                                        </tr>
                                                                                                        <tr>
                                                                                                        <th>Last Name:</th>
                                                                                                        <td>
                                                                                                                <?php echo form_input(['name'=>'lname','class'=>'form-control','placeholder'=>'Enter Last Name','id'=>'lname']); ?>    
                                                                                                        </td>
                                                                                                        </tr>
                                                                                
                                                                                                        <tr>
                                                                                                                <th>Gender:</th>
                                                                                                                <td>
                                                                                                                <table class="w3-table-all">   
                                                                                                                <tr>
                                                                                                                        <td><?php echo form_radio(['name'=>'gender','id'=>'gender','value'=>'male','class'=>'w3-radio']); ?>Male</td>
                                                                                                                        <td><?php echo form_radio(['name'=>'gender','id'=>'gender','value'=>'female','class'=>'w3-radio']); ?>Female</td>
                                                                                                                </tr>
                                                                                                                </table>
                                                                                                                </td>
                                                                                                        </tr>

                                                                                                        <tr>
                                                                                                        <th>Profile Photo(If Any):</th>
                                                                                                        <td>
                                                                                                                <?php echo form_upload(['name'=>'image','class'=>'form-control','placeholder'=>'Job Image','type'=>'file','id'=>'job_image']); ?>
                                                                                                        </td>
                                                                                                        </tr>
                                                                                                    
                                                                                                        <tr>
                                                                                                        <th>Email ID.</th>
                                                                                                        <td>
                                                                                                                <?php echo form_input(['name'=>'email','class'=>'form-control','placeholder'=>'Email ID','type'=>'email','id'=>'email']); ?>
                                                                                                        </td>
                                                                                                        </tr>
                                                                                                    
                                                                                                        <tr>
                                                                                                        <th>Phone No.</th>
                                                                                                        <td>
                                                                                                                <?php echo form_input(['name'=>'phone','class'=>'form-control','placeholder'=>'Phone Number','type'=>'number','id'=>'phone']); ?>
                                                                                                        </td>
                                                                                                        </tr>

                                                                                                        <tr>
                                                                                                        <th>Username</th>
                                                                                                        <td>
                                                                                                                <?php echo form_input(['name'=>'username','class'=>'form-control','placeholder'=>'Username','type'=>'text','id'=>'username']); ?>
                                                                                                        </td>
                                                                                                        </tr>

                                                                                                        <tr>
                                                                                                        <th>Remarks(If Any):</th>
                                                                                                        <td>
                                                                                                                <?php echo form_textarea(['name'=>'remarks','class'=>'form-control','placeholder'=>'Enter Remarks','id'=>'remarks']); ?>
                                                                                                        </td>
                                                                                                        </tr>
   
                                                                                                        <tr>
                                                                                                        <th>Status:</th>
                                                                                                        <td>
                                                                                                                <select name='status'  class="form-control" id='status' required aria-required='true'>
                                                                                                                        <option selected disabled hidden style='display: none' value=''>Select Status</option>
                                                                                                                        <option  value='active'>ACTIVE</option>
                                                                                                                        <option  value='inactive'>IN-ACTIVE</option>
                                                                                                                </select>
                                                                                                        </td>
                                                                                                        </tr>
                                                                                                        <tr>
                                                                                                        <td>
                                                                                                                <button class="btn btn-info" type="submit">Submit</button>
                                                                                                        </td>
                                                                                                        <td>
                                                                                                                <button class="btn btn-info" type="reset">Reset</button>
                                                                                                        </td>
                                                                                                        </tr>
                                                                                                <?php echo form_close(); ?>
                                                                                        </table>
                                                                                
                                                                                                                                                     
                                                                </div>         
                                                        </div>
                                                </div> 
                                </div>      
                                <!--post job form ends-->

<!--home menu content ends-->
      </div>
    </div>

</div>












        </div>
      </div>
  
 