Al-HUWAITI Shell
Al-huwaiti


Server : LiteSpeed
System : Linux in-mum-web1743.main-hosting.eu 5.14.0-570.62.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Nov 11 10:10:59 EST 2025 x86_64
User : u993087259 ( 993087259)
PHP Version : 8.2.29
Disable Function : system, exec, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail
Directory :  /home/u993087259/domains/naturalsveda.in/public_html/admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/u993087259/domains/naturalsveda.in/public_html/admin/footer-script.php
<!--   Core JS Files   -->
<!--   Core JS Files   -->
<script src="assets/js/core/jquery.min.js"></script>
<script src="assets/js/core/popper.min.js"></script>
<script src="assets/js/core/bootstrap.min.js"></script>
<script src="assets/js/plugins/perfect-scrollbar.jquery.min.js"></script>
<!--  Google Maps Plugin    -->
<script src="https://maps.googleapis.com/maps/api/js?key=YOUR_KEY_HERE"></script>
<!-- Chart JS -->
<script src="assets/js/plugins/chartjs.min.js"></script>
<!--  Notifications Plugin    -->
<script src="assets/js/plugins/bootstrap-notify.js"></script>
<!-- Control Center for Now Ui Dashboard: parallax effects, scripts for the example pages etc -->
<script src="assets/js/now-ui-dashboard.js?v=1.0.1"></script>
<!-- Now Ui Dashboard DEMO methods, don't include it in your project! -->
<script src="assets/demo/demo.js"></script>
<script>
  $(document).ready(function() {
    // Javascript method's body can be found in assets/js/demos.js
    demo.initDashboardPageCharts();
  });
</script>
<script>
  if (window.history.replaceState) {
    window.history.replaceState(null, null, window.location.href);
  }
</script>
<script>
  $(function() {
    // Just to append id number for each row
    $('table tr:eq(0)').prepend('<th> ID </th>');

    var id = 0;

    $('table tr:gt(0)').each(function() {
      id++;
      $(this).prepend('<td>' + id + '</td>');
    });
  });
</script>
<script>
  // var buttons = document.querySelectorAll('.buttons button');

  // var text = document.querySelector('.text');
  // // from above buttons array
  // // button @ index 0 = edit
  // // button @ index 1 = back
  // // button @ index 2 = update
  // // button @ index 3 = delete

  // buttons[1].style.visibility = 'hidden';
  // buttons[2].style.visibility = 'hidden';
  // // buttons[3].style.visibility = 'hidden';

  // buttons.forEach(button => {

  //   button.addEventListener('click', () => {

  //     // text.textContent = "You Pressed" + button.textContent;

  //     switch (button) {

  //       // case with edit button
  //       case buttons[0]:

  //         buttons[0].style.visibility = 'hidden';
  //         buttons[1].style.visibility = 'visible';
  //         buttons[2].style.visibility = 'visible';
  //         // buttons[3].style.visibility = 'visible';

  //         break;

  //         // case with back button
  //       case buttons[1]:

  //         buttons[0].style.visibility = 'visible';
  //         buttons[1].style.visibility = 'hidden';
  //         buttons[2].style.visibility = 'hidden';
  //         // buttons[3].style.visibility = 'hidden';

  //         break;

  //         //  default optional
  //       default:
  //         console.log("nothing to do!!");
  //         break;

  //     }

  //   });

  // });
</script>
<script>
  getPagination('#table-id');
  $('#maxRows').trigger('change');

  function getPagination(table) {

    $('#maxRows').on('change', function() {
      $('.pagination').html(''); // reset pagination div
      var trnum = 0; // reset tr counter 
      var maxRows = parseInt($(this).val()); // get Max Rows from select option

      var totalRows = $(table + ' tbody tr').length; // numbers of rows 
      $(table + ' tr:gt(0)').each(function() { // each TR in  table and not the header
        trnum++; // Start Counter 
        if (trnum > maxRows) { // if tr number gt maxRows

          $(this).hide(); // fade it out 
        }
        if (trnum <= maxRows) {
          $(this).show();
        } // else fade in Important in case if it ..
      }); //  was fade out to fade it in 
      if (totalRows > maxRows) { // if tr total rows gt max rows option
        var pagenum = Math.ceil(totalRows / maxRows); // ceil total(rows/maxrows) to get ..  
        //	numbers of pages 
        for (var i = 1; i <= pagenum;) { // for each page append pagination li 
          $('.pagination').append('<li data-page="' + i + '">\
								      <span>' + i++ + '<span class="sr-only">(current)</span></span>\
								    </li>').show();
        } // end for i 


      } // end if row count > max rows
      $('.pagination li:first-child').addClass('active'); // add active class to the first li 


      //SHOWING ROWS NUMBER OUT OF TOTAL DEFAULT
      showig_rows_count(maxRows, 1, totalRows);
      //SHOWING ROWS NUMBER OUT OF TOTAL DEFAULT

      $('.pagination li').on('click', function(e) { // on click each page
        e.preventDefault();
        var pageNum = $(this).attr('data-page'); // get it's number
        var trIndex = 0; // reset tr counter
        $('.pagination li').removeClass('active'); // remove active class from all li 
        $(this).addClass('active'); // add active class to the clicked 


        //SHOWING ROWS NUMBER OUT OF TOTAL
        showig_rows_count(maxRows, pageNum, totalRows);
        //SHOWING ROWS NUMBER OUT OF TOTAL



        $(table + ' tr:gt(0)').each(function() { // each tr in table not the header
          trIndex++; // tr index counter 
          // if tr index gt maxRows*pageNum or lt maxRows*pageNum-maxRows fade if out
          if (trIndex > (maxRows * pageNum) || trIndex <= ((maxRows * pageNum) - maxRows)) {
            $(this).hide();
          } else {
            $(this).show();
          } //else fade in 
        }); // end of for each tr in table
      }); // end of on click pagination list
    });
    // end of on select change 

    // END OF PAGINATION 

  }




  // SI SETTING
  $(function() {
    // Just to append id number for each row  
    default_index();

  });

  //ROWS SHOWING FUNCTION
  function showig_rows_count(maxRows, pageNum, totalRows) {
    //Default rows showing
    var end_index = maxRows * pageNum;
    var start_index = ((maxRows * pageNum) - maxRows) + parseFloat(1);
    var string = 'Showing ' + start_index + ' to ' + end_index + ' of ' + totalRows + ' entries';
    $('.rows_count').html(string);
  }

  // CREATING INDEX
  // function default_index() {
  //   $('table tr:eq(0)').prepend('<th> ID </th>')

  // 					var id = 0;

  // 					$('table tr:gt(0)').each(function(){	
  // 						id++
  // 						$(this).prepend('<td>'+id+'</td>');
  // 					});
  // }

  // All Table search script
  function FilterkeyWord_all_table() {

    // Count td if you want to search on all table instead of specific column

    var count = $('.table').children('tbody').children('tr:first-child').children('td').length;

    // Declare variables
    var input, filter, table, tr, td, i;
    input = document.getElementById("search_input_all");
    var input_value = document.getElementById("search_input_all").value;
    filter = input.value.toLowerCase();
    if (input_value != '') {
      table = document.getElementById("table-id");
      tr = table.getElementsByTagName("tr");

      // Loop through all table rows, and hide those who don't match the search query
      for (i = 1; i < tr.length; i++) {

        var flag = 0;

        for (j = 0; j < count; j++) {
          td = tr[i].getElementsByTagName("td")[j];
          if (td) {

            var td_text = td.innerHTML;
            if (td.innerHTML.toLowerCase().indexOf(filter) > -1) {
              //var td_text = td.innerHTML;  
              //td.innerHTML = 'shaban';
              flag = 1;
            } else {
              //DO NOTHING
            }
          }
        }
        if (flag == 1) {
          tr[i].style.display = "";
        } else {
          tr[i].style.display = "none";
        }
      }
    } else {
      //RESET TABLE
      $('#maxRows').trigger('change');
    }
  }
</script>
<script>
  getPagination('#table-id');
  $('#maxRows').trigger('change');

  function getPagination(table) {

    $('#maxRows').on('change', function() {
      $('.pagination').html(''); // reset pagination div
      var trnum = 0; // reset tr counter 
      var maxRows = parseInt($(this).val()); // get Max Rows from select option

      var totalRows = $(table + ' tbody tr').length; // numbers of rows 
      $(table + ' tr:gt(0)').each(function() { // each TR in  table and not the header
        trnum++; // Start Counter 
        if (trnum > maxRows) { // if tr number gt maxRows

          $(this).hide(); // fade it out 
        }
        if (trnum <= maxRows) {
          $(this).show();
        } // else fade in Important in case if it ..
      }); //  was fade out to fade it in 
      if (totalRows > maxRows) { // if tr total rows gt max rows option
        var pagenum = Math.ceil(totalRows / maxRows); // ceil total(rows/maxrows) to get ..  
        //	numbers of pages 
        for (var i = 1; i <= pagenum;) { // for each page append pagination li 
          $('.pagination').append('<li data-page="' + i + '">\
								      <span>' + i++ + '<span class="sr-only">(current)</span></span>\
								    </li>').show();
        } // end for i 


      } // end if row count > max rows
      $('.pagination li:first-child').addClass('active'); // add active class to the first li 


      //SHOWING ROWS NUMBER OUT OF TOTAL DEFAULT
      showig_rows_count(maxRows, 1, totalRows);
      //SHOWING ROWS NUMBER OUT OF TOTAL DEFAULT

      $('.pagination li').on('click', function(e) { // on click each page
        e.preventDefault();
        var pageNum = $(this).attr('data-page'); // get it's number
        var trIndex = 0; // reset tr counter
        $('.pagination li').removeClass('active'); // remove active class from all li 
        $(this).addClass('active'); // add active class to the clicked 


        //SHOWING ROWS NUMBER OUT OF TOTAL
        showig_rows_count(maxRows, pageNum, totalRows);
        //SHOWING ROWS NUMBER OUT OF TOTAL



        $(table + ' tr:gt(0)').each(function() { // each tr in table not the header
          trIndex++; // tr index counter 
          // if tr index gt maxRows*pageNum or lt maxRows*pageNum-maxRows fade if out
          if (trIndex > (maxRows * pageNum) || trIndex <= ((maxRows * pageNum) - maxRows)) {
            $(this).hide();
          } else {
            $(this).show();
          } //else fade in 
        }); // end of for each tr in table
      }); // end of on click pagination list
    });
    // end of on select change 

    // END OF PAGINATION 

  }




  // SI SETTING
  $(function() {
    // Just to append id number for each row  
    default_index();

  });

  //ROWS SHOWING FUNCTION
  function showig_rows_count(maxRows, pageNum, totalRows) {
    //Default rows showing
    var end_index = maxRows * pageNum;
    var start_index = ((maxRows * pageNum) - maxRows) + parseFloat(1);
    var string = 'Showing ' + start_index + ' to ' + end_index + ' of ' + totalRows + ' entries';
    $('.rows_count').html(string);
  }

  // CREATING INDEX
  // function default_index() {
  //   $('table tr:eq(0)').prepend('<th> ID </th>')

  //   var id = 0;

  //   $('table tr:gt(0)').each(function() {
  //     id++
  //     $(this).prepend('<td>' + id + '</td>');
  //   });
  // }

  // All Table search script
  function FilterkeyWord_all_table() {

    // Count td if you want to search on all table instead of specific column

    var count = $('.table').children('tbody').children('tr:first-child').children('td').length;

    // Declare variables
    var input, filter, table, tr, td, i;
    input = document.getElementById("search_input_all");
    var input_value = document.getElementById("search_input_all").value;
    filter = input.value.toLowerCase();
    if (input_value != '') {
      table = document.getElementById("table-id");
      tr = table.getElementsByTagName("tr");

      // Loop through all table rows, and hide those who don't match the search query
      for (i = 1; i < tr.length; i++) {

        var flag = 0;

        for (j = 0; j < count; j++) {
          td = tr[i].getElementsByTagName("td")[j];
          if (td) {

            var td_text = td.innerHTML;
            if (td.innerHTML.toLowerCase().indexOf(filter) > -1) {
              //var td_text = td.innerHTML;  
              //td.innerHTML = 'shaban';
              flag = 1;
            } else {
              //DO NOTHING
            }
          }
        }
        if (flag == 1) {
          tr[i].style.display = "";
        } else {
          tr[i].style.display = "none";
        }
      }
    } else {
      //RESET TABLE
      $('#maxRows').trigger('change');
    }
  }
</script>

Al-HUWAITI Shell