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.138.60.175
var studregno;
//var $host_url="http://"+window.location.host+"/"+window.location.pathname.split('/')[1]+"/app.php?a=";
//var $host_url="http://"+window.location.host+"/"+window.location.pathname.split('/')[1]+"/app.php?a=";
var $host_url="http://"+window.location.host+"/"+window.location.pathname.split('/')[1]+"/"+window.location.pathname.split('/')[2]+"/app.php?a=";
function studentregno()
{
studregno = $('#studregno').val();
if(studregno === '')
{
$('#studregno_err').addClass('hasError');
return;
}
else
{
var datastring = "&studregno="+studregno+"&page=registration";
$.ajax({
type: "POST",
async: false,
data:datastring,
url:$host_url+'getRerigistrationDetails',
success: function getsubjectdetResponce(responce)
{
responce = eval('(' + responce + ')');
if(responce.error_code === -1)
{
alert(responce.data.msg);
}
else
{
window.location.href="MainPage.html?page=registration";
}
}
});
}
}
function getreprint()
{
var rappno = $('#rappno').val();
var rdob = $('#rdob').val();
var datastring = "&rappno="+rappno+"&rdob="+rdob;
$.ajax({
type: "POST",
url:$host_url+'getreprint',
data: datastring,
success: function(responce)
{
responce = eval('(' + responce + ')');
if(responce.error_code == 0)
{
if(responce.data.html.fpaymenttype == 'SBM' || responce.data.html.fpaymentstatus == 'success' || responce.data.html.fpaymenttype == 'a' || responce.data.html.fpaymenttype == '')
{
window.location.href=$host_url+"PrintApplicationFormSBM&app_no="+rappno;
}
else
{
alert('Payment Not Made.');
return;
}
}
else
{
alert('Invalid Details.');
return;
}
}
});
}
function makepayment()
{
var rappno = $('#rappno').val();
window.location.href="Paytm/pgRedirect.php?productinfo="+rappno;
}
|