<!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>Modoer Administrator's Control Panel</title>
<meta http-equiv="Content-Type" content="text/html; charset=<?=$charset?>">
<link href="./images/admin/login.css" rel="stylesheet" type="text/css" />
</head>
<script language="JavaScript">
var siteurl = "<?=$_config['siteurl']?>";
if(self.parent.frames.length != 0) {
	self.parent.location=document.location;
}
function redirect(url) {
	window.location.replace(url);
}
</script>
<script type="text/javascript" src="./include/javascript/common.js"></script>
<br /><br /><br /><br />
<table width="600" border="0" cellpadding="8" cellspacing="0" class="login_table">
<? if($msgtype == 'message') {?>
<tr><td colspan="2" height="50"></td></tr>
<tr><td>&nbsp;</td><td align="center" colspan="3" ><?=$message?><?php if($url_forward){?><br /><br /><a href="<?$url_forward?>">本页面2秒后自动跳转，如没有跳转，请点击这里。</a><script>setTimeout("redirect('<?=$url_forward?>');", 1250);</script><br /><br /><br /></td><td>&nbsp;</td></tr><?} else {?><br /><br /><br /><?}} else {?>
<form method="post" action="<?=$extra?>" name="login">
<?if(!$admin->isLogin){?><input type="hidden" name="adminlogin" value="1" /><?}?>
<input type="hidden" name="url_forward" value="<?=$url_forward?>">
<tr><td colspan="2" class="table_title">Modoer 系统设置</td></tr>
<tr><td colspan="2" height="50"></td></tr>
<tr><td width="250" align="right">登录名</td><td width="350"><?if($admin->isLogin){?><?=$admin->adminname?>&nbsp;&nbsp;[&nbsp;<a href="admincp.php?action=logout">退出</a>&nbsp;]<?}else{?><input type="text" name="admin_name" style="width:150px;" /><?}?></td></tr>
<tr><td align="right">密&nbsp;&nbsp;&nbsp;码</td><td><input type="password" name="admin_password" style="width:150px;" /></td></tr>
<?if($_seccode['adminlogin']){?>
<tr><td align="right">验证码</td><td><div id="seccode"></div><input type="text" name="seccode" onfocus="show_seccode();" style="width:150px;" /></td></tr>
<?}?>
<tr><td></td><td><input type="submit" class="button" value=" 登 录 " /></form><script language="JavaScript">document.login.admin_name.focus();</script></td></tr>
<tr><td colspan="2" align="center">Powered by <a href="http://www.modoer.com/" target="_blank"><b>Modoer</b></a>&nbsp;&copy;&nbsp;2007-2008&nbsp;<a href="http://www.modoer.com/" target="_blank">Moufer Studio</a></td></tr>
</form>
<? } ?>
</table>
</html>