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.148.145.219


Current Path : /proc/thread-self/root/var/www/website/nublr/
Upload File :
Current File : //proc/thread-self/root/var/www/website/nublr/onload.js

function load_notification() {
  // alert("table.HTML");
  // return;

  $.ajax({
    type: "get",
    url: "onload.php",
    success: function (response) {
      var response = JSON.parse(response);
      console.log(response);

      var details = response.data;
      var table = `<table  class="table" style="width: 80%;">`;

      for (let i in details) {
        if (details[i]["FTYPE"].search("home") != -1) {
          table += `<tr>
                          <td style="font-size: 16px; width:80%; "><a style="color: white;" href="admin/${details[i].FPATH}" target="_blank">${details[i].FTITLE}</a></td>
                          <td style="color: white;"><center> ${details[i].FCREATE} </center></td>
                    
                      </tr>`;
        }
      }
      table += `</table>`;

      console.log(table);
      $("#table_notif").html(table);
    },
  });
}

// <tr>
//   <td style="font-size: 20px; width:80%;">
//     <a data-new="new" href="admission.php" target="_blank" style="color:white;">
//       Admission 2021-2022 is open
//     </a>
//     &nbsp;
//   </td>
//   <td>05-06-2021</td>
// </tr>;