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