A tumblelog CMS built on AJAX, PHP and MySQL.

close.php 2.3KB

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