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 : 18.217.118.156


Current Path : /var/www/html/omr-data/js/
Upload File :
Current File : //var/www/html/omr-data/js/MainPage.js

var USER,USERTYPE,PATH;

function loadMaster()
{
  
	$.ajax({
    type: 'post',
    url: 'src/login.php',
    //data:parameters,
    success: function(response)
    {
      response = JSON.parse(response);
      var {status} = response;
      if(status === 'loggedin')
      {
        ({ USER,USERTYPE,PATH} = response);

        $('#loadtab').load('html_modules/applications.html',function()
        {

          $("#omrdet").attr('src', PATH);

        });

      }
      else
      {
      	alert("please login");
        window.location.href = 'index.html';
      }
    }
   });
}


function signOut()
{
  $.ajax({
      type: 'post',
      url: 'src/logout.php',
      //data:parameters,
      success: function(response)
      {
        if(response === 'logout')
        {
          window.location.href = 'index.html';  
        }
      }
  });
}