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.16.130.96
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Parikshamitra</title>
<link rel="shortcut icon" type="image/x-icon" href="../images/favicon.jpg" />
<link rel="stylesheet" href="css/style.css" type="text/css" media="all" />
<link rel="stylesheet" href="css/logstyle.css" type="text/css" media="all" />
<!-- Bootstrap Core CSS -->
<link href="css/bootstrap.css" rel='stylesheet' type='text/css' />
<link href="css/animate.css" rel="stylesheet" type="text/css" media="all">
<script src="js/home.js" type="text/javascript"></script>
<script src="js/jquery-1.7.2.min.js" type="text/javascript"></script>
<script src="js/index.js" type="text/javascript"></script>
<script src="js/control.js" type="text/javascript"></script>
<script src="js/dytable.js" type="text/javascript"></script>
<script src="js/validate.js" type="text/javascript"></script>
<script src="js/form_submit.js" type="text/javascript"></script>
<script src="js/loadtable.js" type="text/javascript"></script>
<script src="js/cms.js" type="text/javascript"></script>
</head>
<body>
<!-- wrapper -->
<div id="wrapper">
<!-- shell -->
<div class="shell">
<!-- container -->
<div class="container">
<div style="margin-right:10px;padding-top:8px;color:#fff;" class="nav-top">
<span style="padding-left:5px;width:400px;" id="datestr"></span>
<span style="float:right;padding-right:10px;"> <span id="user_name"></span> <span onclick="window.location.href='index.html'">Home</span> </span>
</div
<!-- header -->
<header class="header">
<h1 id="logo"><a href="#">Logisys</a></h1>
<br style="clear:both;"/>
<nav id="navigation">
<ul>
<li class="active"><a href="index.html">Home</a></li>
<li><a href="aboutus.html">About Us</a></li>
<li><a href="#">Students Corner</a>
<ul>
<li><a href="results.html">Results</a></li>
<li><a href="exam.html">Examination Application Form </a></li>
<li><a href="student.html">Online Services </a></li>
<li><a href="degreecert.html">Degree Certificate</a></li>
</ul>
</li>
<li><a href="#" onclick="redirectCollegepage()">College Login</a></li>
<li><a href="teachers.html">Teachers Corner</a></li>
<li><a href="contacts.html">Contact Us</a></li>
</ul>
</nav>
<div class="cl"> </div>
</header>
<!-- end of header -->
<div class="main">
<div class="page-container" style='margin-top:111px;'>
<!-- BEGIN CONTENT -->
<div class="page-content-wrapper">
<div class="page-content" style="min-height:350px;">
<?php
require_once(dirname(__FILE__)."/cconfig.php");
ini_set("display_errors","On");
error_reporting(E_ALL ^ E_NOTICE^ E_WARNING);
require_once("cconfig.php");
$cdb = $_REQUEST['cdb'];
$aobj_context=CConfig::CreateNewDbContext($cdb);
$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 servtran set FPAYREMARKS='{$remarks}',
FPAYSTATUS='{$status}',FPAYDATE=now(),FTRANID='{$txnid}'
where FAPPNO='{$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 "<h2 align='center' style='color:red;'>Invalid Transaction. Please try again</h2>";
}
else
{
$get_data=" select femail, fmobile,fpaystatus from servtran
where FAPPNO ='{$productinfo}' limit 1";
$lobj_get_data=$aobj_context->mobj_db->GetRow($get_data);
if($lobj_get_data[fpaystatus] == 'success')
{
echo " <div align='center' class='col-xs-9 center-block' style='float:none;margi:0 auto;'> <h3 style='color:green;'>Your online payment is ". $status ."</h3>";
echo "<h3>Application no. : ".$productinfo.".</h3>";
echo "<h3>Transaction ID : ".$txnid.".</h3>";
echo "<h3>Paid amount Rs. : " . $amount ."</h3>";
$html='<button class="btn btn_3 btn-lg btn-info" onclick=\'CMS.RestablishConnection("'.$productinfo.'","'.$cdb.'");\' type="button"><i class="fa fa-download"></i> Print Acknowledgement</button>';
$html.='</div> ';
echo $html;
}
else
{
echo "<div id='table_left_div' style='background:#fff;'><div style='height:450px;'><h1 style='color:red;'>Transaction " .$lobj_get_data[fpaystatus]. " Please try again</h1></div></div>";
}
}
?>
<!-- PF Transfer out-Print Reports Popup Starts-->
</div>
</div>
<!-- END CONTENT -->
</div>
<!-- END CONTAINER -->
</div>
</div>
<section style="background: url(images/appfromHd.jpg) repeat 0 0;"></section>
</div>
</div>
</div>
<script type="text/javascript" src="js/bootstrap.min.js"></script>
<!-- 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>
</body>
</html>
|