A tumblelog CMS built on AJAX, PHP and MySQL.

close.php 2.1KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. <?php
  2. if (!defined('entry')) {
  3. define('entry', true);
  4. }
  5. /* ===========================
  6. Sorbet CMS - A PHP based tumblelog CMS forked from Gelato CMS
  7. Sorbet CMS is a free software licensed under the GPL 3.0
  8. =========================== */
  9. ?>
  10. <?php
  11. require '../entry.php';
  12. global $user;
  13. $closed = $user->closeSession();
  14. ?>
  15. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  16. <html xmlns="http://www.w3.org/1999/xhtml">
  17. <head>
  18. <title>sorbet :: <?php echo __("logout")?></title>
  19. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  20. <meta name="generator" content="sorbet cms <?php echo util::version();?>" />
  21. <meta http-equiv="Refresh" content="3;URL=../login.php" />
  22. <link rel="shortcut icon" href="<?php echo $conf->urlSorbet;?>/images/favicon.ico" />
  23. <style type="text/css" media="screen">
  24. @import "<?php echo $conf->urlSorbet;?>/admin/css/style.css";
  25. </style>
  26. </head>
  27. <body>
  28. <div id="cont">
  29. <div id="head">
  30. <h1><a href="<?php echo $conf->urlSorbet;?>/" title="sorbet :: <?php echo __("home")?>">sorbet cms</a></h1>
  31. <ul id="nav">
  32. <li><a href="<?php echo $conf->urlSorbet;?>/" title="<?php echo __("Take me to the tumblelog")?>"><?php echo __("Back to the Tumblelog")?></a></li>
  33. </ul>
  34. </div>
  35. <div id="main">
  36. <div class="box">
  37. <ul class="menu manage">
  38. <h3><?php echo __("Closing session")?></h3>
  39. <li class="selected"><a><?php echo __("logoff")?></a></li>
  40. </ul>
  41. <div class="tabla">
  42. <p>
  43. <?php
  44. if ($closed) {
  45. ?>
  46. <h2><?php echo __("Ending session&hellip;")?></h2>
  47. <?php
  48. } else {
  49. ?>
  50. <h2><?php echo __("Has happened an error when closing the session.")?></h2>
  51. <?php
  52. }
  53. ?>
  54. </p>
  55. </div>
  56. <div class="footer-box">&nbsp;</div>
  57. </div>
  58. </div>
  59. <div id="foot">
  60. Sorbet CMS :: PHP Tumblelog Content Management System.
  61. </div>
  62. </div>
  63. </body>
  64. </html>