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


Current Path : /proc/thread-self/root/proc/thread-self/cwd/
Upload File :
Current File : //proc/thread-self/root/proc/thread-self/cwd/onload_notif.js

function load_notification_1() {
  //   alert("table.HTML");

  $.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%;">
      
      <th scope="col" style="background: #95503d; color: white; text-align: center; font-size: 18px;">Particulars</th>           
              <th scope="col" style="background: #95503d; color: white; text-align: center; font-size: 18px;">Updated On</th>
              <th scope="col" style="background: #95503d; color: white; ">
              </th>`;

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

                      
                        </tr>`;
        }
      }
      table += `</table>`;

      console.log(table);
      $("#table_notification").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>;