0xV3NOMx
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.15.198.120


Current Path : /var/www/html/studentportal_wait/js_old/
Upload File :
Current File : //var/www/html/studentportal_wait/js_old/examtimetable.js

function getexamtimetable()
{
    /*var config = null;
    var fqpcode;
    var fdoe;
    var fdescpn;

    var  parameters = "&screen=examtimetable";
    var fname, fexamname, fregno, fexamdate, fdegree;
    $.ajax({
      type: 'post',
      url: 'src/examtimetable.php',
      data:parameters,
      async: false,
      success: function(response)
      {
        response = JSON.parse(response);
       if(response.error_code == 0)
       {
         swal({
                    title: 'Exam Time Table Not Available',
                    type: "warning",
                    showCancelButton: false,
                    confirmButtonColor: "#5495ff",
                    confirmButtonText: "OK",
                    closeOnConfirm: false
                }, function(isConfirm){
                    if(isConfirm)
                        swal.close();
                    loadProfile();
                    $("#profile").addClass("active");
                    $("#resultsmenu").removeClass("active");
                });
       }else
       {
         $('#loadtab').load('html_modules/examtimetable.html?v='+version, function()
         {
          fqpcode = response.fqpcode;
          fsubname = response.fsubname;
          fdoe = response.fdoe;
          fdescpn = response.fdescpn;

          ({ fname, fexamname, fregno, fexamdate, fdegree } = response);

          $("#studinfo").append(`<tr><td width='20%'><b>Reg. No.  </td><td> : ${fregno}
              </b></td></tr><tr><td width='20%'><b>Student Name  </td><td> : ${fname}
              </b></td></tr><tr><td width='20%'><b>Degree </td><td> : ${ fdegree }</b></td></tr>`);


          var table = `<table class="m-b-20 table table-condensed table-bordered table-striped table-hover">
                      <tr><th style = "width:8%;">Sl. No.</th><th style = "width:10%;" ><center>QP Code</center></th><th>Subject Name</th>
                      <th >Exam Date and Time</th>`;
          for(let i in fqpcode)
          {
              console.log(fdoe[i]);
              table += `<tr style = "height:30px;"><td><center>${parseInt(i)+1}</center></td><td><center>${fqpcode[i]}</center></td>
              <td>${fsubname[i]}</td><td>${fdoe[i]} &nbsp;&nbsp;&nbsp; ${fdescpn[i]}</td></tr>`;
          }
          table += `</table>`;

          $('#examtimetable_table_det').html(table);
        });
       } 
        
      }
    });*/
    
    
}