[ Index ]

PHP Cross Reference of E107 v0.7.22 code documentation

title

Body

[close]

/ -> sitedown.php (source)

   1  <?php
   2  /*
   3  + ----------------------------------------------------------------------------+
   4  |     e107 website system
   5  |
   6  |     ©Steve Dunstan 2001-2002
   7  |     http://e107.org
   8  |     jalist@e107.org
   9  |
  10  |     Released under the terms and conditions of the
  11  |     GNU General Public License (http://gnu.org).
  12  |
  13  |     $Source: /cvs_backup/e107_0.7/sitedown.php,v $
  14  |     $Revision: 11346 $
  15  |     $Date: 2010-02-17 13:56:14 -0500 (Wed, 17 Feb 2010) $
  16  |     $Author: secretr $
  17  +----------------------------------------------------------------------------+
  18  */
  19  require_once ('class2.php');
  20  
  21  if (!varset($pref['maintainance_flag']))
  22  {
  23      header('location: '.SITEURL);
  24      exit();
  25  }
  26  
  27  header('Content-type: text/html; charset='.CHARSET);
  28  
  29  include_lan(e_LANGUAGEDIR.e_LANGUAGE.'/lan_'.e_PAGE);
  30  
  31  require_once(e_FILE.'shortcode/batch/sitedown_shortcodes.php');
  32  
  33  if (!$SITEDOWN_TABLE)
  34  {
  35      if (file_exists(THEME.'sitedown_template.php'))
  36      {
  37          require_once(THEME.'sitedown_template.php');
  38      }
  39      else
  40      {
  41          require_once(e_THEME.'templates/sitedown_template.php');
  42      }
  43  }
  44  
  45  echo $tp->parseTemplate($SITEDOWN_TABLE, TRUE, $sitedown_shortcodes);


Generated: Tue Aug 3 00:19:13 2010
Open Source related documentation for developers.