Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64
Your IP : 3.141.27.70
Current Path : /var/www/results/bcu/ |
| Current File : /var/www/results/bcu/payment_gate_way_responce.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>
<link rel="shortcut icon" type="image/jpg" href="img/favicon.jpg" />
<?php require_once("links/js_files.php");?>
<script src="js/candidate_list.js"></script>
<script type="text/javascript">
$(function(){
$('.index_label_div').corner("5px").css("border","1px solid #6F6868");
$('.messageboard-div').corner("5px").css("border","1px solid #6F6868");
$('.reg_no_div').corner("bl br").css("border","1px solid #6F6868");
$('#main_message_board').corner("bl br").css("border","1px solid #2596CE");
$('.submit_div_button').corner("5px");
$('.div_app_form_center_blue').corner("tl tr");
$('.div_app_form_center_black').corner("tl tr");
$('#print_app_form').corner("5px");
});
</script>
</head>
<body >
<div id='main_frame'>
<div class='header_main_div'>
<?php require_once("links/header.php");?>
<div id='main_page_div' style=' text-align: center;'>
<?php
require_once(dirname(__FILE__)."/cconfig.php");
ini_set("display_errors","On");
error_reporting(E_ALL ^ E_NOTICE);
require_once("cconfig.php");
$aobj_context=CConfig::CreateNewDbContext();
$status=$_POST["status"];
$firstname=$_POST["firstname"];
$amount=$_POST["amount"];
$txnid=$_POST["txnid"];
$posted_hash=$_POST["hash"];
$key=$_POST["key"];
$productinfo=$_POST["productinfo"];
$email=$_POST["email"];
$salt="6nUQgBjF";
$remarks="";
foreach($_POST as $ak=>$av)
{
$remarks.="{$ak} => ".addslashes($av)." \n";
}
$update="update res_stud set FPAYMENTREMARKS='{$remarks}',FPAYMENTSTATUS='{$status}',
FPAYMENTCONFIRM='{$status}', fackdate = current_date(), funivrecdate = current_date(),
fackuser = '{$status}', FCHALLANNO = '123'
where APPNO='{$productinfo}'";
$lobj_update = $aobj_context->mobj_db->Execute($update);
If (isset($_POST["additionalCharges"])) {
$additionalCharges=$_POST["additionalCharges"];
$retHashSeq = $additionalCharges.'|'.$salt.'|'.$status.'|||||||||||'.$email.'|'.$firstname.'|'.$productinfo.'|'.$amount.'|'.$txnid.'|'.$key;
}
else {
$retHashSeq = $salt.'|'.$status.'|||||||||||'.$email.'|'.$firstname.'|'.$productinfo.'|'.$amount.'|'.$txnid.'|'.$key;
}
$hash = hash("sha512", $retHashSeq);
if ($hash != $posted_hash) {
echo "<h1 style='color:red;'>Invalid Transaction. Please try again";
}
else {
echo "<h1 style='color:green;'>Thank You. Your order status is ". $status .".</h1>";
echo "<h2>Your Transaction ID for this transaction is ".$txnid.".</h2>";
echo "<h3>We have received a payment of Rs. " . $amount ."</h3>";
$html="
<div class='raval_submit' style='width:241px;float:none; margin: 0 auto;' >
<span onclick=\"PrintRevaluationApplicationForm('{$productinfo}');\" style='float:left;margin-left:8px;cursor: pointer; line-height: 19px;font-size:14px;font-weight:bold;'>Click here to take a PrintOut</span>
</div>";
echo $html;
}
?>
</div>
<?php require_once("links/footer.php");?>
</div>
</div>
</br>
</body>
</html>
|