Nav apraksta

123456789101112131415161718192021222324252627282930313233343536373839
  1. <?php
  2. require_once 'processes/config.php';
  3. require_once 'processes/dbh.inc.php';
  4. include_once 'header.php';
  5. ?>
  6. <!-- START OF home.php -->
  7. <body style="min-height: 100vh; display: flex; align-items: center;">
  8. <div class='container text-center'>
  9. <h1>Error</h1>
  10. <h4>That's odd, something went wrong!</h4>
  11. <p style='color: red;'>Redirecting you back to login page<span id="dots">...</span></p>
  12. </div>
  13. <script>
  14. var numDots = 3;
  15. var dots = document.getElementById('dots');
  16. setInterval(function() {
  17. if(dots.innerText === "...") {
  18. dots.innerText = ".";
  19. } else if(dots.innerText === ".") {
  20. dots.innerText = "..";
  21. } else if(dots.innerText === "..") {
  22. dots.innerText = "...";
  23. }
  24. }, 500);
  25. </script>
  26. </body>
  27. <!-- END OF home.php -->
  28. </html>
  29. <?php
  30. header('Refresh: 3; https://tania.uprrp.edu/admin_nuevo/processes/logout.php');
  31. ob_end_flush();
  32. ?>