<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Email Verification</title>
    <link href="<?php echo base_url(); ?>assets/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
    <link href="<?php echo base_url(); ?>assets/css/font-awesome.min.css" rel="stylesheet" type="text/css"/>
    <link href="<?php echo base_url(); ?>assets/css/custom.css" rel="stylesheet" type="text/css"/>
    <link href="<?php echo base_url('application/modules/template/assets/css/appraisal.css'); ?>" rel="stylesheet"
    type="text/css" />
</head>
<body>
    <div class="login-wrapper"> 
        <div class="container-center" style="max-width:700px">
            <div class="panel panel-bd">
                <div class="panel-heading">
                    <div class="view-header">
                        <div class="header-icon">
                            <i class="pe-7s-check"></i>
                        </div>
                        <div class="header-title">
                           
                            <h3>Complete Registration and Email Verification</h3>
                           <h4>Staff Designation:</h4>
                              <select id="staff-status" name="staff_status" class="form-control">
    <option value="">Select Designation</option>
    <?php foreach ($designation as $desig) { ?>
        <?php if($desig->pos_id == $staffStatus) { ?>
            <option id="staffStatus" value="<?php $desig->position_name; ?>">
                <?php echo $desig->position_name; ?>
            </option>
        <?php break; } ?>
    <?php } ?>
</select>
                        </div>
                    </div>
                </div>

                <div class="panel-body">
                    <?php if ($this->session->flashdata('message')) { ?>
                        <div class="alert alert-success alert-dismissable">
                            <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
                            <?php echo $this->session->flashdata('message'); ?>
                        </div>
                    <?php } ?>

                    <?php if ($this->session->flashdata('exception')) { ?>
                        <div class="alert alert-danger alert-dismissable">
                            <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
                            <?php echo $this->session->flashdata('exception'); ?>
                        </div>
                    <?php } ?>

                    <?php echo form_open('register/tokensubmit/' . $token, 'id="verificationForm" novalidate'); ?>

                    <input type="hidden" name="user_token" value="<?php echo $token ?>">
                    
                    <input type="hidden" name="employee_id" value="<?php echo $employeeId ?>">

                    <div class="row" id="preliminary">
                        <div class="table-responsive">
                            <table class="table table-bordered" id="request_table_dev_plan">
                                <thead>
                                    <tr>
                                        <th width="25%"><span id="junior1">DUTIES AND RESPONSIBILITES</span><span
                                                id="junior_1">SPECIAL CONTRIBUTIONS MADE TO ACTIVITIES</span></th>
                                        <th width="25%"><span id="junior2">SPECIAL CONTRIBUTIONS MADE TO
                                                ACTIVITIES</span><span id="junior_2">IMPROVEMENT TO BE ON UNFAVOURABLE
                                                REPORT</span></th>
                                        <th width="25%">CONDITION THAT FACILITATED YOUR PERFORMANCE</th>
                                        <th width="25%">CONDITIONS THAT HINDERED ACHIEVING BETTER PERFORMANCE</th>


                                    </tr>
                                </thead>
                                <tbody id="key_duties_res">
                                    <tr>
                                        <td>
                                            <textarea name="duties_responsibilites[]" class="form-control"
                                                placeholder=""></textarea>
                                        </td>
                                        <td>
                                            <textarea name="special_contributions[]" class="form-control"
                                                placeholder=""></textarea>
                                        </td>
                                        <td><textarea type="text" id="duties_perf_circumstances"
                                                name="duties_perf_circumstances[]" class="form-control"></textarea></td>
                                        <td><textarea type="text" id="duties_perf_circumstances_bad"
                                                name="duties_perf_circumstances_bad[]" class="form-control"></textarea>
                                        </td>

                                        <td width="100">

                                            <a id="add_dev_plan" class="btn btn-info btn-sm" name="add-invoice-item"
                                                onClick="key_duties_res('request_item')" tabindex="9"><i
                                                    class="fa fa-plus-square" aria-hidden="true"></i></a>
                                            <a class="btn btn-danger btn-sm" value="<?php echo display('delete') ?>"
                                                onclick="deleteDevPlanRow(this)" tabindex="3"><i class="fa fa-trash"
                                                    aria-hidden="true"></i></a>

                                        </td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>
                    </div>

                    <div class="row" id="academic_and_non_academic_1">
                        <h3 class="mb-20">A: ASSESSMENT OF JOB PERFORMANCE</h3>
                        <table class="table table-bordered" id="request_table">
                            <thead>
                                <tr>
                                <tr>
                                    <th>RESPONSIBILITIES: TASK AND TARGET</th>
                                    <th>ADD/DELETE ROW</th>
                                </tr>
                                <tr>
                                    <td><b>Briefly List the major responsibilities, in order of importance for each
                                            responsibility. Note specific goals set during period under review<b></td>
                                    
                                    <!-- <th class="text-center"><?//php echo display('action') ?> <i class="text-danger"></i></th> -->
                                </tr>


                                </tr>
                            </thead>
                            <tbody id="key_goals_item">
                                <tr>
                                    <td><textarea id="key_goals" name="key_goals[]" class="form-control" rows="2"
                                            placeholder=""></textarea></td>

                                   
                                    <td width="100">
                                        <a id="add_key_goals" class="btn btn-info btn-sm" name="add-invoice-item"
                                            onClick="add_key_goals()" tabindex="9">
                                            <i class="fa fa-plus-square" aria-hidden="true"></i>
                                        </a>
                                        <a class="btn btn-danger btn-sm" value="<?php echo display('delete') ?>"
                                            onclick="deleteRow(this)" tabindex="3"><i class="fa fa-trash"
                                                aria-hidden="true"></i></a>

                                    </td>

                                </tr>
                            </tbody>

                            <!--<tfoot>-->
                            <!--    <tr>-->
                            <!--        <td colspan="2" class="text-right"><strong>Total Score:</strong></td>-->
                            <!--        <td><input class=" fw-700" style="border:0px; width: 45px;" id="totalScore"-->
                            <!--                name="totalScore" value=""><b>%</b></td>-->
                            <!--        <td></td>-->
                            <!--    </tr>-->
                            <!--</tfoot>-->
                        </table>

                    </div>

                    <div class="row" id="academic">
                        <h3 class="mb-20">A: ASSESSMENT OF JOB PERFORMANCE</h3>
                        <h4>3.1 EXPERIENCE</h4>
                        <h4>(a) Teaching experience. (Please indicate institution, your designation, area of
                            specification,
                            subject(s) taught and dates)</h4>
                        <table class="table table-bordered" id="request_table">
                            <thead>
                                <tr>
                                <tr>
                                    <th>INSTITUTION</th>
                                    <th>DESIGNATION</th>
                                    <th>AREA OF SPECIALIZATIONS</th>
                                    <th>SUBJECTS TAUGHT</th>
                                    <th>DATE</th>
                                </tr>
                                <tr>

                                    <!-- <th class="text-center"><?//php echo display('action') ?> <i class="text-danger"></i></th> -->
                                </tr>
                                </tr>
                            </thead>
                            <tbody id="add_exp_teaching">
                                <tr>
                                    <td><textarea id="exp_institution" name="exp_institutions[]" class="form-control"
                                            rows="1" placeholder=""></textarea></td>
                                    <td><input type="text" id="exp_designation" name="exp_designation[]"
                                            class="form-control ">
                                    </td>
                                    <td><input type="text" id="exp_specialization" name="exp_specialization[]"
                                            class="form-control "></td>
                                    <td><input type="text" id="exp_subjects" name="exp_subject[]" class="form-control ">
                                    </td>
                                    <td><input type="text" id="exp_date" name="exp_date[]"
                                            class="form-control datepicker">
                                    </td>

                                    <td width="100">

                                        <a id="add_exp_teaching" class="btn btn-info btn-sm" name="add-invoice-item"
                                            onclick="add_exp_teaching('request_item')" tabindex="9"><i
                                                class="fa fa-plus-square" aria-hidden="true"></i></a>
                                        <a class="btn btn-danger btn-sm" value="<?php echo display('delete') ?>"
                                            onclick="deleteRow(this)" tabindex="3"><i class="fa fa-trash"
                                                aria-hidden="true"></i></a>

                                    </td>

                                </tr>
                            </tbody>
                        </table>
                        <h4>(b) Professional Experience</h4>
                        <table class="table table-bordered" id="request_table">
                            <thead>
                                <tr>
                                <tr>
                                    <th>EMPLOYER'S NAME</th>
                                    <th>DESIGNATION</th>
                                    <th>NUTURE OF DUTY</th>
                                    <th>FROM</th>
                                    <th>TO</th>
                                </tr>
                                <tr>

                                    <!-- <th class="text-center"><?//php echo display('action') ?> <i class="text-danger"></i></th> -->
                                </tr>
                                </tr>
                            </thead>
                            <tbody id="exp_professional">
                                <tr>
                                    <td><textarea id="exp_institution_professional"
                                            name="exp_institutions_professional[]" class="form-control" rows="1"
                                            placeholder=""></textarea></td>
                                    <td><input type="text" id="exp_designation_professional"
                                            name="exp_designation_professional[]" class="form-control "></td>
                                    <td><textarea id="exp_duty_professional" name="exp_duty_professional[]"
                                            class="form-control " rows="2"></textarea></td>
                                    <!-- <td><input type="text" id="exp_subjects_professional" name="exp_subject_professional[]"
                                    class="form-control "></td> -->
                                    <td><input type="text" id="exp_date_start_professional"
                                            name="exp_date_start_professional[]" class="form-control datepicker">
                                    </td>
                                    <td><input type="text" id="exp_date_end_professional"
                                            name="exp_date_end_professional[]" class="form-control datepicker">
                                    </td>
                                    <td width="100">

                                        <a id="exp_professional" class="btn btn-info btn-sm" name="add-invoice-item"
                                            onClick="exp_professional('request_item')" tabindex="9"><i
                                                class="fa fa-plus-square" aria-hidden="true"></i></a>
                                        <a class="btn btn-danger btn-sm" value="<?php echo display('delete') ?>"
                                            onclick="deleteRow(this)" tabindex="3"><i class="fa fa-trash"
                                                aria-hidden="true"></i></a>

                                    </td>

                                </tr>
                            </tbody>
                        </table>
                        <h4>3.2 RESEARCH/PROJECT/INVENTION/INNOVATION/DESIGNATION</h4>
                        <h4>(a) Brief Description (if any)</h4>
                        <table class="table table-bordered">

                            <textarea name="exp_description" class="form-control"
                                placeholder="Maximum 500 words"></textarea>

                        </table>
                        <h4>(b) Research/Project/Innovation/Design completed but not yet published or patented</h4>
                        <table class="table table-bordered">
                            <thead>
                                <tr>
                                <tr>
                                    <th style="text-align:center">TOPIC</th>
                                    <th style="text-align:center">DATE</th>
                                </tr>

                                </tr>
                            </thead>
                            <tbody id="exp_research">
                                <tr>
                                    <td><textarea id="exp_researh_topic" name="exp_researh_topic[]" class="form-control"
                                            rows="2" placeholder=""></textarea></td>
                                    <td><input type="text" id="exp_researh_date" name="exp_researh_date[]"
                                            class="form-control datepicker"></td>

                                    <td width="100">

                                        <a id="exp_research" class="btn btn-info btn-sm" name="add-invoice-item"
                                            onClick="exp_research('request_item')"><i class="fa fa-plus-square"
                                                aria-hidden="true"></i></a>
                                        <a class="btn btn-danger btn-sm" value="<?php echo display('delete') ?>"
                                            onclick="deleteRow(this)"><i class="fa fa-trash" aria-hidden="true"></i></a>

                                    </td>

                                </tr>
                            </tbody>
                        </table>
                        <h4>(c) RECOOGNISED PUBLICATIONS/EXHIBITIONS/DESIGNS (Give details of books and articles,
                            stating
                            reference). List your publications under the following broad headings. State dates of
                            publications
                            very clearly. <br /><br />

                            (i) Dissertation or Thesis <br />

                            (ii) Books and Monographs <br />

                            (iii) Articles that have already appeared in learned journals<br />

                            (iv) Papers already accepted for publication<br />

                            (v) Exhibitions/Designed/Project</h4>
                        <table class="table table-bordered">

                            <textarea name="recognised_publications" class="form-control" rows="4"
                                placeholder="Maximum 500 words"></textarea>

                        </table>
                        <h4>3.3 Unplublished papers read at Conference (with names of conferences and date(s))</h4>
                        <table class="table table-bordered">
                            <thead>
                                <tr>
                                <tr>
                                    <th style="text-align:center">TITLE</th>
                                    <th style="text-align:center">WHERE READ</th>
                                    <th style="text-align:center">DATE</th>
                                </tr>

                                </tr>
                            </thead>
                            <tbody id="exp_research_unpublish">
                                <tr>
                                    <td><textarea id="exp_unpublish_topic" name="exp_unpublish_topic[]"
                                            class="form-control" rows="2" placeholder=""></textarea></td>
                                    <td><textarea id="exp_unpublish_read" name="exp_unpublish_read[]"
                                            class="form-control" rows="2" placeholder=""></textarea></td>
                                    <td><input type="text" id="exp_unpublish_date" name="exp_unpublish_date[]"
                                            class="form-control datepicker"></td>

                                    <td width="100">

                                        <a id="exp_research_unpublish" class="btn btn-info btn-sm"
                                            name="add-invoice-item" onClick="exp_research_unpublish('request_item')"
                                            tabindex="9"><i class="fa fa-plus-square" aria-hidden="true"></i></a>
                                        <a class="btn btn-danger btn-sm" value="<?php echo display('delete') ?>"
                                            onclick="deleteRow(this)" tabindex="3"><i class="fa fa-trash"
                                                aria-hidden="true"></i></a>

                                    </td>

                                </tr>
                            </tbody>
                        </table>
                        <h4>3.4 Other activites within the institute</h4>
                        <table class="table table-bordered">

                            <textarea name="exp_other_activities" class="form-control"
                                placeholder="Maximum 500 words"></textarea>

                        </table>
                        <h4>3.5 Other relevant activites outside normal institute work</h4>
                        <table class="table table-bordered">

                            <textarea name="exp_other_activities_out" class="form-control"
                                placeholder="Maximum 500 words"></textarea>

                        </table>

                    </div>

                </div>
                  <div id="general1" class="form-group form-group-margin text-right">

                <button type="submit" class="btn btn-success w-md m-b-5"><?php echo display('save') ?></button>
            </div>
            <?php echo form_close() ?>

        </div>
            </div>
          
        </div>
    </div>
    <script src="<?php echo MOD_URL . 'template/assets/js/verify.js'; ?>" type="text/javascript"></script>
</body>

</html>