      <!-- 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">Personal Info</a></li>
    <li style="padding:5px;"><a data-toggle="pill" style="background-color:#afcfaf;" class="btn btn-warning" href="#menu1">Demographic Info</a></li>
    <li style="padding:5px;"><a data-toggle="pill" style="background-color:#afcfaf;" class="btn btn-warning" href="#menu2">Address Info</a></li>
    <li style="padding:5px;"><a data-toggle="pill" style="background-color:#afcfaf;" class="btn btn-warning" href="#menu3">Academic Info</a></li>
    <li style="padding:5px;"><a data-toggle="pill" style="background-color:#afcfaf;" class="btn btn-warning" href="#menu4">Professionl Info</a></li>
    <li style="padding:5px;"><a data-toggle="pill" style="background-color:#afcfaf;" class="btn btn-warning" href="#menu5">Document Info</a></li>
  </ul>

  <div class="tab-content">

    <div id="home" class="tab-pane fade in active">
      <h3  class="w3-bar" style="background-color:#f4e7d7;">Personal Details</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;">Demographic Details</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>Date of Birth.</th>
                                                                                                        <td>
                                                                                                                <?php echo form_input(['name'=>'d_o_b','class'=>'form-control','placeholder'=>'date Of Birth','type'=>'date','id'=>'d_o_b']); ?>
                                                                                                        </td>
                                                                                                        </tr>

                                                                                                        <tr>
                                                                                                        <th>Marital Status:</th>
                                                                                                        <td>
                                                                                                                <select name='status'  class="form-control" id='status' required aria-required='true'>
                                                                                                                        <option selected disabled hidden style='display: none' value=''>Marital Status</option>
                                                                                                                        <option  value='married'>Married</option>
                                                                                                                        <option  value='unmarried'>Un-married</option>
                                                                                                                        <option  value='widowed'>Widowed</option>
                                                                                                                        <option  value='divorced'>Divorced</option>
                                                                                                                </select>
                                                                                                        </td>
                                                                                                        </tr>

                                                                                                        <tr>
                                                                                                        <th>Community:</th>
                                                                                                        <td>
                                                                                                                <select name='status'  class="form-control" id='status' required aria-required='true'>
                                                                                                                        <option selected disabled hidden style='display: none' value=''>Select Community</option>
                                                                                                                        <option  value='hindu'>Hindu</option>
                                                                                                                        <option  value='christian'>Christian</option>
                                                                                                                        <option  value='sikh'>Sikhism</option>
                                                                                                                        <option  value='muslim'>Muslim</option>
                                                                                                                </select>
                                                                                                        </td>
                                                                                                        </tr>
   
                                                                                                        <tr>
                                                                                                        <th>Category:</th>
                                                                                                        <td>
                                                                                                                <select name='status'  class="form-control" id='status' required aria-required='true'>
                                                                                                                        <option selected disabled hidden style='display: none' value=''>Select Category</option>
                                                                                                                        <option  value='sc'>S.C</option>
                                                                                                                        <option  value='st'>S.T</option>
                                                                                                                        <option  value='obc'>OBC</option>
                                                                                                                        <option  value='gen'>GEN</option>
                                                                                                                </select>
                                                                                                        </td>
                                                                                                        </tr>

                                                                                                        <tr>
                                                                                                        <th>Family Type:</th>
                                                                                                        <td>
                                                                                                                <select name='status'  class="form-control" id='status' required aria-required='true'>
                                                                                                                        <option selected disabled hidden style='display: none' value=''>Select Type</option>
                                                                                                                        <option  value='nuclear'>Nuclear Family</option>
                                                                                                                        <option  value='joint'>Joint Family</option>
                                                                                                                </select>
                                                                                                        </td>
                                                                                                        </tr>

                                                                                                        <tr>
                                                                                                        <th>Mother Toung:</th>
                                                                                                        <td>
                                                                                                                <select name='status'  class="form-control" id='status' required aria-required='true'>
                                                                                                                        <option selected disabled hidden style='display: none' value=''>Select Language</option>
                                                                                                                        <option  value='hindi'>Hindi</option>
                                                                                                                        <option  value='bengali'>Bengali</option>
                                                                                                                        <option  value='english'>English</option>
                                                                                                                        <option  value='marathi'>Marathi</option>
                                                                                                                        <option  value='tamil'>Tamil</option>
                                                                                                                </select>
                                                                                                        </td>
                                                                                                        </tr>

                                                                                                        <tr>
                                                                                                        <th>Mother Name:</th>
                                                                                                        <td>
                                                                                                                <?php echo form_input(['name'=>'mother_name','class'=>'form-control','placeholder'=>'Enter Mothers Name','id'=>'mother_name']); ?>    
                                                                                                        </td>
                                                                                                        </tr>
                                                                                                        <tr>
                                                                                                        <th>Father Name:</th>
                                                                                                        <td>
                                                                                                                <?php echo form_input(['name'=>'father_name','class'=>'form-control','placeholder'=>'Enter Fathers Name','id'=>'father_name']); ?>    
                                                                                                        </td>
                                                                                                        </tr>


        
                                                                                                        <tr>
                                                                                                        <th>Guardians Phone No.</th>
                                                                                                        <td>
                                                                                                                <?php echo form_input(['name'=>'phone','class'=>'form-control','placeholder'=>'Phone Number','type'=>'number','id'=>'phone']); ?>
                                                                                                        </td>
                                                                                                        </tr>

                                                                                                        <tr>
                                                                                                        <th>Siblings(If Any)</th>
                                                                                                        <td>
                                                                                                                <?php echo form_input(['name'=>'siblings','class'=>'form-control','placeholder'=>' Total Siblings','type'=>'number','id'=>'siblings']); ?>
                                                                                                        </td>
                                                                                                        </tr>

                                                                                                        <tr>
                                                                                                        <th>Dependents(If Any):</th>
                                                                                                        <td>
                                                                                                                <?php echo form_input(['name'=>'dependents','class'=>'form-control','placeholder'=>'Total Dependent Family Members','type'=>'number','id'=>'dependents']); ?>
                                                                                                        </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;">Address Details</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>House/Street/Quarter Address(If Any):</th>
                                                                                                        <td>
                                                                                                                <?php echo form_textarea(['name'=>'full_address','class'=>'form-control','placeholder'=>'Enter Street/House/Quarter','id'=>'full_address']); ?>
                                                                                                        </td>
                                                                                                        </tr>

                                                                                                        <tr>
                                                                                                        <th>Country:</th>
                                                                                                        <td>
                                                                                                                <select name='country'  class="form-control" id='country' required aria-required='true'>
                                                                                                                        <option selected disabled hidden style='display: none' value=''>Select Country</option>
                                                                                                                        <option  value='india'>India</option>
                                                                                                                        <option  value='bandladesh'>Bangladesh</option>
                                                                                                                </select>
                                                                                                        </td>
                                                                                                        </tr>

                                                                                                        <tr>
                                                                                                        <th>State:</th>
                                                                                                        <td>
                                                                                                                <select name='state'  class="form-control" id='state' required aria-required='true'>
                                                                                                                        <option selected disabled hidden style='display: none' value=''>Select State</option>
                                                                                                                        <option  value='jharkhand'>Jharkhand</option>
                                                                                                                        <option  value='bihar'>Bihar</option>
                                                                                                                </select>
                                                                                                        </td>
                                                                                                        </tr>
                                                                                                        <tr>
                                                                                                        <th>District:</th>
                                                                                                        <td>
                                                                                                                <select name='district'  class="form-control" id='district' required aria-required='true'>
                                                                                                                        <option selected disabled hidden style='display: none' value=''>Select District</option>
                                                                                                                        <option  value='ranchi'>Ranchi</option>
                                                                                                                        <option  value='dhanbad'>Dhanbad</option>
                                                                                                                        <option  value='bokaro'>Bokaro</option>
                                                                                                                        <option  value='Lohardaga'>Loghardaga</option>
                                                                                                                        <option  value='dumka'>Dumka</option>
                                                                                                                        <option  value='gumla'>Gumla</option>
                                                                                                                </select>
                                                                                                        </td>
                                                                                                        </tr>
                                                                                                        <tr>
                                                                                                        <th>Block:</th>
                                                                                                        <td>
                                                                                                                <select name='block'  class="form-control" id='block' required aria-required='true'>
                                                                                                                        <option selected disabled hidden style='display: none' value=''>Select Block</option>
                                                                                                                        <option  value='ranchi1'>Ranchi-1</option>
                                                                                                                        <option  value='ranchi2'>Ranchi-2</option>
                                                                                                                        <option  value='kanke'>Kanke</option>
                                                                                                                        <option  value='ratu'>Ratu</option>
                                                                                                                        <option  value='ormanjhhi'>Ormanjhi</option>
                                                                                                                </select>
                                                                                                        </td>
                                                                                                        </tr>
                                                                                                                                                    

                                                                                                        <tr>
                                                                                                        <th>PIN Code:</th>
                                                                                                        <td>
                                                                                                                <?php echo form_input(['name'=>'pin_code','type'=>'number','class'=>'form-control','placeholder'=>'Enter PIN CODE','id'=>'pin_code']); ?>
                                                                                                        </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;">Academic details</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>Course/Degree</th>
                                                                                                        <td>
                                                                                                                <?php echo form_input(['name'=>'email','class'=>'form-control','placeholder'=>'Email ID','type'=>'email','id'=>'email']); ?>
                                                                                                        </td>
                                                                                                        </tr>
                                                                                                    
                                                                                                        <tr>
                                                                                                        <th>University/Board</th>
                                                                                                        <td>
                                                                                                                <?php echo form_input(['name'=>'phone','class'=>'form-control','placeholder'=>'Phone Number','type'=>'number','id'=>'phone']); ?>
                                                                                                        </td>
                                                                                                        </tr>

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

                                                                                                        <tr>
                                                                                                        <th>Total Marks</th>
                                                                                                        <td>
                                                                                                                <?php echo form_input(['name'=>'remarks','class'=>'form-control','placeholder'=>'Enter Remarks','id'=>'remarks']); ?>
                                                                                                        </td>
                                                                                                        </tr>
   
                                                                                                        <tr>
                                                                                                        <th>Year Of Passing:</th>
                                                                                                        <td>
                                                                                                                <select name='y_o_passing'  class="form-control" id='y_o_passing' required aria-required='true'>
                                                                                                                        <option selected disabled hidden style='display: none' value=''>Select Year</option>
                                                                                                                        <option  value='2018'>2018</option>
                                                                                                                        <option  value='2017'>2017</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;">Professional Details</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>Company Name:</th>
                                                                                                        <td>
                                                                                                                <?php echo form_input(['name'=>'company','class'=>'form-control','placeholder'=>'Enter Company Name','id'=>'company']); ?>    
                                                                                                        </td>
                                                                                                        </tr>
                                                                                                        <tr>
                                                                                                        <th>Department:</th>
                                                                                                        <td>
                                                                                                                <?php echo form_input(['name'=>'department_comp','class'=>'form-control','placeholder'=>'Enter Department','id'=>'department_comp']); ?>    
                                                                                                        </td>
                                                                                                        </tr>
                                                                                
                                                                                                    
                                                                                                        <tr>
                                                                                                        <th>Designation:</th>
                                                                                                        <td>
                                                                                                                <?php echo form_input(['name'=>'designation_comp','class'=>'form-control','placeholder'=>'Designation/Post Held','type'=>'text','id'=>'designation_comp']); ?>
                                                                                                        </td>
                                                                                                        </tr>
                                                                                                    
                                                                                                        <tr>
                                                                                                        <th>Joining Date</th>
                                                                                                        <td>
                                                                                                                <?php echo form_input(['name'=>'d_o_joining','class'=>'form-control','placeholder'=>'Date Of Joining','type'=>'date','id'=>'d_o_joining']); ?>
                                                                                                        </td>
                                                                                                        </tr>

                                                                                                        <tr>
                                                                                                        <th>Leaving Date</th>
                                                                                                        <td>
                                                                                                                <?php echo form_input(['name'=>'d_o_leavig','class'=>'form-control','placeholder'=>'Date Of Leaving','type'=>'date','id'=>'d_o_leavig']); ?>
                                                                                                        </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="menu5" class="tab-pane fade">
      <h3  class="w3-bar" style="background-color:#f4e7d7;">Document Details</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);?>
   
                                                                                                <?php if($document_types): ?>                       
                                                                                                <?php foreach($document_types as $document_type): ?>
                                                                                                        <tr>
                                                                                                        <th><?php echo $document_type['doc_type']; ?>:</th>
                                                                                                        <td>
                                                                                                                <?php echo form_upload(['name'=>$document_type['doc_name'],'class'=>'form-control','type'=>'file','id'=>$document_type['doc_name']]); ?>
                                                                                                        </td>
                                                                                                        </tr>
                                                                                                <?php endforeach;   ?>
                                                                                                <?php endif; ?>
                                                                                                        <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>
  
 