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.34.93
var $host_url =
"http://" +
window.location.host +
"/" +
window.location.pathname.split("/")[1] +
"/" +
window.location.pathname.split("/")[2] +
"/app.php?a=";
var $host_url1 =
"http://" +
window.location.host +
"/" +
window.location.pathname.split("/")[1] +
"/" +
window.location.pathname.split("/")[2] +
"/";
const studPGetStatus = () => {
$.ajax({
type: "GET",
url: $host_url + "getPGetStudDet",
success: response => {
var { error_code, data, status } = JSON.parse(response);
console.log(data, error_code);
if (error_code == 0) {
html = `<table class="table no-border">`;
html += `<div class="row">
<div class="col-md-6 col-lg-6 col-xs-12"><b>Name :</b> ${
data["fname"]
}</div>
<div class="col-md-6 col-lg-6 col-xs-12"><b>App. No. :</b> ${
data["fappno"]
}</div>
</div>
<div class="row">
<div class="col-md-6"><b>Category :</b> ${data["fcategory"]}</div>
<div class="col-md-6"><b>Applied On :</b> ${
data["fcreatedate"]
}</div>
</div>
<div class="row"><div class="col-md-10 col-lg-12 col-xs-12"><b>Marks Obtained : </b></div> </div>
<div class="row">
<div class="col-md-3 col-lg-3 col-xs-12">Max. Marks :${
data["fqmaxmarks"]
}</div>
<div class="col-md-3 col-lg-3 col-xs-12">Secured Marks : ${
data["fqsecmarks"]
}</div>
<div>Percentage : ${data["fqpercentage"]}</div>
</div>
<div class="row">
<div class="col-md-10 col-lg-12 col-xs-12"> <b>Remarks :</b>
${data["fappremarks"]}
</div>
</div>
`;
html += `</table>`;
$("#showTT").html(html);
}
if (error_code == -1) {
swal(
{
title: `${data["msg"]}`,
showCancelButton: false,
confirmButtonColor: "#5495ff",
confirmButtonText: "OK",
closeOnConfirm: false
},
function(isConfirm) {
if (isConfirm) swal.close();
window.location = "pg_instruction.html";
}
);
}
}
});
};
|