Source for file offline.php

Documentation is available at offline.php

  1. <?php
  2. /**
  3. * Site off-line page
  4. @package Mambo
  5. @author Mambo Foundation Inc see README.php
  6. @copyright Mambo Foundation Inc.
  7. *  See COPYRIGHT.php for copyright notices and details.
  8. @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see
  9. *  LICENSE.php
  10. *  Mambo is free software; you can redistribute it and/or
  11. *  modify it under the terms of the GNU General Public License
  12. *  as published by the Free Software Foundation; version 2 of the
  13. *  License.
  14. */
  15.  
  16. /** ensure this file is being included by a parent file */
  17. defined'_VALID_MOS' or die'Direct Access to this location is not allowed.' );
  18.  
  19. // needed to seperate the ISO number from the language file constant _ISO
  20. $iso split'='_ISO );
  21. // xml prolog
  22. echo '<?xml version="1.0" encoding="'$iso[1.'"?' .'>';
  23. ?>
  24. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  25. <html xmlns="http://www.w3.org/1999/xhtml">
  26. <head>
  27. <title><?php echo mamboCore::get('mosConfig_sitename')?> - <?php echo T_('Offline'?></title>
  28. <link rel="stylesheet" href="<?php echo mamboCore::get('mosConfig_live_site')?>/templates/offline.css" type="text/css" />
  29. <meta http-equiv="Content-Type" content="text/html; <?php echo _ISO?>" />
  30. </head>
  31. <body>
  32.  
  33. <p>&nbsp;</p>
  34. <table align="center" class="outline">
  35. <tr>
  36.     <td width="60%" height="50" align="center">
  37.     </td>
  38. </tr>
  39. <?php
  40. if mamboCore::get('mosConfig_offline'== {
  41.     ?>
  42.     <tr> 
  43.         <td width="39%" class="offmess">
  44.         <h2>
  45.         <?php echo mamboCore::get('mosConfig_offline_message')?>
  46.         </h2>
  47.         </td>
  48.     </tr>
  49.     <?php
  50. else if (@$mosSystemError{
  51.     ?>
  52.     <tr> 
  53.         <td width="39%" class="offmess">
  54.         <h2>
  55.         <?php echo mamboCore::get('mosConfig_error_message')?>
  56.         </h2>
  57.         <?php echo $mosSystemError?>
  58.         </td>
  59.     </tr>
  60.     <?php
  61. else {
  62.     ?>
  63.     <tr> 
  64.         <td width="39%" align="center">
  65.         <h2>
  66.         <?php echo T_('For your security please completely remove the installation directory including all files and sub-folders  - then refresh this page')?>
  67.         </h2>
  68.         <h3>
  69.         <?php echo T_('For support, the official forum can be found at:'"<a href=\"http://www.mambolearn.com/forum/\"> http://www.mambolearn.com/forum/</a>"?> 
  70.         </h3>
  71.         </td>
  72.     </tr>
  73.     <?php
  74. }
  75. ?>
  76. </table>
  77.  
  78. </body>
  79. </html>

Documentation generated on Mon, 05 May 2008 16:21:41 +0400 by phpDocumentor 1.4.0