<?php include("dbconnect.php");?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Payment Successful</title>
</head>

<body>
<h1>Thank You</h1>
<p>Your payment has been made successfully. Please wait this page is redirect to Lunchpails.....</p>


<?php

$xval=explode("_",urldecode(base64_decode($_GET['trans'])));
if($xval[1]=="success")
{
	mysql_query("update tr_orders set paid_status='1', paid_date='".date('Y-m-d')." 00:00:00' where order_id='".$xval[0]."'");
}
?>
<meta http-equiv="Refresh"  content="10;url=http://lunchpails.ssprojects.biz/parentLogin.php" >

</body>
</html>
