<?php
/*---------------------------------------------------+
| PHP-Fusion 6 Content Management System
+----------------------------------------------------+
| Copyright © 2002 - 2006 Nick Jones
| http://www.php-fusion.co.uk/
+----------------------------------------------------+
| Released under the terms & conditions of v2 of the
| GNU General Public License. For details refer to
| the included gpl.txt file or visit http://gnu.org
+----------------------------------------------------+
| Modified by PHP-Fusion SF Group
| Copyright © 2007 by SF
| http://www.rus-phpfusion.com/
+----------------------------------------------------*/
require_once "maincore.php";
include THEME."theme.php";

echo "<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN'>
<html>
<head>
<title>".$settings['sitename']."</title>
<meta http-equiv='Content-Type' content='text/html; charset=".$locale['charset']."'>
<meta name='description' content='".$settings['description']."'>
<meta name='keywords' content='".$settings['keywords']."'>
<link rel='stylesheet' href='".THEME."styles.css' type='text/css'>
</head>
<body class='tbl2'>

<table width='100%' height='100%'>
<tr>
<td>

<table align='center' cellpadding='0' cellspacing='1' width='80%' class='tbl-border'>
<tr>
<td class='tbl1'>
<center><br>
<img src='".BASEDIR.$settings['sitebanner']."' alt='".$settings['sitename']."'><br><br>
".stripslashes(nl2br($settings['maintenance_message']))."<br><br>";
$date = date('Y');
$link_class = "";
$res = base64_decode ("UG93ZXJlZCBieSA8bm9pbmRleD48YSBocmVmPSdodHRwOi8vd3d3LnBocC1mdXNpb24uY28udWsndGFyZ2V0PSdfYmxhbmsnPlBIUC1GdXNpb248L2E+PC9ub2luZGV4Pjxicj4KTW9kaWZpZWQgYnkgPGEgaHJlZj0naHR0cDovL3d3dy5ydXMtcGhwZnVzaW9uLmNvbSd0YXJnZXQ9J19ibGFuayc+UEhQLUZ1c2lvbjwvYT4mbmJzcDs8YSBocmVmPSdodHRwOi8vc2Z1c2lvbi5ydSd0YXJnZXQ9J19ibGFuayc+U0YgR3JvdXA8L2E+ICZjb3B5OyAyMDA3IC0g");
$res .= $date."<br>\n";
$res .= "version ".$settings['version']."<br>\n";
echo $res;
echo "<br><br>
</center>
</td>
</tr>
</table>\n";

if (!iMEMBER) {
	echo "<div align='center'><br>
<form name='loginform' method='post' action='".FUSION_SELF."'>
".$locale['061'].": <input type='text' name='user_name' class='textbox' style='width:100px'>
".$locale['062'].": <input type='password' name='user_pass' class='textbox' style='width:100px'>
<input type='checkbox' name='remember_me' value='y' title='".$locale['063']."'>
<input type='submit' name='login' value='".$locale['064']."' class='button'>
</form>
</div>\n";
}

echo "</td>
</tr>
</table>\n";

echo "</body>
</html>\n";
mysql_close();
ob_end_flush();
?>