<?PHP
 $txnid= $_GET['txnId'];




	session_start();


if (!(isset($_SESSION['login']) && $_SESSION['login'] != '')) {
	header ("Location: ../login.php");
}


?>


<?php
require 'config.php';

/*
			 $db_handle = mysqli_connect(DB_SERVER, DB_USER, DB_PASS);
			 $database = $_SESSION['database'];


			$db_found = mysqli_select_db($db_handle, $database);
			
*/

  //if($db_found){
	 

 if(isset($_POST['NO'])){
	
	header ("Location: dashboard.php");

}
	  
	  
	/*
	$SQL = "DELETE FROM txn_table WHERE product_id = $txnid";
	  $query_del = mysqli_query($db_handle, $SQL);
	  
	  echo "record deleted successfully";
	  */
	// header ("Location: dashboard.php");
	  

	
	  

?>






	<html>
		
			<title>Delete</title>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1">
<!--===============================================================================================-->	
		 <link href="css/bootstrap-4.4.1.css" rel="stylesheet">
	<style>
		body, html {
background-color: #BCBC62;
}

		
		</style>	
		
		
	<head>



	</head>
	<body>


		

			
	<div class="jumbotron" style="text-align: center">
		
		<P></P>
		<h5><span style="color: #341274"><?php echo $txnid;?> page is still under Development, will be ready as soon as we finish the programming.<br> For more enquire call [Alaye David(09055158784)], head of ict LAWPED GROUP or visit <a href="//www.lawped.com.ng">www.lawped.com.ng</a></h5>
		
		
		
		<P></P>
			<table style="margin: auto;width: 100%" >
					<form action="record_delete.php" method="post">
		
	<tr>
				<td>
				
		 				<input type="submit" value="OKAY" class="btn btn-dark" style= "width:100%; height: 150px" name = "NO" >
					
				</td>
					
				<td>
					
		 			<a href="delete.php?txnId=<?php echo $txnid?>">	<input type="hidden"  value="YES" class="btn btn-danger" style= "width:100%; height: 70px"  > </a>
				</td>
	
	</tr>
	</form>
			
			</table>
	
		
			</div>
			
	

	</body>
	</html>
