<!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>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title><?php echo $cfg_softname." ".$cfg_version; ?></title>

<link rel="stylesheet" href="css/reset.css" type="text/css" media="screen" />
<link rel="stylesheet" href="css/style.css" type="text/css" media="screen" />
<link rel="stylesheet" href="css/invalid.css" type="text/css" media="screen" />	
</head>
<body id="login">		
		<div id="login-wrapper" class="png_bg">
			<div id="login-top">
			
				<h1>VMACMS</h1>
				<a href="#"><img id="logo" src="images/logo.png" alt="VMACMS Admin logo" /></a>
			</div> <!-- End #logn-top -->
			
			<div id="login-content">
				
    <form name="form1" method="post" action="login.php">
      <input type="hidden" name="gotopage" value="<?php if(!empty($gotopage)) echo RemoveXSS($gotopage);?>" />
      <input type="hidden" name="dopost" value="login" />
      <input name='adminstyle' type='hidden' value='newdedecms' />
				
					<div class="notification information png_bg">
						<div>
							<?php if(empty($loginerror)) echo '请输入用户名、密码以及验证码登陆.'; else echo $loginerror;?>
						</div>
					</div>
					
					<p>
						<label>用户</label>
						<input class="text-input" type="text" name="userid" />
					</p>
					<div class="clear"></div>
					<p>
						<label>密码</label>
						<input class="text-input" type="password" name="pwd" />
					</p>
                    <div class="clear"></div>
					<p>
						<label>验证码</label>
						<input id="vdcode" type="text" name="validate" style="text-transform:uppercase;" class="text-input" />
                        <div style="position:absolute; margin-left:320px;">
                                  <img id="vdimgck" align="absmiddle" onClick="this.src=this.src+'?'" style="cursor: pointer;" alt="看不清？点击更换" src="../include/vdimgck.php" />
						</div>
					</p>                    
					<div class="clear"></div>
					<!--<p id="remember-password">
						<input type="checkbox" />记住我
					</p>
					<div class="clear"></div> -->
					<p>
						<input class="button" type="submit" name="submit" value="登陆" />
					</p>
					
				</form>
			</div> <!-- End #login-content -->
			
			
		</div> <!-- End #login-wrapper -->
		
  
  </body>
  </html>