<!DOCTYPE html>
<?php
	//$_COOKIE['adminUser']='tarun';
	if(!isset($_COOKIE['adminUser']) && ($_COOKIE['adminUser']!='tarun@steelmint.com' && $_COOKIE['adminUser']!='sumit@steelmint.com') ){ 
		echo "Not authorized;";
		die;
	}
	include "../../inc/config1.php";
	include "../../hf.php";
?>
<html>
	<head>
		<title>Payment Status Update</title>
		<link rel="stylesheet" type="text/css" href="https://www.steelmint.com/assets/plugins/bootstrap/css/bootstrap.css" />
		<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
		<script type="text/javascript" src="../calender_script/tcal.js"></script> 
		<link rel="stylesheet" type="text/css" href="../calender_script/tcal.css" />
		<script>
			function validation()
			{
				if(document.getElementById('id').value.trim()==''){
					alert("Please fill id.");
					document.getElementById('id').focus();
					return false;       
				}
				if(document.getElementById('table_name').value.trim()==''){
					alert("Please select table.");
					document.getElementById('table_name').focus();
					return false;       
				}
				if(document.getElementById('bill_no').value.trim()==''){
					alert("Please fill bill_no.");
					document.getElementById('bill_no').focus();
					return false;       
				}			
			}
		</script>
		<style>
			*{font-family : arial;font-size:12px;}
			.submit_button 
			{
			background:#111 !important;
			border:0px;
			}
			.table tr td{
			border-top:none !important;
			}
		</style>  
	</head>
	<body>
		
		<br/>
		<div id="addform" >
			<div class='row'>
				<div class="col-md-6 col-md-offset-3">
					<div class="panel panel-success">			
						<div class='panel-heading'><strong> Map Logs By Bill No </strong></div>
						<div class="panel-body">
							<h2></h2>
							<form id="payform" method="post" action="ccavenue_final.php" onsubmit='return validation();'>
								<table class='table' >
											<tr>
												<td><strong>Select Table:</strong></td>
												<td>
													<select name='table_name' id='table_name'>
													 <option value=" "> Select </option>
													 <option value="tbl_reg_logs"> Reg Log</option>
													 <option value="tbl_sm_events_payment_details"> SM Event </option>
													</select>
												</td>
											</tr>
											<tr>
												<td><strong>RegLog ID:</strong></td>
												<td>
													<input type='text' name='id' class="form-control" id='id'>
												</td>
											</tr>
											<tr>
												<td width='250px'><strong>Enter Bill NO  : </strong></td>
												<td>
													<input type="text" value=""  class="form-control" name="bill_no" id="bill_no"  />				
													
												</td>
											</tr>
											<tr>
												<td></td>
												<td> 
													<input type="Submit" value='Submit' name="Submit" id="submit" class="btn btn-success"  />
												</td>
											</tr>
									</table>										
								</form>	
								</div>	
								</div>	
							</div>	
						</div>	
					</div>				
					
			</body>
		</html>
		<?php include "../../inc/desconfig.php"; ?>												
