Hacked By AnonymousFox

Current Path : /home/krishnamexports/public_html/panel/ajax/
Upload File :
Current File : /home/krishnamexports/public_html/panel/ajax/savedispatch-20241115101803.php

<?php 

	include("config/database.php");

	$order_id    = $_POST['order_id'];

	$receipt_id  = $_POST['receipt_id'];

	$quiqueCode  = $_POST['quiqueCode'];

	$unique_code = implode('$',$quiqueCode); 

	foreach($quiqueCode as $qC)

	{

		$ubarcode = intval($qC);

		mysqli_query($cn,"update `tbl_barcode` SET `status`=1 where `ubarcode`='$ubarcode'");	

	}

	if($order_id==0){

		mysqli_query($cn,"update `tbl_order` SET `status`=5, `unique_code`='".$unique_code."', `dispatch_date`=Now() where `receipt_id`='$receipt_id'");

	}else{

		mysqli_query($cn,"update `tbl_order` SET `status`=5, `unique_code`='".$unique_code."', `dispatch_date`=Now() where `order_id`='$order_id'");

	}

		

	header("location:home.php?pages=dispatchOrder");

?>




Hacked By AnonymousFox1.0, Coded By AnonymousFox