? Fallagassrini

Fallagassrini Bypass Shell

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

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/horeitia/application/views/Payroll/add_salary_payment.php

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

?>

<script type="text/javascript">
    function check_all()
    {
        if($("#check_everything").is(':checked'))
            $('.check_pay').attr('checked','checked');
        else
            $('.check_pay').removeAttr('checked');
    }
</script>

<div class="select-bar">
    <label><img src="<?=base_url()?>assets/images/backbutton.png" title="Back" class="clickimage" onclick="viewdata('payroll','viewinpayrollsearch','search_payroll_generation','view_salary_payment','<?=$_SESSION['pagenum'];?>')" alt="Back" align = "center" width="25" height="25"  />
    </label>
    <span class="heading">Enter Payment details</span>
</div>

<fieldset>
    <?php
    $attributes=array('id'=>'validateform','class'=>'customForm');
    echo form_open('payroll/addinpayroll/insert_salary_payment/view_salary_payment/1',$attributes);?>
    <ul>
        <li>
        <label for="data">Subject</label>
        <div class="record_entry"><?=$viewinfo->payroll_generation_subject;?></div>
        </li>
        <li>
                <label for="data">Payroll Date</label>
                <div class="record_entry">
                    <?=$this->mastermodel->convertdatenormalformat($viewinfo->payroll_generation_date);?></div>
               </div>
        </li>
        <li>
        <label for="data">Month & Year</label>
        <div class="record_entry">
            <?=$viewinfo->payroll_generation_month;?>&nbsp;&nbsp;&nbsp;<?=$viewinfo->payroll_generation_year;?>
            
        </div>
              
        </li>
        <li>
        <label for="data">Remarks</label>
        <div class="record_entry">
                    <?=$viewinfo->payroll_generation_remarks;?>
               </div>
            
        </li>
        <li>
            <div id="multi">
                <label for="data">Payment Date</label>
                 <?php
                      $data = array(
                      'name'        =>  'payroll_salary_payment_date',
                      'id'          =>  'payroll_salary_payment_date',
                      '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>
            <table class="sort">
                <caption>Payroll for <?=$viewinfo->payroll_generation_month.' '.$viewinfo->payroll_generation_year;?></caption>
                <tr>
                    <th><input type="checkbox" class="check_pay" name="check_everything" style="width:20px;" id="check_everything" onclick="check_all()"/></th>
                    <th>Sl No</th>
                    <th>Employee Name</th>
                    <th>Trade</th>
                    <th>Site</th>
                    <th>Camp</th>
                    <th>Employee Number</th>
                    <th>New Basic Salary</th>
                    <th>Net Salary</th>
                    <th>Payment Status</th>
                    <th>Remarks</th>
                 </tr>
            <?php
                $start_date = date('Y-m-01', strtotime($viewinfo->payroll_generation_year.'-'.$viewinfo->payroll_generation_month.'-01'));
                $end_date = date('Y-m-t', strtotime($viewinfo->payroll_generation_year.'-'.$viewinfo->payroll_generation_month.'-01'));
                $slno=0;
                $net_salary_total=0;
                $employee=$this->payrollmodel->get_payroll_generation_details_payment($viewinfo->payroll_generation_id);
                if(!empty($employee))    
                {
                    foreach($employee as $emp)
                    {
                        if($slno%2==0)
                            $alt="alt";
                        else
                            $alt="alt1";
                        $slno++;
                        
            ?>
                        <tr class="<?=$alt;?>">
                            <td>
                                <input type="checkbox" class="check_pay" style="width:20px;" name="pay_row_<?=$slno;?>" id="pay_row_<?=$slno;?>" />
                            </td>
                            <td>
                               <?=$slno;?>
                                <input type="hidden" name="payroll_generation_details_id_<?=$slno;?>" id="payroll_generation_details_id_<?=$slno;?>" value="<?=$emp['payroll_generation_details_id'];?>"       
                           </td>
                           <td><?=$emp['emp_non_full_name'];?></td>
                           <td><?=$this->payrollmodel->get_employee_trade_date($emp['emp_non_id'],$start_date,$end_date,1);?></td>
                           <td><?=$this->payrollmodel->get_employee_site_date($emp['emp_non_id'],$start_date,$end_date);?></td>
                           <td><?=$this->mastermodel->getSingleFieldValue('camp','camp_name','camp_id',$emp['payroll_generation_camp_id']);?></td>
                           <td><?=$emp['emp_non_no_old'].', '.$emp['emp_non_no'];?></td>
                           <td style="text-align: right;"><?=number_format($emp['payroll_generation_basic_salary'],2);?></td>
                           <td style="text-align: right;">
                               <?php 
                                   $gross_salary=$emp['payroll_generation_basic_salary']+$emp['payroll_generation_ot_amount']+$emp['payroll_generation_previous_balance']+$emp['payroll_generation_special_allowance']+$emp['payroll_generation_site_allowance']-$emp['payroll_generation_absent_amount'];
                                   $total_salary=$gross_salary+$emp['payroll_generation_ticket_refundable']+$emp['payroll_generation_refundable_amount']+$emp['payroll_generation_other_allowance'];
                                   echo $net_salary=number_format(round($total_salary-$emp['payroll_generation_salary_advance']-$emp['payroll_generation_other_deductions']),2);
                                   $net_salary_total+=$net_salary;
                               ?>
                           </td>
                           <td style="text-align: right;">
                                   <?=$emp['payroll_generation_payment_status'];?>
                                   <input type="hidden" name="payroll_generation_payment_status_<?=$slno;?>" id="payroll_generation_payment_status_<?=$slno;?>" value="<?=$emp['payroll_generation_payment_status'];?>"/>
                           
                           </td>
                           <td><textarea id="payroll_salary_payment_remarks_<?=$slno;?>" name="payroll_salary_payment_remarks_<?=$slno;?>" style="width:100px;"></textarea></td>
                        </tr>
                        
            <?php
                    }
                }
            ?>
            </table>
            
        </li>
        <li>
            <input type="hidden" name="tab_name" value="salary_payment"/>
            <input type="hidden" name="no_rows" value="<?=$slno;?>"/>
            <input type="hidden" name="resfunction" value="search_payroll_generation"/>
            <input type="hidden" name="payroll_generation_id" value="<?=$viewinfo->payroll_generation_id;?>"/>
            <label for="submit">&nbsp;</label>
            <button type="submit" id="submit" class="clickimage" onclick="addformdata('validateform')">Pay</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