? Fallagassrini

Fallagassrini Bypass Shell

echo"
Fallagassrini
";
Current Path : /home1/savoy/www/savoyglobal.net/sec_old/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/www/savoyglobal.net/sec_old/application/views/report/xls_stock_utilization_report.php

<?php
if (!defined('BASEPATH'))
    exit('No direct script access allowed');
$html = '';
$html.="<link rel='stylesheet' media='all' type='text/css' href='".base_url()."/assets/css/tablesort.css' />";
if ($view != 'view') {
    $border = "";
$html.= '<html><head><body>';
$html.='<table width="100%" class="sort">
        <tr><th colspan="2"></th><th align="right"><img src="' . base_url() . 'assets/images/'.$logo.'" style="float:right;width:200px;"/></th>
        <tr><th colspan="3" style="font-size:16px;" align="center"><b><u>Stock Utilization  Report</u></b></th></tr>
        <tr><th colspan="3">Printout Date : ' . date('d-m-Y') . ', ' . date('h:i:s a') . '</th></tr>
        </table><br><br>';
$html.='<hr>';
} else {
    $html.="<link rel='stylesheet' media='all' type='text/css' href='".base_url()."/assets/css/tablesort.css' />
    <div style='width: 100%;border:1px solid #e4e4e4;padding:2px;height: auto;overflow-x: scroll;'>";
}
if ($view != 'xls') {
    $border = "border='1'";
}
$html.='<table  cellspacing="0px" class="sort" cellpading="5px"  '.$border.' style="width:100%;text-align:left">
        <tr>';
$html.='<th style="text-align:left;">Sl No</th>';
if (array_key_exists('field_name_1', $postdata))
    $html.='<th bgcolor="#7FCEFF" style="text-align:left;">Student Name</th>';

if (array_key_exists('field_name_2', $postdata))
    $html.='<th bgcolor="#7FCEFF" style="text-align:left;">Student No</th>';

if (array_key_exists('field_name_3', $postdata))
    $html.='<th bgcolor="#7FCEFF" style="text-align:left;">Gender</th>';
if (array_key_exists('field_name_4', $postdata))
    $html.='<th bgcolor="#7FCEFF" style="text-align:left;">Nationality</th>';
if (array_key_exists('field_name_5', $postdata))
    $html.='<th bgcolor="#7FCEFF" style="text-align:left;">Batch Code</th>';

if (array_key_exists('field_name_6', $postdata))
    $html.='<th style="text-align:left" bgcolor="#7FCEFF">Stock Utilization Date</th>';
if (array_key_exists('field_name_7', $postdata))
    $html.='<th style="text-align:left" bgcolor="#7FCEFF">Remarks</th>';
if (array_key_exists('field_name_8', $postdata))
    $html.='<th style="text-align:left" bgcolor="#7FCEFF">Inventory Type</th>';

if (array_key_exists('field_name_9', $postdata))
    $html.='<th style="text-align:left" bgcolor="#7FCEFF">Quantity</th>';

$html.='</tr>
    </thead><tbody>';

$slno=1;

foreach ($report as $rep) {

     
   
         
        $html.='<tr>';
      
                   $html.='<td>'.$slno++.'</td>';
                if (array_key_exists('field_name_1', $postdata))
                    $html.='<td>' . $rep['first_name'] .' '.$rep['last_name']. '</td>';
                 if (array_key_exists('field_name_2', $postdata))
                    $html.='<td>' . $rep['reg_no'] . '</td>';
          
                  if (array_key_exists('field_name_3', $postdata))
                    $html.='<td>' . $rep['gender'] . '</td>';
                  if (array_key_exists('field_name_4', $postdata))
                    $html.='<td>' . $rep['nationality'] . '</td>';
                  if (array_key_exists('field_name_5', $postdata))
                    $html.='<td>' . $rep['batch_no'] . '</td>';
                  if (array_key_exists('field_name_6', $postdata))
                    $html.='<td>' . $this->mastermodel->convertdatenormalformat($rep['sale_date']) . '</td>';
          

                if (array_key_exists('field_name_7', $postdata))
                    $html.='<td>' . $rep['sale_remarks'] . '</td>';
          
            
                      
                  if (array_key_exists('field_name_8', $postdata))
                             $html.='<td>' . $rep['inventory_type'] . '</td>';
                  if (array_key_exists('field_name_9', $postdata))
                        $html.='<td>' . $rep['inventory_qty'] . '</td>';
              
                     $html.='</tr>';
            
        
     
    
   
}



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

if ($view == 'view') {
    $html.="</div>";
    echo $html;
} else {
    $html.='</body></html>';
    $filename = 'Stock Utilization  Report';
    if ($view == 'xls') {
        header("Content-type: application/octet-stream");
        header("Content-Disposition: attachment; filename=" . $filename . ".xls");
        header("Pragma: no-cache");
        header("Expires: 0");
    }
    if ($view == 'pdf') {
        pdf_create($html, $filename);
    }
    print $html;
    exit;
}
?>

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