Mambo PHP Cross Reference Web Portal Systems

Source: /offline.php - 86 lines - 2405 bytes - Text - Print

Description: Site off-line page

   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  <meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
  29  </head>
  30  <body>
  31  
  32  <p>&nbsp;</p>
  33  <table width="550" align="center" style="background-color: #ffffff; border: 1px solid">
  34  <tr>
  35      <td width="60%" height="50" align="center">
  36      <img src="<?php echo mamboCore::get('mosConfig_live_site'); ?>/images/logo.png" alt="<?php echo T_('Mambo Logo') ?>" align="middle" />
  37      </td>
  38  </tr>
  39  <tr> 
  40      <td align="center">
  41      <h1>
  42      <?php echo mamboCore::get('mosConfig_sitename'); ?>
  43      </h1>
  44      </td>
  45  </tr>
  46  <?php
  47  if ( mamboCore::get('mosConfig_offline') == 1 ) {
  48      ?>
  49      <tr> 
  50          <td width="39%" align="center">
  51          <h2>
  52          <?php echo mamboCore::get('mosConfig_offline_message'); ?>
  53          </h2>
  54          </td>
  55      </tr>
  56      <?php
  57  } else if (@$mosSystemError) {
  58      ?>
  59      <tr> 
  60          <td width="39%" align="center">
  61          <h2>
  62          <?php echo mamboCore::get('mosConfig_error_message'); ?>
  63          </h2>
  64          <?php echo $mosSystemError; ?>
  65          </td>
  66      </tr>
  67      <?php
  68  } else {
  69      ?>
  70      <tr> 
  71          <td width="39%" align="center">
  72          <h2>
  73          <?php echo T_('For your security please completely remove the installation directory including all files and sub-folders  - then refresh this page'); ?>
  74          </h2>
  75          <h3>
  76          <?php echo T_('For support, the official forum can be found at:') . "<a href=\"http://forum.mambo-foundation.org\"> http://forum.mambo-foundation.org</a>"; ?> 
  77          </h3>
  78          </td>
  79      </tr>
  80      <?php
  81  }
  82  ?>
  83  </table>
  84  
  85  </body>
  86  </html>

title

Description

title

Description

title

Description

title

title

Body