| [ Index ] |
PHP Cross Reference of e107 v1 |
[Summary view] [Print] [Text view]
1 <?php 2 /* 3 + ----------------------------------------------------------------------------+ 4 | e107 website system 5 | 6 | ©Steve Dunstan 2001-2002 7 | Copyright (C) 2008-2010 e107 Inc (e107.org) 8 | 9 | 10 | Released under the terms and conditions of the 11 | GNU General Public License (http://gnu.org). 12 | 13 | $URL: https://e107.svn.sourceforge.net/svnroot/e107/trunk/e107_0.7/sitedown.php $ 14 | $Revision: 12260 $ 15 | $Id: sitedown.php 12260 2011-06-14 02:44:35Z e107coders $ 16 | $Author: e107coders $ 17 +----------------------------------------------------------------------------+ 18 */ 19 require_once ('class2.php'); 20 21 if (!varset($pref['maintainance_flag']) && !getperms('0')) // Allow main admin to test and view template before going offline. 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);
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Mon Mar 12 16:28:38 2012 | Cross Reference PHPXref |