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.142.251.42
Current Path : /var/www/html/sikkim/adm/hdfc/ |
| Current File : /var/www/html/sikkim/adm/hdfc/ccavResponseHandler_bf_exam_20042020.php |
<!DOCTYPE html>
<!--[if IE 8]> <html lang="en" class="ie8 no-js"> <![endif]-->
<!--[if IE 9]> <html lang="en" class="ie9 no-js"> <![endif]-->
<!--[if !IE]><!-->
<html lang="en" class="no-js">
<!--<![endif]-->
<!-- BEGIN HEAD -->
<head>
<meta charset="utf-8" />
<title>Sikkim admission</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta content="width=device-width, initial-scale=1.0" name="viewport" />
<meta content="" name="description" />
<meta content="" name="author" />
<!-- FRAMEWORK STYLES STRATS-->
<link rel="shortcut icon" type="image/jpg" href="img/favicon.jpg " />
<link rel="stylesheet" type="text/css" href="css/tarka.css" />
<!-- BEGIN GLOBAL MANDATORY STYLES -->
<link rel="stylesheet" type="text/css" href="assets/css/open-sans.css" />
<script
src="../assets/plugins/jquery-1.10.2.min.js"
type="text/javascript"
></script>
<script src="../js/jquery.browser_detect.js" type="text/javascript"></script>
<script
type="text/javascript"
src="../assets/plugins/fancybox/source/jquery.fancybox.js?v=2.1.3"
></script>
<link
href="../assets/plugins/font-awesome/css/font-awesome.min.css"
rel="stylesheet"
type="text/css"
/>
<link
href="../assets/plugins/bootstrap/css/bootstrap.min.css"
rel="stylesheet"
type="text/css"
/>
<!-- END MESSAGES STYLES -->
<!-- BEGIN THEME STYLES -->
<link
href="../assets/css/style-metronic.css"
rel="stylesheet"
type="text/css"
/>
<link href="../assets/css/style.css" rel="stylesheet" type="text/css" />
<link
href="../assets/css/style-responsive.css"
rel="stylesheet"
type="text/css"
/>
<link href="../assets/css/plugins.css" rel="stylesheet" type="text/css" />
<link
href="../assets/css/themes/blue.css"
rel="stylesheet"
type="text/css"
id="style_color"
/>
<link href="../assets/css/custom.css" rel="stylesheet" type="text/css" />
<!-- END THEME STYLES -->
<link rel="shortcut icon" href="favicon.ico" />
<!-- amchart Graph JS -->
<link
rel="stylesheet"
type="text/css"
href="../assets/plugins/fancybox//source/jquery.fancybox.css?v=2.1.2"
media="screen"
/>
<!-- Validation -->
<script type="text/javascript" src="../custom_js/validate.js"></script>
<!-- PAGINATION STYLES -->
</head>
<!-- END HEAD -->
<!-- BEGIN BODY -->
<body class="page-header-fixed page-full-width">
<!-- BEGIN HEADER -->
<div class="header navbar navbar-fixed-top mega-menu" style="height:100px;">
<!-- BEGIN TOP NAVIGATION BAR -->
<div class="header-inner">
<!-- BEGIN LOGO -->
<!-- END LOGO -->
<!-- BEGIN HORIZANTAL MENU -->
<div class="row center-block" style="margin-top:3px;">
<div class="col-md-8">
<center>
<h3 class="text-center" style="color:#FFF;">
<strong
><span id="header_title"
>SIKKIM UNIVERSITY, GANGTOK</span
></strong
>
</h3>
<h3 class="text-center" style="color:#FFF;">
<strong
><span id="header_addr" style="font-size:18px;"
>6th Mile, Samdur, P.O. : Tadong, Gangtok, Sikkim -
737102</span
></strong
>
</h3>
</center>
</div>
<div class="col-md-8 col-md-offset-2"></div>
</div>
</div>
<!-- END HORIZANTAL MENU -->
<!-- BEGIN RESPONSIVE MENU TOGGLER -->
<a
href="javascript:;"
class="navbar-toggle"
data-toggle="collapse"
data-target=".navbar-collapse"
>
<img src="../assets/img/menu-toggler.png" alt="" />
</a>
<!-- END RESPONSIVE MENU TOGGLER -->
<!-- BEGIN TOP NAVIGATION MENU -->
<ul class="nav navbar-nav pull-right" style="margin-top:-30px;">
<!-- BEGIN NOTIFICATION DROPDOWN -->
<li>
<h4 class="text-center" style="color:#FFF;">
<span id="collegename"></span>
</h4>
</li>
<li class="dropdown" id="header_notification_bar">
<a
href="#"
class="dropdown-toggle"
data-toggle="dropdown"
style="margin-top:-5px"
data-hover="dropdown"
data-close-others="true"
>
</a>
</li>
</ul>
<!-- END TOP NAVIGATION MENU -->
</div>
<!-- END TOP NAVIGATION BAR -->
<div class="page-container" style="margin-top:111px;">
<!-- BEGIN CONTENT -->
<div class="page-content-wrapper">
<div class="page-content">
<div class="clearfix"></div>
<!-- FRAME WORK DIV STRATS-->
<div class="row" id="main_body">
<div class="page_main_div" id="page_main_div" align="left"></div>
<input
type="hidden"
id="module_name_for_save"
name="module_name_for_save"
value=""
/>
<input type="hidden" id="login_counter" />
<input type="hidden" id="g_group_s_ref_data_code" />
</div>
<div class="row" id="page_main_home_div" style="margin-top:8%;">
<?php include('Crypto.php')?>
<?php
error_reporting(0);
$workingKey='A09AC9FE6C4F6291596D0195E51A0556'; //Working Key should be provided here.
$encResponse=$_POST["encResp"]; //This is the response sent by the CCAvenue Server
$rcvdString=decrypt($encResponse,$workingKey); //Crypto Decryption used as per the specified working key.
$order_status="";
$decryptValues=explode('&', $rcvdString);
$dataSize=sizeof($decryptValues);
echo "<center>";
$servername = "logisys.cluster-cv9maxyrxjgg.ap-south-1.rds.amazonaws.com";
$username = "admin";
$password = "Logisys2104";
$dbname = "logisys3_sikkim";
$conn = new mysqli($servername, $username, $password, $dbname);
for($i = 0; $i < $dataSize; $i++)
{
$information=explode('=',$decryptValues[$i]);
$response[$information[0]] = $information[1];
}
if($response['order_status'] === "Success")
{
$productinfo = $response['merchant_param3'];
$txnid = $response['tracking_id'];
$amt = $response['amount'];
$firstname = 'HDFC';
//<span onclick=\"CMS.applicationreport('{$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>
$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>";
$html="
<div class='raval_submit' style='width:241px;float:none; margin: 0 auto;' >
<button class='btn purple'
type='button' onclick=\"CMS.applicationreport('{$productinfo}');\"><i class='fa fa-check' ></i> Click here to take a PrintOut
</button>
</div>";
echo $html;
$html = "";
$update="update studadm set FPAYMENTREMARKS='{$txnid}', FPAYMENTSTATUS='success',
fpaymentdate=now(), FPAYMENTTYPE = '{$firstname}'
where fappno = '{$productinfo}'";
//var_dump($update);
$result=$conn->query($update);
}
else if($response['order_status']==="Aborted")
{
echo "<br>Thank you for shopping with us.We will keep you posted regarding the status of your order through e-mail";
}
else if($response['order_status']==="Failure")
{
echo "<br>Thank you for shopping with us.However,the transaction has been declined.";
}
else
{
echo "<br>Security Error. Illegal access detected";
}
echo "<br><br>";
echo "<table cellspacing=4 cellpadding=4>";
// for($i = 0; $i < $dataSize; $i++)
// {
// $information=explode('=',$decryptValues[$i]);
// echo '<tr><td>'.$information[0].'</td><td>'.urldecode($information[1]).'</td></tr>';
// }
echo "</table><br>";
echo "</center>";
?>
</div>
</div>
<a class="btn default" id="showtoast" style="display:none;"></a>
<!-- PF Transfer out-Print Reports Popup Starts-->
</div>
</div>
<!-- END CONTENT -->
</div>
<!-- END CONTAINER -->
<!-- BEGIN FOOTER -->
<div class="footer">
<div class="footer-inner">
2019 ©
</div>
<div class="footer-tools">
<span class="go-top">
<i class="fa fa-angle-up"></i>
</span>
</div>
</div>
<script src="../assets/scripts/core/app.js" type="text/javascript"></script>
<script type="text/javascript" src="../js/load_js_files.js"></script>
<script type="text/javascript" src="../js/MainPage.js"></script>
<script type="text/javascript" src="../custom_js/cms.js?v=20082022"></script>
<script type="text/javascript" src="../js/form_submit.js"></script>
<!-- FRAMEWORK STYLES ENDS-->
<!-- IMPORTANT! Load jquery-ui-1.10.3.custom.min.js before bootstrap.min.js to fix bootstrap tooltip conflict with jquery ui tooltip -->
<script
src="../assets/plugins/bootstrap/js/bootstrap.min.js"
type="text/javascript"
></script>
<script
src="../assets/plugins/bootstrap-hover-dropdown/bootstrap-hover-dropdown.min.js"
type="text/javascript"
></script>
<script
src="../assets/plugins/jquery.blockui.min.js"
type="text/javascript"
></script>
<script
src="../assets/plugins/bootbox/bootbox.min.js"
type="text/javascript"
></script>
<script
type="text/javascript"
src="../assets/plugins/jquery-inputmask/jquery.inputmask.bundle.min.js"
></script>
<!-- CKEditor -->
<script>
jQuery(document).ready(function() {
// App.init();
$(".fancybox").fancybox();
});
</script>
<!-- END JAVASCRIPTS -->
</body>
<!-- END BODY -->
</html>
|