A tumblelog CMS built on AJAX, PHP and MySQL.

close.php 2.2KB

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