Annotation of /mambo/branches/4.5.3h/offline.php
Parent Directory
|
Revision Log
Revision 22 - (view) (download)
| 1 : | root | 1 | <?php |
| 2 : | /** | ||
| 3 : | * @version $Id: offline.php,v 1.1 2005/07/22 01:57:42 eddieajau Exp $ | ||
| 4 : | * @package Mambo | ||
| 5 : | * @copyright (C) 2000 - 2005 Miro International Pty Ltd | ||
| 6 : | * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL | ||
| 7 : | * Mambo is Free Software | ||
| 8 : | */ | ||
| 9 : | |||
| 10 : | /** ensure this file is being included by a parent file */ | ||
| 11 : | defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' ); | ||
| 12 : | |||
| 13 : | @include_once ('language/'.$mosConfig_lang.'.php'); | ||
| 14 : | |||
| 15 : | $cur_template = 'rhuk_solarflare'; | ||
| 16 : | |||
| 17 : | // needed to seperate the ISO number from the language file constant _ISO | ||
| 18 : | $iso = split( '=', _ISO ); | ||
| 19 : | // xml prolog | ||
| 20 : | echo '<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>'; | ||
| 21 : | global $mosConfig_live_site; | ||
| 22 : | ?> | ||
| 23 : | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||
| 24 : | <html xmlns="http://www.w3.org/1999/xhtml"> | ||
| 25 : | <head> | ||
| 26 : | <title><?php echo $mosConfig_sitename; ?> - Offline</title> | ||
| 27 : | <link rel="stylesheet" href="<?php echo $mosConfig_live_site; ?>/templates/<?php echo $cur_template;?>/css/template_css.css" type="text/css" /> | ||
| 28 : | <meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" /> | ||
| 29 : | </head> | ||
| 30 : | <body> | ||
| 31 : | |||
| 32 : | <p> </p> | ||
| 33 : | <table width="550" align="center" style="background-color: #ffffff; border: 1px solid"> | ||
| 34 : | <tr> | ||
| 35 : | <td width="60%" height="50" align="center"> | ||
| 36 : | <img src="<?php echo $mosConfig_live_site; ?>/images/logo.png" alt="Mambo Logo" align="middle" /> | ||
| 37 : | </td> | ||
| 38 : | </tr> | ||
| 39 : | <tr> | ||
| 40 : | <td align="center"> | ||
| 41 : | <h1> | ||
| 42 : | <?php echo $mosConfig_sitename; ?> | ||
| 43 : | </h1> | ||
| 44 : | </td> | ||
| 45 : | </tr> | ||
| 46 : | <?php | ||
| 47 : | if ( $mosConfig_offline == 1 ) { | ||
| 48 : | ?> | ||
| 49 : | <tr> | ||
| 50 : | <td width="39%" align="center"> | ||
| 51 : | <h2> | ||
| 52 : | <?php echo $mosConfig_offline_message; ?> | ||
| 53 : | </h2> | ||
| 54 : | </td> | ||
| 55 : | </tr> | ||
| 56 : | <?php | ||
| 57 : | } else if (@$mosSystemError) { | ||
| 58 : | ?> | ||
| 59 : | <tr> | ||
| 60 : | <td width="39%" align="center"> | ||
| 61 : | <h2> | ||
| 62 : | <?php echo $mosConfig_error_message; ?> | ||
| 63 : | </h2> | ||
| 64 : | <?php echo $mosSystemError; ?> | ||
| 65 : | </td> | ||
| 66 : | </tr> | ||
| 67 : | <?php | ||
| 68 : | } else { | ||
| 69 : | ?> | ||
| 70 : | <tr> | ||
| 71 : | <td width="39%" align="center"> | ||
| 72 : | <h2> | ||
| 73 : | <?php echo _INSTALL_WARN; ?> | ||
| 74 : | </h2> | ||
| 75 : | </td> | ||
| 76 : | </tr> | ||
| 77 : | <?php | ||
| 78 : | } | ||
| 79 : | ?> | ||
| 80 : | </table> | ||
| 81 : | |||
| 82 : | </body> | ||
| 83 : | </html> |
| ViewVC Help | |
| Powered by ViewVC 1.0.0 |
Web Hosting provided by Network Redux.

