loggedout-dist.php 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <?php
  2. /* For licensing terms, see /license.txt */
  3. /**
  4. * Displayed after the user has been logged out.
  5. *
  6. * @package chamilo.custompages
  7. */
  8. $called_direcly = !function_exists('api_get_path');
  9. if ($called_direcly) {
  10. return '';
  11. }
  12. require_once __DIR__.'/language.php';
  13. $www = api_get_path('WEB_PATH');
  14. /**
  15. * HTML output.
  16. */
  17. ?>
  18. <!DOCTYPE html>
  19. <html>
  20. <head>
  21. <title>Custompage - logged out</title>
  22. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  23. <script type="text/javascript" src="<?php echo $www; ?>web/assets/jquery/dist/jquery.min.js"></script>
  24. <script type="text/javascript">
  25. $(document).ready(function() {
  26. if (top.location != location)
  27. top.location.href = document.location.href ;
  28. });
  29. </script>
  30. </head>
  31. <body>
  32. <div id="backgroundimage">
  33. <img src="<?php echo $www; ?>/custompages/images/page-background.png" class="backgroundimage" alt="background"/>
  34. </div>
  35. <div id="wrapper">
  36. <div id="header">
  37. <img src="<?php echo $www; ?>/custompages/images/header.png" alt="Logo" />
  38. </div>
  39. <div id="login-form-box" class="form-box">
  40. <div id="login-form-info" class="form-info">
  41. You have been logged out.
  42. </div>
  43. </div>
  44. <a href="<?php echo $www.'user_portal.php'; ?>">Go to your portal</a>
  45. <div id="footer">
  46. <img src="<?php echo $www; ?>/custompages/images/footer.png" alt="footer"/>
  47. </div>
  48. </div>
  49. </body>
  50. </html>