? 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/add_employee.php

<?php
if ( ! defined('BASEPATH')) exit('No direct script access allowed');
$this->load->view('documentreadyfunctions');
$visa=$this->mastermodel->get_data('alert_master_designation','4','alert_id','alert_id','alert_designation_id');
$labor=$this->mastermodel->get_data('alert_master_designation','5','alert_id','alert_id','alert_designation_id');
$health=$this->mastermodel->get_data('alert_master_designation','6','alert_id','alert_id','alert_designation_id');
$vehicle=$this->mastermodel->get_data('alert_master_designation','7','alert_id','alert_id','alert_designation_id');
?>
<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>Creating New Employee</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/insert_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 name="employee_name" id="employee_name" class="required" type="text">
                </div>
            </div>

            <div class="section _100">
                <label>Employee No</label>
                <div class="single_page">
                        Auto-generated
                </div>
            </div>

            <div class="section _100">
                <label>Gender</label>
                <div>
                    <select name="employee_gender" class="required chzn-done" >
                        <option value="">--Select--</option>
                        <option value="Male">Male</option>
                        <option value="Female">Female</option>
                    </select>
                </div>
            </div>

            <div class="section _100">
                <label>Date of Birth </label>
                <div>
                    <input id="employee_dob" type="dateonly" class="required" name="employee_dob">
                </div>
            </div>
            
            <div class="section _100">
                <label> Marital Status </label>
                <div>
                    <select name="employee_marital_status"  class="required chzn-done">
                        <option value="">--Select--</option>
                        <option value="Single">Single</option>
                        <option value="Married">Married</option>
                    </select>
                </div>
            </div>

            <div class="section _100">
                <label>Nationality</label>
                <div>
                <input type="text" name="employee_nationality" id="employee_nationality" >
                </div>
            </div>


            <div class="section _100">
                <label>Passport No</label>
                <div>
                        <input name="employee_passport_no" id="employee_passport_no"  type="text" class="required">
                </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">
                </div>
             </div>    
            
            <div class="section _100">
                <label>Remind Before</label>
                <div>
                        <input name="passport_remind_before" id="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"  type="text" class="required">
                </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">
                </div>
             </div>    

            <div class="section _100">
                <label>Remind Before</label>
                <div>
                        <input name="visa_remind_before" id="visa_remind_before"  type="text" >
                </div>
            </div>
            
            <div class="section _100">
                <label>Labor Card No</label>
                <div>
                    <input type="text" name="employee_labour_card_no" id="employee_labour_card_no" class="required">
                </div>
            </div>

            <div class="section _100">
                <label>Labor Card Expiry Date</label>
                <div>
                    <input id="employee_labour_card_expiry_date" type="dateonly" class="required" name="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">
                </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">
                </div>
            </div>

            <div class="section _100">
                <label>Health Card Expiry Date</label>
                <div>
                    <input id="employee_health_card_expiry_date" type="dateonly" class="required" name="employee_health_card_expiry_date">
                </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">
                </div>
            </div>
            <div class="section _100">
                <label>Vehicle No</label>
                <div>
                    <input type="text" name="employee_vehicle_no" id="employee_vehicle_no" class="required">
                </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">
                </div>
            </div>
            
            <div class="section _100">
                <label>Remind Before</label>
                <div>
                        <input name="vehicle_remind_before" id="vehicle_remind_before"  type="text" class="required">
                </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)
                        {
                            echo "<option value='". $emp['employee_id'] . "' >" . $emp['employee_name']. "</option>";
                        }
                        ?>
                    </select>
                    </div>
                  </div>

                  <div class="section _100">
                    <label>Designation</label>
                    <div style="margin:10px 1px;">
                        <select name="employee_designation_id" id="employee_designation_id" class="required chzn-done" >
                        <option value="">Select</option>
                        <?php

                        foreach($designation as $desg)
                        {
                            echo "<option value='". $desg['designation_id'] . "' >" . $desg['designation_name']. "</option>";
                        }
                        ?>
                    </select>
                    </div>
                  </div>
                    <div class="section _100">
                     <label>Department</label>
                    <div style="margin:10px 1px;">
                        <?
                        ?>
                             <select name="employee_department_id" id="employee_department_id" class="required chzn-done" >
                        <option value="">Select</option>
                        <?php
                        
                        foreach($department as $depart)
                        {
                            echo "<option value='". $depart['department_id'] . "' >" . $depart['department_name']. "</option>";
                        }
                        ?>
                    </select>
                    </div>
                    

                    </div>

                <div class="section _100">
                    <label>Grade</label>
                   <div style="margin:10px 1px;">
                             <select name="employee_grade_id" id="employee_grade_id" class="required chzn-done" >
                        <option value="">Select</option>
                        <?php

                    
                        foreach($grade as $grad)
                        {
                            echo "<option value='". $grad['grade_id'] . "' >" . $grad['grade_name']. "</option>";
                        }
                        ?>
                    </select>
                    </div>
                  </div>
                <div class="section _100">
                    
               
                    <label>Status</label>
                    <div style="margin:10px 1px;">
                             <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. "' >" . $method . "</option>";
                                }

                            }
                        ?>
                    </select>
                    </div>
                  </div>
                   <div class="section _100">
                    <label>Joining Date</label>
                <div>
               <input id="date" type="dateonly" class="required" name="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" />
                    </div>
                    <label>Supervisor</label>
                    <div style="margin:10px 1px;">
                        <input name="employee_supervisor" id="employee_supervisor"  type="checkbox"/>
                    </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 type="text" name="employee_contact_no" id="employee_contact_no" class="required">                    </div>
                </div>

                      <div class="section _100">
                    <label>Email ID</label>
                    <div>
                            <input type="text" name="employee_email" id="employee_email">                    </div>
                </div>



                <div class="section _100">
                    <label>Local Address</label>
                    <div>
                            <textarea name="employee_local_address" id="employee_local_address"></textarea>
                    </div>
                </div>



                <div class="section _100">
                    <label>Permanent Address</label>
                    <div>
                            <textarea name="employee_permanent_address" id="employee_permanent_address"></textarea>
                    </div>
                </div>


                 </div>

                   </div>
            </div>
    <div class="grid_6">
        <div class="box">
            <div class="header main">Visa Alert</div>
            <div class="content no-padding"> 
                <table class="table">
                    <tr>
                        <th><input type="checkbox" name="visa_check_all" id="visa_check_all" onchange="visa_all('check')"></th>
                        <th>Employee Name</th>
                        <th>Designation</th>                   
                    </tr>
                    <?php 
                        $i=1;
                        foreach($visa as $row)
                        {
                            $employee=$this->mastermodel->get_data('employee',$row['alert_designation_id'],'employee_designation_id');                         
                                foreach($employee as $list)
                                {                                                   
                        ?>
                    <tr>
                        <td> <input type="checkbox" name="visa_alert_<?=$i?>" id="visa_alert_<?=$i?>" value="<?=$list['employee_id']?>" checked="true" onchange="visa_all('')"/> </td>
                        <td> <?=$list['employee_name']?> </td>
                        <td> <?=$this->mastermodel->get_single_field_value('designation','designation_name','designation_id',$row['alert_designation_id'])?> </td>
                    </tr>
                    <?php
                        $i++;
                            }
                        }
                ?> 
                </table>
                
                <input type="hidden" name="visa_alert_master_id" id="alert_master_id" value="4"/>
            </div>
        </div>
    </div>
 <div class="grid_6">
        <div class="box">
            <div class="header main">Labor Card  Alert</div>
            <div class="content no-padding">               
                <table class="table">
                    <tr>
                        <th> <input type="checkbox" name="labor_check_all" id="labor_check_all" onchange="labor_all('check')"></th>
                        <th> Employee Name</th>
                        <th> Designation</th>
                    </tr>
                  
                         <?php 
                            $j=1;
                            foreach($labor as $row)
                            {  
                                $lab_det=$this->mastermodel->get_data('employee',$row['alert_designation_id'],'employee_designation_id');                   
                                    foreach($lab_det as $list)
                                    {                                          
                            ?>
                                    <tr>
                                        <td> <input type="checkbox" name="labor_alert_<?=$j?>" id="labor_alert_<?=$j?>" value="<?=$list['employee_id']?>" checked="true" onchange="labor_all('')">  </td>
                                        <td> <?=$list['employee_name']?> </td>
                                        <td> <?=$this->mastermodel->get_single_field_value('designation','designation_name','designation_id',$row['alert_designation_id'])?> </td>
                                    </tr>
                            <?php
                            $j++;
                                    }
                            }
                            ?>  
                    
                </table>
               
                <input type="hidden" name="labor_alert_master_id" id="labor_alert_master_id" value="5"/>
            </div>
        </div>
    </div>
 <div class="grid_6">
        <div class="box">
            <div class="header main">Health Card  Alert</div>
            <div class="content no-padding">               
                <table class="table">
                    <tr>
                        <th> <input type="checkbox" name="health_check_all" id="health_check_all" onchange="health_all('check')"></th>
                        <th> Employee Name</th>
                        <th> Designation</th>
                    </tr>
                  
                         <?php 
                            $k=1;
                            foreach($health as $row)
                            {  
                                $lab_det=$this->mastermodel->get_data('employee',$row['alert_designation_id'],'employee_designation_id');                   
                                    foreach($lab_det as $list)
                                    {                                          
                            ?>
                                    <tr>
                                        <td> <input type="checkbox" name="health_alert_<?=$k?>" id="health_alert_<?=$k?>" value="<?=$list['employee_id']?>" checked="true" onchange="health_all('')">  </td>
                                        <td> <?=$list['employee_name']?> </td>
                                        <td> <?=$this->mastermodel->get_single_field_value('designation','designation_name','designation_id',$row['alert_designation_id'])?> </td>
                                    </tr>
                            <?php
                            $k++;
                                    }
                            }
                            ?>  
                    
                </table>
               
                <input type="hidden" name="health_alert_master_id" id="health_alert_master_id" value="6"/>
            </div>
        </div>
    </div>
<div class="grid_6">
        <div class="box">
            <div class="header main">Vehicle Alert</div>
            <div class="content no-padding">               
                <table class="table">
                    <tr>
                        <th> <input type="checkbox" name="vehicle_check_all" id="vehicle_check_all" onchange="vehicle_all('check')"></th>
                        <th> Employee Name</th>
                        <th> Designation</th>
                    </tr>
                  
                         <?php 
                            $l=1;
                            foreach($vehicle as $row)
                            {  
                                $lab_det=$this->mastermodel->get_data('employee',$row['alert_designation_id'],'employee_designation_id');                   
                                    foreach($lab_det as $list)
                                    {                                          
                            ?>
                                    <tr>
                                        <td> <input type="checkbox" name="vehicle_alert_<?=$l?>" id="vehicle_alert_<?=$l?>" value="<?=$list['employee_id']?>" checked="true" onchange="vehicle_all('')">  </td>
                                        <td> <?=$list['employee_name']?> </td>
                                        <td> <?=$this->mastermodel->get_single_field_value('designation','designation_name','designation_id',$row['alert_designation_id'])?> </td>
                                    </tr>
                            <?php
                            $l++;
                                    }
                            }
                            ?>  
                    
                </table>
               
                <input type="hidden" name="vehicle_alert_master_id" id="vehicle_alert_master_id" value="7"/>
            </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>
                    <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>
                    <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>
                    <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">
                        <input type="reset">
                        <input type="hidden" name="visa_alert_limit" id="visa_alert_limit" value="<?=$i?>"/>
                        <input type="hidden" name="labor_alert_limit" id="labor_alert_limit" value="<?=$j?>"/>
                        <input type="hidden" name="health_alert_limit" id="health_alert_limit" value="<?=$k?>"/>
                        <input type="hidden" name="vehicle_alert_limit" id="vehicle_alert_limit" value="<?=$l?>"/>

                 </div>
                 <div class="actions-right">
                            <button type="submit" id="submit" class="clickimage" onclick="addformdata('validateform')">Save</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