loggedout-dist.php 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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. <!--[if !IE 6]><!-->
  23. <link rel="stylesheet" type="text/css" href="<?php echo $www ?>custompages/style.css" />
  24. <!--<![endif]-->
  25. <!--[if IE 6]>
  26. <link rel="stylesheet" type="text/css" href="/custompages/style-ie6.css" />
  27. <![endif]-->
  28. <script type="text/javascript" src="<?php echo $www ?>web/assets/jquery/jquery.min.js"></script>
  29. <script type="text/javascript">
  30. $(document).ready(function() {
  31. if (top.location != location)
  32. top.location.href = document.location.href ;
  33. });
  34. </script>
  35. </head>
  36. <body>
  37. <div id="backgroundimage">
  38. <img src="<?php echo $www ?>/custompages/images/page-background.png" class="backgroundimage" alt="background"/>
  39. </div>
  40. <div id="wrapper">
  41. <div id="header">
  42. <img src="<?php echo $www ?>/custompages/images/header.png" alt="Logo" />
  43. </div>
  44. <div id="login-form-box" class="form-box">
  45. <div id="login-form-info" class="form-info">
  46. You have been logged out.
  47. </div>
  48. </div>
  49. <a href="<?php echo $www.'user_portal.php'; ?>">Go to your portal</a>
  50. <div id="footer">
  51. <img src="<?php echo $www ?>/custompages/images/footer.png" alt="footer"/>
  52. </div>
  53. </div>
  54. </body>
  55. </html>