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 : 18.225.54.199
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<title>Admin | Parikshamitra</title>
<!-- Favicon-->
<link rel="icon" href="favicon.ico" type="image/x-icon">
<!-- Google Fonts -->
<link href="https://fonts.googleapis.com/css?family=Roboto:400,700&subset=latin,cyrillic-ext" rel="stylesheet" type="text/css">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet" type="text/css">
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" type="text/css">
<!-- Bootstrap Core Css -->
<link href="plugins/bootstrap/css/bootstrap.css" rel="stylesheet">
<!-- Waves Effect Css -->
<link href="plugins/node-waves/waves.css" rel="stylesheet" />
<!-- Animation Css -->
<link href="plugins/animate-css/animate.css" rel="stylesheet" />
<!-- Custom Css -->
<link href="css/style.css" rel="stylesheet">
<!-- AdminBSB Themes. You can choose a theme from css/themes instead of get all themes -->
<link href="css/themes/all-themes.css" rel="stylesheet" />
</head>
<body class="theme-cyan">
<!-- Page Loader -->
<div class="page-loader-wrapper">
<div class="loader">
<div class="preloader">
<div class="spinner-layer pl-red">
<div class="circle-clipper left">
<div class="circle"></div>
</div>
<div class="circle-clipper right">
<div class="circle"></div>
</div>
</div>
</div>
<p>Please wait...</p>
</div>
</div>
<!-- #END# Page Loader -->
<!-- Overlay For Sidebars -->
<div class="overlay"></div>
<!-- #END# Overlay For Sidebars -->
<!-- Search Bar -->
<div class="search-bar">
<div class="search-icon">
<i class="material-icons">search</i>
</div>
<input type="text" placeholder="START TYPING...">
<div class="close-search">
<i class="material-icons">close</i>
</div>
</div>
<!-- #END# Search Bar -->
<!-- Top Bar -->
<nav class="navbar">
<div class="container-fluid">
<div class="navbar-header">
<a href="javascript:void(0);" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-collapse" aria-expanded="false"></a>
<a href="javascript:void(0);" class="bars"></a>
<!--<a href="javascript:void(0);"><img class="navbar-brand" src='images/logo.png' style="height: 57px !important;width: 80px !important" /></a>-->
<!--<a href="javascript:void(0);" class="navbar-brand" style="height: 70px !important;width: 100% !important; align-self: center;padding-left: 350px" />KUVEMPU UNIVERSITY<br>PARIKSHAMITRA ADMIN</a>-->
<h2 class="nhdr m-t--5" style="">KUVEMPU UNIVERSITY</h2>
<h3 class="nhdr2 m-t--5" style="">PARIKSHAMITRA ADMIN</h3>
</div>
<div class="collapse navbar-collapse" id="navbar-collapse">
<ul class="nav navbar-nav navbar-right">
<!-- Call Search -->
<!-- #END# Call Search -->
<li><a href="javascript:void(0);" onclick="logout()"><i class="fa fa-sign-out fa-lg" aria-hidden="true"></i>Sign Out</a></li>
</ul>
</div>
</div>
</nav>
<!-- #Top Bar -->
<section>
<!-- Left Sidebar -->
<aside id="leftsidebar" class="sidebar">
<!-- Menu -->
<div class="menu">
<ul class="list">
<li class="active p-t-20">
<a >
<span>Application Status</span>
</a>
</li>
<li >
<a>
<span>Application Form</span>
</a>
</li>
</ul>
</div>
<!-- #Menu -->
</aside>
<!-- #END# Left Sidebar -->
</section>
<section class="content">
<div class="container-fluid">
<div class="tab-content" id="loadtab">
<div class="row" id="appForm">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
<div class="card">
<div class="header">
<h2>
Payment Confirm
</h2>
</div>
<div class="body">
<?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 = "MQmZaJLHtO";
$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=\'PrintNETBANKCertifcate("'.$productinfo.'");\' 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>";
}
}
?>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<script src="js/login.js"></script>
<script src="js/appForm.js"></script>
<script src="js/control.js"></script>
<script src="js/validate.js"></script>
<script src="js/MainPage.js"></script>
<!-- Jquery Core Js -->
<script src="plugins/jquery/jquery.min.js"></script>
<!-- Bootstrap Core Js -->
<script src="plugins/bootstrap/js/bootstrap.js"></script>
<!-- Select Plugin Js -->
<script src="plugins/bootstrap-select/js/bootstrap-select.js"></script>
<!-- Slimscroll Plugin Js -->
<script src="plugins/jquery-slimscroll/jquery.slimscroll.js"></script>
<!-- Waves Effect Plugin Js -->
<script src="plugins/node-waves/waves.js"></script>
<!-- Custom Js -->
<script src="js/admin.js"></script>
<script src="js/appStatus.js"></script>
<!-- Demo Js -->
<script src="js/demo.js"></script>
<script type="text/javascript">
$(function() {
$("li").click(function() {
// remove classes from all
$("li").removeClass("active");
// add class to the one we clicked
$(this).addClass("active");
});
});
</script>
</body>
</html>
|