<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Login admin</title>
<link rel="stylesheet" type="text/css" href="../styles/main.css" />
<link rel="stylesheet" type="text/css" href="../styles/main1.css" />
<script type="text/javascript" src="../l10n/<?php echo __LANG;?>/lang.js?v=<?php echo __POSHVERSION;?>" ></script>  
<script type="text/javascript" src="../includes/config.js?v=<?php echo __rand;?>" ></script>
<script type="text/javascript" src="../tools/mootools.js?v=1.2.1"></script>
<script type="text/javascript" src="../includes/ajax<?php if (!__debugmode) echo '_compressed';?>.js?v=<?php echo __POSHVERSION;?>" ></script>
<script type="text/javascript" src="../includes/admin.js" ></script>
<script type="text/javascript" src="../includes/php/admin-urls.js?v=<?php echo __POSHVERSION;?>"></script>
<?php
	launch_hook('admininterface_header',$pagename);
?>
<style>
#loginbox {
	border: 0px;
	margin: 0px;
	font-size: 0.7em;
	width:500px;
	background-color: #fff;
	padding-bottom: 10px;
}
body {
	background: #efefef;
}
/* CSS taken from http://www.webreference.com/programming/css_borders/2.html */
.raised {
	width:506px;
}
.raised .b2 {
	background:#fff; 
}
.raised .b3 {
	background:#fff; 
}
.raised .b4 {
	background:#fff; 
}
.raised .b4b {
	background:#fff;
}
.raised .b3b {
	background:#fff;
}
.raised .b2b {
	background:#fff; 
}
.raised .b1 {
	background:#efefef;
}
.raised .boxcontent {
	background:#fff; 
	width:504px;
    
}
</style>
</head>
<body>
<div id="cache" style="position:absolute;left:0;top:0;z-index:8;display:none;"></div>

<div class="noportal">

<div width="100%">
	<div align="center" style="padding-top:150px">
		<div class="raised">
			<b class="b1"></b><b class="b2"></b><b class="b3"></b><b class="b4"></b>
			<div class="boxcontent">
				<div id="loginbox">
                
					<div align="left" id="header" bgcolor="#ffffff">
						<div id="logo" style="float: left;">
							<a href="../portal/index.php">
							<img src="../images/s.gif" width="140" height="60" />
							</a>
						</div>
					</div>
                    <div id="loginscreen" style="padding-top: 10px">
					 
						<div style="float: left;width: 150px;">
							<h2><?php echo lg("connection");?> ></h2>
                            <div id="msg_conn">&nbsp;</div>
                            <div id="passhlp">&nbsp;</div>
                        </div>
                       
						<div id="displayPart">
							<form method="post" action="" onsubmit="return $p.admin.login(this,false)">
							<label><b><?php echo (__accountType=="mail"?lg("email"):lg("login"));?></b></label><br />
							<input type="text" name="username" maxlength="64" style="width: 280px;" class="thinbox" /><br /><br />
							<label><b><?php echo lg("password");?></b></label><br />
							<input type="password" name="password" maxlength="16" style="width: 280px;" class="thinbox" /><br /><br />
							<input type="hidden" name="extid" maxlength="16" value="<?php echo $extid; ?>" class="thinbox" />
							<input type="checkbox" name="autoconn" /> <?php echo lg("automaticConnection");?><br /><br />
							<input type="submit" class="btn" value="<?php echo lg("connection");?>" />
							</form>
						</div>
                    </div>
				</div>
			</div>
			<b class="b4b"></b><b class="b3b"></b><b class="b2b"></b><b class="b1b"></b>
		</div>
	</div>
</div>

</div>
<div style="display:none"><disconnected>1</disconnected></div>
<div id="debug"></div>
</body>
</html>