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.144.242.149
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta http-equiv="pragma" content="no-cache" />
<title>Examination Automation</title>
<meta http-equiv="cache-control" content="max-age=0" />
<meta http-equiv="cache-control" content="no-cache" />
<meta http-equiv="expires" content="0" />
<meta http-equiv="expires" content="Tue, 01 Jan 1980 1:00:00 GMT" />
<meta http-equiv="pragma" content="no-cache" />
<!-- css files-->
<link rel="shortcut icon" type="image/jpg" href="images/tarka_favicon.jpg" />
<link rel="stylesheet" type="text/css" href="css/main.css" />
<link rel="stylesheet" type="text/css" href="css/loginpage.css" />
<!-- <link rel="stylesheet" type="text/css" href="css/jquery.alerts.css" /> -->
<link rel="stylesheet" type="text/css" href="JQGrid3.5/css/jquery-ui-1.7.2.custom.css" />
<!--javascript files-->
<script type="text/javascript" src="js/checkbrowser.js"></script>
<script type="text/javascript" src="JQGrid3.5/js/jquery-1.3.2.js"></script>
<!-- <script type="text/javascript" src="JQGrid3.5/js/jquery-ui-1.7.2.custom.min.js"></script> -->
<script type="text/javascript" src ="js/index.js?v=21092018" ></script>
<script src="libs/jquery.jclock-1.2.0.js.txt" type="text/javascript"></script>
<!-- <script type="text/javascript" src="js/base_file/spinner.js"></script> -->
<script type="text/javascript">
/*
$(function(){
// Dialog
$('#dialog').dialog({
autoOpen: false,
modal: true,
width: 600,
buttons: {
"Ok": function() {
$(this).dialog("close");
},
"Cancel": function() {
$(this).dialog("close");
}
}
});
});
*/
$(function($) {
$('.jclock').jclock();
});
</script>
</head>
<body>
<div class="mainbody" align="center">
<!-- Header div part-->
<div class="header">
<div class="header-top">
<div class="logo" align="left"></div>
<div class="headerDetails" align="right">
<div class="tarka-site">
</div>
</div>
</div>
<div class="header-bottom">
<div style="float:left;"></div>
<div class="package" style="margin-left:2px;" ><span id='university_name'>BENGALURU CENTRAL UNIVERSITY</span></div>
<div class="MainMenu" id="system_menu"></div>
</div>
<div id='tarka_menu_html_div' style="display:none"> </div>
</div>
<!-- End Header div part-->
<!--Main Contents Div -->
<div class="contents">
<div class="loginpage_main__div">
<?php
require_once 'axis/AesForJava.php';
define('ENCRYPTION_KEY', 'axisbank12345678');
$aesJava = new AesForJava();
$_REQUEST['i'] = str_replace(' ', '+', $_REQUEST['i']);
$qStr = $aesJava->decrypt($_REQUEST['i'], ENCRYPTION_KEY, 128);
$response = explode("&", $qStr);
$ridresponse = explode("=", $response[6]);
$crnresponse = explode("=", $response[10]);
$cid = '4349';
$rid = $ridresponse[1];
$crn = $crnresponse[1];;
$ver = '1.0';
$typ = 'Test';
define('POST_URL', "https://uat-etendering.axisbank.co.in/easypay2.0/frontend/index.php/api/enquiry");
define('CHECKSUM_KEY', 'axis');
define('ENCRYPTION_KEY', 'axisbank12345678');
include_once 'axis/EasyPay.php';
$ep = new EasyPay(POST_URL,CHECKSUM_KEY,ENCRYPTION_KEY);
$result = $ep->callEasyPayEnquiry($cid, $rid, $crn, $ver, $typ);
//echo '<pre>';
//print_r($result);
$response = explode("&", $result);
//var_dump($response);
$appresponse = explode("=", $response[4]);
$trnresponse = explode("=", $response[10]);
$stcresponse = explode("=", $response[8]);
$amtresponse = explode("=", $response[7]);
$productinfo = $appresponse[1];
$txnid = $trnresponse[1];
$stc = $stcresponse[1];
$amt = $amtresponse[1];
if($stc == '000')
{
$servername = "97.74.228.93";
$username = "logisys3_logu";
$password = "Logisys@2106";
$dbname = "logisys3_bcu";
$conn = new mysqli($servername, $username, $password, $dbname);
$update="update collfundtransfer set fpaymentremarks = '{$result}',fpaymenttranid = '{$txnid}',
fpaymenttype = 'axis',forderid = '{$txnid}',
fpaymentstatus = 'success', fpaymentdate = now()
where fid ='{$productinfo}'";
// var_dump($update);
$result=$conn->query($update);
$html = "";
echo "<h1 style='color:green;'>Thank You. Your order status is success</h1>";
echo "<h2>Your Transaction ID for this transaction is ".$txnid.".</h2>";
echo "<h3>We have received a payment of Rs. " . $amt."</h3>";
}else
{
$html = "<p>Your payment failed</p>";
}
echo $html;
?>
</div>
</body>
</html>
|