[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * @version $Id: offlinebar.php 451 2005-10-11 04:58:12Z stingrey $ 4 * @package Joomla 5 * @copyright Copyright (C) 2005 Open Source Matters. All rights reserved. 6 * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php 7 * Joomla! is free software. This version may have been modified pursuant 8 * to the GNU General Public License, and as distributed it includes or 9 * is derivative of works licensed under the GNU General Public License or 10 * other free or open source software licenses. 11 * See COPYRIGHT.php for copyright notices and details. 12 */ 13 14 /** ensure this file is being included by a parent file */ 15 defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' ); 16 17 require_once ( 'includes/joomla.php' ); 18 @include_once ('language/'.$mosConfig_lang.'.php'); 19 20 global $option, $database; 21 global $mosConfig_live_site; 22 23 // gets template for page 24 $cur_template = @$mainframe->getTemplate(); 25 if ( !$cur_template ) { 26 $cur_template = 'rhuk_solarflare_ii'; 27 } 28 29 // HTML Output 30 31 // needed to seperate the ISO number from the language file constant _ISO 32 $iso = split( '=', _ISO ); 33 // xml prolog 34 echo '<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>'; 35 ?> 36 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 37 <html xmlns="http://www.w3.org/1999/xhtml"> 38 <head> 39 <style> 40 table.moswarning { 41 font-size: 200%; 42 background-color: #c00; 43 color: #fff; 44 border-bottom: 2px solid #600 45 } 46 47 table.moswarning h2 { 48 padding: 0; 49 margin: 0; 50 text-align: center; 51 font-family: Arial, Helvetica, sans-serif; 52 } 53 54 </style> 55 <meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" /> 56 <title><?php echo $mosConfig_sitename; ?> - Offline</title> 57 <link rel="stylesheet" href="<?php echo $mosConfig_live_site; ?>/templates/<?php echo $cur_template;?>/css/template_css.css" type="text/css" /> 58 </head> 59 <body style="margin: 0px; padding: 0px;"> 60 61 <table width="100%" align="center" class="moswarning"> 62 <?php 63 if ( $mosConfig_offline == 1 ) { 64 ?> 65 <tr> 66 <td> 67 <h2> 68 <?php 69 echo $mosConfig_sitename; 70 echo ' - '; 71 echo $mosConfig_offline_message; 72 ?> 73 </h2> 74 </td> 75 </tr> 76 <?php 77 } else if ( @$mosSystemError ){ 78 ?> 79 <tr> 80 <td> 81 <h2> 82 <?php echo $mosConfig_error_message; ?> 83 </h2> 84 <?php echo $mosSystemError; ?> 85 </td> 86 </tr> 87 <?php 88 } else { 89 ?> 90 <tr> 91 <td> 92 <h2> 93 <?php echo 'INSTALL_WARN'; ?> 94 </h2> 95 </td> 96 </tr> 97 <?php 98 } 99 ?> 100 </table> 101 102 </body> 103 </html>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body