403Webshell
Server IP : 27.254.152.13  /  Your IP : 216.73.217.38
Web Server : Apache/2
System : Linux ns1-252017.dragonhispeed.com 5.2.0 #1 SMP Fri Mar 29 22:50:14 MSK 2024 x86_64
User : coloflew ( 1072)
PHP Version : 5.6.40
Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/coloflew/.trash/files/fulltion.co.th/public_html/parcel/administrator/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/coloflew/.trash/files/fulltion.co.th/public_html/parcel/administrator/barcode.php
 
<?php

require_once('../lib/sys_config.php');
require_once('../lib/class/SC_Query.php');
require_once('../lib/class/SC_Mysql.php');
require_once('../lib/class/SC_Master.php');
require_once('../lib/class/SC_Email.php');
require_once('../lib/class/SC_Function.php');
$db = new SC_Query();
$objMaster = new SC_Master();
$objFun = new SC_Function();

if(isset($_SESSION['lang_code']) && @$_GET['lang']){
	//$la = $_GET['lang'] ? $_GET['lang'] : "En";
	$_SESSION['lang_code'] = $_GET['lang'];
	$lang_code =  $_SESSION['lang_code'];
}elseif(isset($_SESSION['lang_code'])){
	$lang_code =  $_SESSION['lang_code'];
}else{
	$lang_code = "En";
	$_SESSION['lang_code'] = $lang_code;
}

$lang_value = $db->getAll('language_value','*',"lang_code='".$lang_code."'");
//echo "<pre>"; print_r($lang_value);
if($lang_value){
	$lang_set = array();
	foreach($lang_value as $ke => $va){
		$lang_set[$va['name']] = $va['value'];
		//echo $lang_set[$va['name']];
		//$lang = $lang_f;
	}	
}

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><head>

	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>

<body>
<!-- Scrip Java-->
<?PHP
$GetInvoiceID = array();
	if(isset($_GET['InvoiceID']))
	{
		unset($_SESSION['SSInvoiceReport']);
		$_SESSION['SSInvoiceReport'][] = $_GET['InvoiceID'];
	}
	//$_SESSION['SSInvoice'] = $_GET['InvoiceID'];
	$GetInvoiceID = $_SESSION['SSInvoiceReport'];
	//$GetInvoiceID['end'] = '0';
	//$GetInvoiceID = $_SESSION['SSInvoice'];
	unset($_SESSION['SSInvoiceReport']);
	
	foreach($GetInvoiceID as $val){ 
		$GetInvoice = $db->getOne( "invoice", "*"," InvoiceID = '".$val."'","" );
		$Getproduct = $db->getAll( "invoicedetail", "*"," InvoiceID = '".$GetInvoice['InvoiceID']."'","Order By InvoiceDetailID" );
		$sendRes = $db->getOne("customer","*"," CustomerID='".$GetInvoice['InvoiceSendID']."'"); 
		
	}


foreach($Getproduct as $key => $va){
?>

<div style="width:100%; height:100%">
<table width="100%">
	<tr>
    	<td>
        	<img id="logo" src="resources/images/Logo/Header2.png" alt="Simpla Admin logo" width="100%"/>
        </td>
    </tr>
</table>
<table width="20%" align="center" border="1" bgcolor="#0066CC">
	<tr>
    	<td width="150px">
        	 รหัสผู้ส่ง <?PHP echo $sendRes['CustomerID'];?>
        </td>
    </tr>
    <tr>
    	<td width="150px">
        	 รหัสสินค่า <?PHP echo $va['ProductCode'];?>
        </td>
    </tr>
</table>


</div>

<?PHP 	}?>

</body>

<?PHP echo "<script>t = 3*1000;
			window.print();
			
			</script>";?>
<?PHP //setTimeout('window.close()',t); ?>

Youez - 2016 - github.com/yon3zu
LinuXploit