? Fallagassrini

Fallagassrini Bypass Shell

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

<?php
if (!defined('BASEPATH'))
    exit('No direct script access allowed');
$this->load->view('documentreadyfunctions');
$emplyee = $this->mastermodel->getdatas('employee', 'employee_id', '', 'employee_id');
$allowdeduc = $this->mastermodel->getdatas('allowdeduc', 'allowdeduc_id');
$employee_salary_allowdeduc = $this->mastermodel->getdatas('employee_salary_allowdeduc', 'employee_salary_id');
$curency = $this->mastermodel->getdatas('finance_currency', 'currency_id');
?>  
<div class="icons_main">
    <?php
    if ($return_page == "single_employee") {
        ?>
        <div  class="icons">
            <img src="<?= base_url() ?>assets/images/back.png" title="Back" class="clickimage" onclick="viewdata('hr','viewinhrsearch','search_employee','view_employee','<?= $_SESSION['pagenum']; ?>')" alt="Back" align = "center" width="32" height="32"  />
        </div>
        <div  class="icons"  style=" margin: 6px 0 0 14px;">   

            <img src="<?= base_url() ?>assets/images/edit-icon.gif"  title="Edit" width="25" height="25" alt="Edit" align = "center" class="clickimage" onclick="editformdata('hr','edit_page','<?= $viewinfo->employee_id; ?>','employee','employee_id','edit_employee')" alt="" />   
        </div>
        <div class="icons" style="float: right;'">
            <?php
            $employee_sal_id = $this->hrmodel->get_employee_salary_id($viewinfo->employee_id, date('d-m-Y'))
            ?>
            <style>
                #tabs li{
                    display: block;float: left;
                    border-bottom: 1px solid black;
                }
                #tabs li a{
                    width: 80px;
                    background: #2B5177;
                    color: white;
                    padding: 5px;
                    height: auto;
                    margin: 0 1px 0 0;
                    text-align: center
                }
            </style>
            <ul style="list-style: none;padding: 0px" id="tabs">
                <li>
                    <a href="#" onclick="displayformdata('hr','single_page','<?= $viewinfo->employee_id; ?>','employee','employee_id','single_employee')">Personal</a>    
                </li>
                <li>
                    <?php if ($employee_sal_id == "") {
                        ?>
                        <a href="#" onclick="alert('Salary not Set')">Salary</a>    

                    <?php } else {
                        ?>
                        <a href="#" onclick="gotopage('hr','single_salary_setting','<?= $employee_sal_id; ?>','employee_salary','employee_salary_id','single_salary_setting','single_employee')">Salary</a>    
                    <?php } ?>
                </li>
            </ul>
        </div>
        <?php
    } else {
        ?>


        <div  class="icons">   
            <img src="<?= base_url() ?>assets/images/back.png" title="Back" class="clickimage" onclick="viewdata('hr','viewinhrsearch','search_salary_setting','view_salary_setting','<?= $_SESSION['pagenum']; ?>')" alt="Back" align = "center" width="32" height="32"  />            
        </div>


    <?php }
    ?>
    <div class="icons_caption">
        <h4>Salary Settings Details</h4>
    </div>
</div>
<?php
$attributes = array('id' => 'validateform', 'class' => 'validate');
echo form_open('', $attributes);
?>

<div class="grid_6">
    <div class="box">
        <div class="content no-padding">     
            <div class="header main">  Employee Salary Details</div>                        
            <div class="section _100">
                <label>Employee Name</label>
                <div class="single_page">
                    <?= $viewinfo->employee_name ?>
                </div>

            </div>

            <div class="section _100">
                <label>W.F.E <br/> Date </label>
                <div class="single_page">
                    <?= $this->mastermodel->convertdatenormalformat($viewinfo->wef_date) ?>
                </div>
            </div>

            <div class="section _100">
                <label>Basic <br/>Salary </label>
                <div class="single_page">
                    <?= $viewinfo->basic_salary ?>
                </div>
            </div>                
        </div>           
    </div>
</div> 

<div class="grid_6">
    <div class="box">
        <div class="header main">Annual Ticket Settings</div>
        <div class="content no-padding">
            <div class="section _100">
                <label>From:</label>
                <div class="single_page">
                    <?= $viewinfo->from_ticket ?>               
                </div>
            </div>

            <div class="section _100">
                <label>To:</label>
                <div class="single_page">
                    <?= $viewinfo->to_ticket ?>       
                </div>
            </div>

            <div class="section _100">
                <label>Return Ticket</label>
                <div class="single_page">
                    <?php
                    if ($viewinfo->return_ticket == '1') {
                        echo 'Yes';
                    } else
                        echo "No";
                    ?>                   
                </div>
            </div>

            <div class="section _100">
                <label>No.of Tickets</label>
                <div class="single_page">
                    <?= $viewinfo->no_tickets ?>
                </div>
            </div>
        </div>
    </div>
</div>

<div class="grid_12">
    <div class="box">
        <div class="content no-padding">     
            <div class="header main">  Allowance/Deduction Details</div>
            <table class="table">
                <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;
                $basicsalary = $viewinfo->basic_salary;
                $dept = $this->mastermodel->get_data('allowdeduc', '0', 'allowdeduc_type');
                foreach ($dept as $dep) {
                    if ($dep['allowdeduc_mode'] == 0)
                        $mode = "Direct Amount";
                    else
                        $mode = "Percentage";
                    ?>
                    <tr>
                        <td><?= $dep['allowdeduc_name']; ?><input type="hidden" value ="<?= $dep['allowdeduc_id']; ?>" name="allowdeduc_id_<?= $i; ?>"/> </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 = 1;
                        ?>
                        <td>
                            <?= $allowdeduc_amount; ?>
                            <?php
                            if ($dep['allowdeduc_mode'] == 1) {
                                ?>
                                <div style="margin-top:-30px;margin-left: 100px;">%</div>
                                <?php
                            }
                            ?>
                        </td>
                        <?php
                        if ($dep['allowdeduc_mode'] == 1)
                            $allototal = $allowdeduc_amount / 100 * $basicsalary;
                        else
                            $allototal = $allowdeduc_amount;
                        $tot_allowance+= $allototal;
                        ?>
                        <td><?= $allototal; ?>
                        <td>Allowance</td>
                    </tr>


                    <?php
                    $i++;
                }
                ?>
                <input type="hidden" name="allowcount" id="allowcount" value="<?= $i ?>" />
                <?php
                $dept = $this->mastermodel->get_data('allowdeduc', '1', 'allowdeduc_type');
                foreach ($dept as $dep) {
                    if ($dep['allowdeduc_mode'] == 0)
                        $mode = "Amount";
                    else
                        $mode = "Percentage";
                    ?>
                    <tr>
                        <td>
                            <?= $dep['allowdeduc_name']; ?><input type="hidden" value ="<?= $dep['allowdeduc_id']; ?>" name="allowdeduc_id_<?= $i; ?>"/>
                        </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');
                        $allowdeduc_amount = $amount_allowdeduc->amount;
                        ?>
                        <td>
                            <?= $allowdeduc_amount; ?>
                            <?php
                            if ($dep['allowdeduc_mode'] == 1) {
                                ?>
                                <div style="margin-top:-30px;margin-left: 100px;">%</div>
                                <?php
                            }
                            ?>
                        </td>
                        <?php
                        if ($dep['allowdeduc_mode'] == 1)
                            $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>
        </div>
    </div>
</div> 

<div class="grid_12">
    <div class="box">
        <div class="content no-padding">     
            <div class="header main">Salary Details</div>
            <table class="table" cellpadding="0" cellspacing="0" >
                <tr>
                    <th>Allowance</th>
                    <th>Deduction</th>
                </tr>
                <tr>
                    <td style="text-align:center;"><?php echo $tot_allowance; ?></td>
                    <td style="text-align:center;"><?php echo $tot_deduct; ?></td>
                </tr>
                <tr>
                    <th>Gross Salary</th>
                    <th>Net Salary</th>
                </tr>
                <tr>
                    <td style="text-align:center;"><?php echo $basicsalary + $tot_allowance; ?></td>
                    <td style="text-align:center;"><?php echo ($basicsalary + $tot_allowance) - $tot_deduct; ?></td>
                </tr>
                <tr>
                    <th style="text-align:center;">Payment Method</th>
                    <td style="text-align:center;width: 50%">
                        <?php
                        if ($viewinfo->payment_method == "Cheque") {
                            echo "Cheque";
                        }
                        ?>
                        <?php
                        if ($viewinfo->payment_method == "BankTransfer") {
                            echo "Bank Transfer";
                        }
                        ?>
                    </td>
                </tr>
            </table>            
        </div>
    </div>
</div>
<div class="grid_12">
    <div class="box">
        <div class="content no-padding">
            <div class="header main">Insurance Details</div>          
            <table class="table">                                                                                                                                                  
                <tr>
                    <th>Type of Insurance</th>
                    <th>Insurance Company</th>
                    <th>Policy No</th>
                    <th>Plan Name</th>
                    <th>Sum Insured</th>              
                </tr>
                <?php
                $insuranceDetails = $this->mastermodel->get_data('employee_salary_medical', $viewinfo->employee_salary_id, 'employee_salary_id');
                $k = 1;
                foreach ($insuranceDetails as $insu) {
                    ?>
                    <tr>
                        <td><?= $insu['type'] ?></td>
                        <td><?= $insu['company'] ?></td>
                        <td><?= $insu['policy'] ?></td>
                        <td><?= $insu['plan'] ?></td>
                        <td><?= $insu['sum'] ?></td>            
                    </tr>
                    <?php
                }
                ?>

            </table> 
        </div>
    </div>    
</div> 

<?php echo form_close(); ?>
<?php
$data['master_id'] = $viewinfo->employee_id;
$data['controller'] = 'hr';
$data['controller_function'] = 'viewinhrsearch';
$data['page'] = 'view_salary_setting';
$data['model_function'] = 'search_salary_setting';
$this->load->view('master/uploaded_files', $data);
echo form_close();
?>

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