[ Index ]
 

Code source de e107 0.7.8

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/ -> 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: /cvsroot/e107/e107_0.7/sitedown.php,v $
  14  |     $Revision: 1.9 $
  15  |     $Date: 2006/06/30 04:16:39 $
  16  |     $Author: e107coders $
  17  +----------------------------------------------------------------------------+
  18  */
  19  require_once ("class2.php");
  20  
  21  global $pref;
  22  global $tp;
  23  
  24  e107_include_once(e_LANGUAGEDIR.e_LANGUAGE."/lan_sitedown.php");
  25  e107_include_once(e_LANGUAGEDIR."English/lan_sitedown.php");
  26  
  27  if (!$pref['maintainance_flag'] )
  28  {
  29      header("location: ".SITEURL);
  30  }
  31  
  32  require_once(e_FILE."shortcode/batch/sitedown_shortcodes.php");
  33  
  34  if (!$SITEDOWN_TABLE) {
  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);
  46  
  47  ?>


Généré le : Sun Apr 1 01:23:32 2007 par Balluche grâce à PHPXref 0.7