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.129.73.6
/* function loadstudenttabs(mode)
{
document.getElementById("cont_acpt_univ").style.display = "none";
var services_url = "services.html";
var examapp_url = "http://www.logisys.net.in/student/"+mode
var result_url = "http://www.logisys.net.in/student/"+mode
var tabs = "<button type='submit' class='button button2' onclick=redirectservice('"+mode+"') ><span>Online Services</span></button>";
tabs += "<button type='submit' class='button button2' onclick=redirectpage('"+examapp_url+"') ><span>Exam Application form</span></button>";
tabs += "<button type='submit' class='button button2' onclick=redirectpage('"+result_url+"') ><span>Results</span></button>";
document.getElementById("cont_curr_univ").innerHTML = tabs;
document.getElementById("cont_curr_univ").style.display = "block";
} */
function loadexamtabs(mode)
{
var reurl = "http://www.logisys.net.in/student/"+mode;
window.location.href = reurl;
}
function loadteachertabs(mode)
{
document.getElementById("cont_acpt_univ").style.display = "none";
var reurl = "http://www.logisys.net.in/"+mode;
var tabs = "<button type='submit' class='button button2' onclick=redirectpage('"+reurl+"') ><span>OASIS Login</span></button>";
document.getElementById("cont_curr_univ").innerHTML = tabs;
document.getElementById("cont_curr_univ").style.display = "block";
}
function loadresultstabs(mode)
{
//document.getElementById("cont_acpt_univ").style.display = "none";
var reurl = "http://www.logisys.net.in/results/"+mode;
/* var tabs = "<button type='submit' class='button button2' onclick=redirectpage('"+reurl+"') ><span>Results</span></button>";
document.getElementById("cont_curr_univ").innerHTML = tabs;
document.getElementById("cont_curr_univ").style.display = "block"; */
window.location.href = reurl;
}
function redirectDegcrtpage(mode)
{
var redurl = "http://www.logisys.net.in/cnv/"+mode+"/indexpage.php";
window.location.href = redurl;
}
function redirectpage(redurl)
{
window.location.href = redurl;
}
function redirectservice(mode)
{
setCookie("curuniv",mode);
var services_url = "services.html";
window.location.href = services_url;
}
function loadservicepage(mode)
{
setCookie("curuniv",mode);
var services_url = "services.html";
window.location.href = services_url;
}
function redirectCollegepage()
{
var redurl = "http://www.logisys.net.in/kus";
window.location.href = redurl;
}
function loadonlineservices()
{
$("#T5").inputmask("d/m/y", {
"placeholder": "dd/mm/yyyy"
});
$("#T19").inputmask("d/m/y", {
"placeholder": "dd/mm/yyyy"
});
$("#T22").inputmask("d/m/y", {
"placeholder": "dd/mm/yyyy"
});
$("#T25").inputmask("d/m/y", {
"placeholder": "dd/mm/yyyy"
});
var crmode = getCookie("curuniv");
if(trim(crmode) != '')
{
var urlarr = window.location.pathname.split('/');
var $url="http://"+window.location.host+"/";
$hoststr = '';
for(var j=1;j<urlarr.length-1;j++)
{
$hoststr += window.location.pathname.split('/')[j]+"/";
}
$host_url = $url+$hoststr+"app.php?cdb="+crmode+"&a=";
CMS.GetCMSDropDownMenuValues();
}
else
{
window.location.href = "index.html";
}
}
function saveservicedetails()
{
//////To read Multiple Records///////
var inputFileds = document.getElementsByTagName('input');
var chkCnt = 0;
var rowCnt = 0;
var service_arr = {};
for (var counter=0; counter < inputFileds.length; counter++)
{
if ( inputFileds[counter].type.toUpperCase()=='TEXT' && inputFileds[counter].name == "servicedet" )
{
++rowCnt;
if(document.getElementById(rowCnt+'AT6').value != 'T')
{
++chkCnt;
service_arr[chkCnt] = new Object();
service_arr[chkCnt]['code'] = document.getElementById(rowCnt+'AT1').value;
service_arr[chkCnt]['name'] = document.getElementById(rowCnt+'AT2').value;
service_arr[chkCnt]['proc'] = document.getElementById(rowCnt+'AT3').value;
service_arr[chkCnt]['days'] = document.getElementById(rowCnt+'AT4').value;
service_arr[chkCnt]['order'] = document.getElementById(rowCnt+'AT5').value;
}
}
}
var dataString ="&service_arr="+encodeURIComponent(JSON.stringify(service_arr));
$.ajax({
type:"POST",
url:$host_url+"saveservicedetails",
data:dataString,
cache:false,
success:function($responce)
{
$responce = eval('('+$responce+')');
if($responce.error_code == 0)
{
alert($responce.data);
}
else
alert($responce.data);
}
});
}
function savefeeheaddetails()
{
//////To read Multiple Records///////
var inputFileds = document.getElementsByTagName('input');
var chkCnt = 0;
var rowCnt = 0;
var fee_arr = {};
for (var counter=0; counter < inputFileds.length; counter++)
{
if ( inputFileds[counter].type.toUpperCase() == 'TEXT' && inputFileds[counter].name == "feeheaddet" )
{
++rowCnt;
if(document.getElementById(rowCnt+'BT5').value != 'T')
{
++chkCnt;
fee_arr[chkCnt] = new Object();
fee_arr[chkCnt]['code'] = document.getElementById(rowCnt+'BT1').value;
fee_arr[chkCnt]['fee'] = document.getElementById(rowCnt+'BT2').value;
fee_arr[chkCnt]['desc'] = document.getElementById(rowCnt+'BT3').value;
fee_arr[chkCnt]['order'] = document.getElementById(rowCnt+'BT4').value;
}
}
}
var dataString ="&fee_arr="+encodeURIComponent(JSON.stringify(fee_arr));
$.ajax({
type:"POST",
url:$host_url+"savefeeheaddetails",
data:dataString,
cache:false,
success:function($responce)
{
$responce = eval('('+$responce+')');
if($responce.error_code == 0)
{
alert($responce.data);
}
else
alert($responce.data);
}
});
}
function saveservfeedetails()
{
//////To read Multiple Records///////
var inputFileds = document.getElementsByTagName('input');
var chkCnt = 0;
var rowCnt = 0;
var sfee_arr = {};
for (var counter=0; counter < inputFileds.length; counter++)
{
if ( inputFileds[counter].type.toUpperCase() == 'TEXT' && inputFileds[counter].name == "feeheaddet" )
{
++rowCnt;
if(document.getElementById(rowCnt+'CT5').value != 'T')
{
++chkCnt;
sfee_arr[chkCnt] = new Object();
sfee_arr[chkCnt]['deg'] = document.getElementById(rowCnt+'CT1').value;
sfee_arr[chkCnt]['cat'] = document.getElementById(rowCnt+'CT2').value;
sfee_arr[chkCnt]['fcd'] = document.getElementById(rowCnt+'CT3').value;
sfee_arr[chkCnt]['fee'] = document.getElementById(rowCnt+'CT4').value;
}
}
}
var dataString ="&sfee_arr="+encodeURIComponent(JSON.stringify(sfee_arr));
$.ajax({
type:"POST",
url:$host_url+"saveservfeedetails",
data:dataString,
cache:false,
success:function($responce)
{
$responce = eval('('+$responce+')');
if($responce.error_code == 0)
{
alert($responce.data);
}
else
alert($responce.data);
}
});
}
|