<?php
// $Id: offline.php,v 1.18 2003/12/24 10:39:21 rcastley Exp $
/**
* Site Offline code
* @package Mambo Open Source
* @Copyright (C) 2000 - 2003 Miro International Pty Ltd
* @ All rights reserved
* @ Mambo Open Source is Free Software
* @ Released under GNU/GPL License : http://www.gnu.org/copyleft/gpl.html
* @version $Revision: 1.18 $
**/

defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );

@include_once ('language/'.$mosConfig_lang.'.php');

// change this value to the desired template for the css style
$cur_template = 'peeklime';

$install_warning = "For your security please remove the  directory installation and all files inside - then refresh this page"; 
?>
<?php echo "<?xml version=\"1.0\" encoding=\"iso-8859-1\"?".">"; ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><?php echo $mosConfig_sitename; ?> -> Offline</title>
<link rel="stylesheet" href="templates/<?php echo $cur_template;?>/css/template_css.css" type="text/css" />
<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
</head>
<body style="background-color: #ffffff">
<br />
<table width="550" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td width="10" height="10"><img src="images/M_images/top_left_corner.png" width="10" height="10" /></td>
    <td background="images/M_images/top_line.png"></td>
    <td width="10" height="10"><img src="images/M_images/top_right_corner.png" width="10" height="10" /></td>
  </tr>
  <tr> 
    <td background="images/M_images/left_line.png"></td>
    <td> <table width="450" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr> 
          <td><table border="0" width="100%" align="center">
              <tr> 
                <td width="60%" height="50" align="center"><img src="images/stories/mos_logo.png" alt="MOS Logo" align="center" /></td>
              </tr>
              <tr> 
                <td align="center"><h1><?php echo $mosConfig_sitename; ?></h1></td>
              </tr>
              <?php
				if ($mosConfig_offline == 1) {
					?>
              <tr> 
                <td width="39%" align="center"><h2><?php echo $mosConfig_offline_message; ?></h2></td>
              </tr>
              <?php
				} else if (@$mosSystemError) {
					?>
              <tr> 
                <td width="39%" align="center"><h2><?php echo $mosConfig_error_message; ?></h2></td>
              </tr>
              <?php
				} else {
					?>
              <tr> 
                <td width="39%" align="center"><h2><?php echo $install_warning; ?></h2></td>
              </tr>
              <?php
				}
				?>
            </table></td>
        </tr>
      </table></td>
    <td background="images/M_images/right_line.png"></td>
  </tr>
  <tr> 
    <td width="10" height="10" background="images/M_images/bottom_left_corner.png"></td>
    <td background="images/M_images/bottom_line.png"></td>
    <td width="10" height="10" background="images/M_images/bottom_right_corner.png"></td>
  </tr>
</table>
</body>
</html>