Elxis CMS project index

title

Body

[close]

/ -> offline.php (source)

   1  <?php 
   2  /** 
   3  * @ Version: $Id: offline.php 1878 2008-01-25 21:26:29Z datahell $
   4  * @ Copyright: Copyright (C) 2006-2008 Elxis.org. All rights reserved.
   5  * @ Package: Elxis
   6  * @ Subpackage: Offline Page
   7  * @ Author: Elxis Team
   8  * @ E-mail: info@elxis.org
   9  * @ URL: http://www.elxis.org
  10  * @ License: http://www.gnu.org/copyleft/gpl.html GNU/GPL
  11  * Elxis CMS is a Free Software
  12  */
  13  
  14  defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
  15  
  16  
  17  if (!defined('_LANGUAGE')) {
  18      require_once($mosConfig_absolute_path.'/language/'.$mosConfig_lang.'/'.$mosConfig_lang.'.php');
  19  }
  20  if (!defined('_GEM_RTL')) {
  21      require_once($mosConfig_absolute_path.'/language/'.$mosConfig_lang.'/'.$mosConfig_lang.'.gemini.php');
  22  }
  23  
  24  $cur_template = 'okto';
  25  $iso = split( '=', _ISO );
  26  
  27  $rtl = '';
  28  $tempcss = 'template_css.css';
  29  if (_GEM_RTL) {
  30      $rtl = ' dir="rtl"';
  31      if (file_exists($mosConfig_absolute_path.'/templates/'.$cur_template.'/css/template_css-rtl.css')) {
  32          $tempcss = 'template_css-rtl.css';
  33      }
  34  }
  35  
  36  echo '<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>';
  37  global $mosConfig_live_site;
  38  ?>
  39  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  40  <html xmlns="http://www.w3.org/1999/xhtml" lang="<?php echo _LANGUAGE; ?>" xml:lang="<?php echo _LANGUAGE; ?>"<?php echo $rtl; ?>>
  41  <head>
  42  <title><?php echo $mosConfig_sitename; ?> - Offline</title>
  43  <meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
  44  <meta name="Generator" content="Elxis CMS - (C) Copyright 2006-<?php echo date('Y'); ?> Elxis.org.  All rights reserved." />
  45  <link rel="stylesheet" href="<?php echo $mosConfig_live_site; ?>/includes/standard<?php echo (_GEM_RTL) ? '-rtl' : ''; ?>.css" type="text/css" media="all" />
  46  <link rel="stylesheet" href="<?php echo $mosConfig_live_site; ?>/templates/<?php echo $cur_template;?>/css/<?php echo $tempcss; ?>" type="text/css" />
  47  <link rel="shortcut icon" href="<?php echo $mosConfig_live_site; ?>/images/favicon.ico" />
  48  </head>
  49  <body>
  50  <div align="center"<?php echo $rtl; ?> style="margin-top: 40px;">
  51      <img src="<?php echo $mosConfig_live_site; ?>/images/logo.png" name="Elxis CMS" alt="Elxis CMS" title="Elxis CMS" border="0" />
  52      <br />
  53      <h1><?php echo $mosConfig_sitename; ?></h1>
  54      <div<?php echo $rtl; ?>>
  55  <?php
  56      if ( $mosConfig_offline == 1 ) {
  57  ?>
  58          <strong><?php echo $mosConfig_offline_message; ?></strong>
  59  <?php
  60  } else if (@$mosSystemError) {
  61  ?>
  62          <strong><?php echo $mosConfig_error_message; ?></strong><br />
  63          <?php echo $mosSystemError; ?>
  64  <?php 
  65  } else {
  66  ?>
  67          <strong><?php echo _INSTALL_WARN; ?></strong>
  68      <?php
  69  }
  70  ?>
  71      <br /><br /><br /><br />
  72      <span class="small"<?php echo $rtl; ?>>Powered by <a href="http://www.elxis.org" title="Elxis CMS">Elxis CMS</a><br />
  73      Copyright &copy; 2006-<?php echo date('Y'); ?> <a href="http://www.elxis.org" target="_blank" title="Elxis Team">Elxis Team</a>. 
  74      All rights reserved.</span>
  75      </div>
  76  </div>
  77  </body>
  78  </html>



Generated: Thu Jul 10 22:26:15 2008 Elxis 2008.0. Copyright © 2006-2008 Elxis.org. Generated by PHPXref