loggedout.php 1.9 KB

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