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.137.174.189
<!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="https://universitysolutions.in/convocation/assets/plugins/jquery-1.10.2.min.js"
type="text/javascript"
></script>
<script src="https://universitysolutions.in/convocation/js/jquery.browser_detect.js" type="text/javascript"></script>
<script
type="text/javascript"
src="https://universitysolutions.in/convocation/assets/plugins/fancybox/source/jquery.fancybox.js?v=2.1.3"
></script>
<link
href="https://universitysolutions.in/convocation/assets/plugins/font-awesome/css/font-awesome.min.css"
rel="stylesheet"
type="text/css"
/>
<link
href="https://universitysolutions.in/convocation/assets/plugins/bootstrap/css/bootstrap.min.css"
rel="stylesheet"
type="text/css"
/>
<!-- END MESSAGES STYLES -->
<!-- BEGIN THEME STYLES -->
<link
href="https://universitysolutions.in/convocation/assets/css/style-metronic.css"
rel="stylesheet"
type="text/css"
/>
<link href="https://universitysolutions.in/convocation/assets/css/style.css" rel="stylesheet" type="text/css" />
<link
href="https://universitysolutions.in/convocation/assets/css/style-responsive.css"
rel="stylesheet"
type="text/css"
/>
<link href="https://universitysolutions.in/convocation/assets/css/plugins.css" rel="stylesheet" type="text/css" />
<link
href="https://universitysolutions.in/convocation/assets/css/themes/blue.css"
rel="stylesheet"
type="text/css"
id="style_color"
/>
<link href="https://universitysolutions.in/convocation/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="https://universitysolutions.in/convocation/assets/plugins/fancybox//source/jquery.fancybox.css?v=2.1.2"
media="screen"
/>
<!-- Validation -->
<script type="text/javascript" src="https://universitysolutions.in/convocation/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"
>NORTH-EASTERN HILL UNIVERSITY, SHILLONG</span
></strong
>
</h3>
<h3 class="text-center" style="color:#FFF;">
<strong
><span id="header_addr" style="font-size:18px;"
>Umshing Mawkynroh, Shillong - 793022, Meghalaya</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
include("/var/www/config.php");
error_reporting(0);
$workingKey='95E728FA350ACF438AF698B29A0F4677'; //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 = SERVERNAME;
$username = USERNAME;
$password = PASSWORD;
$dbname = "logisys3_nehu";
$conn = new mysqli($servername, $username, $password, $dbname);
for($i = 0; $i < $dataSize; $i++)
{
$information=explode('=',$decryptValues[$i]);
$response[$information[0]] = $information[1];
}
//var_dump($response['order_status']);
if($response['order_status'] === "Success")
{
$productinfo = $response['merchant_param3'];
$regno = $response['merchant_param2'];
$txnid = $response['tracking_id'];
$amt = $response['amount'];
$firstname = 'HDFC';
$typeno = substr($productinfo,0,1);
if($typeno == '1')
{
$update="update appcandsum set FPAYMENTREMARKS='{$txnid}',FPAYMENTSTATUS='success',
FPAYMENTCONFIRM='success',FACKDATE=now(),FACKUSER='{$firstname}',
FPAYGATEWAY = '{$firstname}'
where APPNO='{$productinfo}'";
$result=$conn->query($update);
$get_app_cand_det="SELECT a.FDEGREE,a.FEXAMNO,a.FCOLLCODE,
a.FREGNO,a.FSUBCODE,a.FINSERTED,a.FPRESENT,a.FYEAR,a.FEXAMTYPE,concat('Message from Bengaluru Central University : ',
' Dear ',s.fname,' (Reg. no. : ',s.fregno,' , Stud. id. : ',s.fstudid,'),',
' Rs.',FLOOR(c.FTOTALFEE),'/- is received at university. Your application no. is ',c.appno,
'. keep this information for future reference.',' Sent Time: ',time(now())) as message
FROM appcanddet a inner join student s on a.fdegree = s.fdegree
and s.fcollcode = a.fcollcode and
a.fregno = s.fregno inner join appcandsum c on a.fdegree = c.fdegree
and a.fcollcode = c.fcollcode and a.fregno = c.fregno and a.appno = c.appno
WHERE c.APPNO='{$productinfo}'";
$result = $conn->query($get_app_cand_det);
if (mysqli_num_rows($result) > 0)
{
while($row = mysqli_fetch_assoc($result))
{
$collcode = $row['FCOLLCODE'];
$degree = $row['FDEGREE'];
$regno = $row['FREGNO'];
$text = $row['message'];
}
}
$update_cand_sum = "UPDATE appcandsum a,candsum c
SET
c.FEXAMFEEA=if(ifnull(c.FEXAMFEEA,0) <=0,ifnull(a.FEXAMFEEA,0),ifnull(c.FEXAMFEEA,0)),
c.FEXAMFEEB=if(ifnull(c.FEXAMFEEB,0) <=0,ifnull(a.FEXAMFEEB,0),ifnull(c.FEXAMFEEB,0)),
c.FEXAMFEEC=if(ifnull(c.FEXAMFEEC,0) <=0,ifnull(a.FEXAMFEEC,0),ifnull(c.FEXAMFEEC,0)),
c.FEXAMFEED=if(ifnull(c.FEXAMFEED,0) <=0,ifnull(a.FEXAMFEED,0),ifnull(c.FEXAMFEED,0)),
c.FEXAMFEEE=if(ifnull(c.FEXAMFEEE,0) <=0,ifnull(a.FEXAMFEEE,0),ifnull(c.FEXAMFEEE,0)),
c.FEXAMFEEF=if(ifnull(c.FEXAMFEEF,0) <=0,ifnull(a.FEXAMFEEF,0),ifnull(c.FEXAMFEEF,0)),
c.FEXAMFEEG=if(ifnull(c.FEXAMFEEG,0) <=0,ifnull(a.FEXAMFEEG,0),ifnull(c.FEXAMFEEG,0)),
c.FEXAMFEEH=if(ifnull(c.FEXAMFEEH,0) <=0,ifnull(a.FEXAMFEEH,0),ifnull(c.FEXAMFEEH,0)),
c.FEXAMFEEI=if(ifnull(c.FEXAMFEEI,0) <=0,ifnull(a.FEXAMFEEI,0),ifnull(c.FEXAMFEEI,0)),
c.FEXAMFEEJ=if(ifnull(c.FEXAMFEEJ,0) <=0,ifnull(a.FEXAMFEEJ,0),ifnull(c.FEXAMFEEJ,0)),
c.FTOTALFEE=a.FTOTALFEE,
c.frecptdate = date(now())
WHERE a.fregno=c.FREGNO
AND a.APPNO='{$productinfo}' and a.FCOLLCODE='{$collcode}'";
$result = $conn->query($update_cand_sum);
$update_cand_appCand = "update canddet c, appcanddet t
set c.finserted = t.finserted,
c.fpresent = t.fpresent
where c.fdegree = t.fdegree
and c.fexamno = t.fexamno
and c.fregno = t.fregno
and c.fsubcode = t.fsubcode
and c.fdegree = '{$degree}' and c.fregno = '{$regno}'
and t.APPNO='{$productinfo}' and ifnull(c.fpresent,'') <> 'P'";
$result = $conn->query($update_cand_appCand);
$insert_canddet ="insert into canddet(fdegree,FEXAMNO, FCOLLCODE, FREGNO, FSUBCODE, FINSERTED, FPRESENT, FYEAR, FEXAMTYPE)
select fdegree, FEXAMNO, FCOLLCODE,FREGNO, FSUBCODE,FINSERTED, FPRESENT, FYEAR,FEXAMTYPE from appcanddet where
fregno = '{$regno}' and appno ='{$productinfo}' and CONCAT(fdegree,fexamno,fregno,fsubcode)
not in(select CONCAT(fdegree,fexamno,fregno,fsubcode) from canddet where fregno = '{$regno}')
";
$result = $conn->query($insert_canddet);
$update_studfee = "update studfee s, appstudfee a
set s.famount = a.famount,
s.flogdate = a.flogdate
where s.fdegree = a.fdegree
and s.fexamno = a.fexamno
and s.fregno = a.fregno
and s.ffeecode = a.ffeecode
and s.fregno = '{$regno}'
and s.famount <= 0
and a.appno ='{$productinfo}'";
$result = $conn->query($update_studfee);
$insert_studfee = "insert into studfee(fdegree,fexamno,fcollcode,fregno,ffeecode,famount,flogdate,fyear,fexamtype)
select fdegree,fexamno,fcollcode,fregno,ffeecode,famount,flogdate,fyear,fexamtype from appstudfee where
fregno = '{$regno}' and appno ='{$productinfo}' and CONCAT(fdegree,fexamno,fregno,ffeecode)
not in(select CONCAT(fdegree,fexamno,fregno,ffeecode) from studfee where fdegree = '{$degree}'
and fregno = '{$regno}')";
$result = $conn->query($insert_studfee);
$query = "select fdegree,fexamno,fcollcode,fregno,ffeecode,famount,flogdate,fyear,fexamtype
from appstudfee where
fregno = '{$regno}' and appno ='{$productinfo}' and ffeecode = '02 Provisional Certificate'";
$result1 = $conn->query($query);
if(mysqli_num_rows($result1) > 0)
{
$query = "INSERT INTO studmiscfee (fdescpn, fregno,fremamount, forderid, fpaymentype, fpaymentstatus, fpaydate, FPAYMENTREMARKS)VALUES('PPC Fee', '{$regno}', '100', '{$txnid}', 'hdfc', 'success', now(),'{$txnid}')";
$result2 = $conn->query($query);
}
$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=\"examapplicationprint('{$productinfo}');\"><i class='fa fa-check' ></i> Click here to take a PrintOut
</button>
</div>";
echo $html;
$html = "";
}else if($typeno == '4')
{
$status = 'success';
$html = "";
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;' >
<span onclick=\"downloadht('{$regno}');\" 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;
$html = "";
$update="update studmiscfee set FPAYMENTREMARKS='{$txnid}', fpaymentstatus='{$status}', fpaydate = now()
where fappno='{$productinfo}'";
$result=$conn->query($update);
}
else if($typeno == '2')
{
$status = 'success';
$html = "";
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;' >
<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;
$html = "";
$update="update res_stud set FPAYMENTREMARKS='{$txnid}',FPAYMENTSTATUS='{$status}',
FPAYMENTCONFIRM='{$status}', fackdate = current_date(), funivrecdate = current_date(),
fackuser = '{$firstname}', FCHALLANNO = '{$txnid}'
where APPNO='{$productinfo}'";
$result=$conn->query($update);
}
else if ($typeno == "3") {
$update = "update dctran set FPAYREMARKS='{$txnid}',
FPAYSTATUS='success',FPAYDATE=now(),FTRANID='{$txnid}'
where FAPPNO='{$productinfo}'";
//var_dump($update);
$result = $conn->query($update);
$html = "";
echo "<h1 style='color:green;'>Thank You. Your Payment 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=\"cnvapplicationreport('{$productinfo}');\"><i class='fa fa-check' ></i> Click here to take a PrintOut
</button>
</div>";
echo $html;
$html = "";
}
else
{
$update="update studadm set FPAYMENTREMARKS='{$txnid}', FPAYMENTSTATUS='success',
fpaymentdate=now(), FPAYMENTTYPE = '{$firstname}'
where fappno = '{$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>";
$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 = "";
}
}
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 $response['order_status'];
}
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="https://universitysolutions.in/convocation/assets/scripts/core/app.js" type="text/javascript"></script>
<script type="text/javascript" src="https://universitysolutions.in/convocation/js/load_js_files.js"></script>
<script type="text/javascript" src="https://universitysolutions.in/convocation/js/MainPage.js"></script>
<script type="text/javascript" src="https://universitysolutions.in/convocation/custom_js/cms.js?v=20082022"></script>
<script type="text/javascript" src="https://universitysolutions.in/convocation/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="https://universitysolutions.in/convocation/assets/plugins/bootstrap/js/bootstrap.min.js"
type="text/javascript"
></script>
<script
src="https://universitysolutions.in/convocation/assets/plugins/bootstrap-hover-dropdown/bootstrap-hover-dropdown.min.js"
type="text/javascript"
></script>
<script
src="https://universitysolutions.in/convocation/assets/plugins/jquery.blockui.min.js"
type="text/javascript"
></script>
<script
src="https://universitysolutions.in/convocation/assets/plugins/bootbox/bootbox.min.js"
type="text/javascript"
></script>
<script
type="text/javascript"
src="https://universitysolutions.in/convocation/assets/plugins/jquery-inputmask/jquery.inputmask.bundle.min.js"
></script>
<!-- CKEditor -->
<script>
jQuery(document).ready(function() {
// App.init();
$(".fancybox").fancybox();
});
</script>
<script>
function examapplicationprint(appno)
{
//alert(appno);
$host_url = "https://student.logisys.org//sikkim//app.php?a=";
window.location.href=$host_url+"PrintApplicationFormNETBANKING&app_no="+appno;
}
function cnvapplicationreport(appno)
{
//alert(appno);
$host_url = "https://universitysolutions.in/convocation/app.php?db=nehu&a=";
window.location.href=$host_url+"PrintNetbankCertificate&app_no="+appno;
}
function PrintRevaluationApplicationForm(appno)
{
// $host_url = "http://results.logisys.org/sikkim//app.php?a=";
// window.location.href=$host_url+"PrintApplicationFormNETBANKING&app_no="+appno;
var $host_url = "http://results.logisys.org/sikkim/app.php?a=";
window.location.href =
$host_url + "PrintRevaluationApplicationForm&app_no=" + appno;
}
function downloadht(appno)
{
$host_url = "https://student.logisys.org/sikkim//app.php?a=";
window.location.href =
$host_url + "generateAdmissionTicket.demo®no=" + appno;
}
</script>
<!-- END JAVASCRIPTS -->
</body>
<!-- END BODY -->
</html>
|