loggedout-dist.php 1.9 KB

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