<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>用户登录界面</title> <style type="text/css"> <!-- body { margin: 0px; background-color: #1D3647; } --> </style> <link href="user/images/skin.css" rel="stylesheet" type="text/css"> </head> <body> <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#FF0000"> <tr> <td height="41" class="login_top_bg"></td> </tr> <tr> <td> <table width="100%" border="0" cellpadding="0" cellspacing="0" class="login_bg"> <tr> <td width="50%" align="right"> <table width="91%" height="532" border="0" cellpadding="0" cellspacing="0" class="login_bg2"> <tr> <td>11111111</td> </tr> </table> </td> <td width="50%" valign="bottom"> <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr> <td width="7%"> </td> <td width="93%" class="login_txt_bt">教师(学生)登录</td> </tr> <tr> <td> </td> <td> <table border="0" width="100%" cellpadding="0" cellspacing="0"> <tr height="164"> <td colspan="2"> <form name="myform" action="login.action" method="post"> <table border="0" width="100%" height="143" cellpadding="0" cellspacing="0"> <tr> <td width="14%" height="38" class="login_txt">编号: </td> <td height="38" colspan="2"><input type="text" name="name" value=""></td> </tr> <tr> <td width="14%" height="35" class="login_txt">密码: </td> <td colspan="2"><input type="password" name="passwd" value=""> <img src="user/images/lock.gif" width="19" height="18"> </td> </tr> <tr> <td width="14%" height="35" class="login_txt">登录角色:</td> <td height="35" colspan="2" class="login_txt"><input type="radio" name="role" value="teacher" checked="checked">教师 <input type="radio" name="role" value="student">学生</td> </tr> <tr> <td height="35"> </td> <td width="19%" height="35" class="login_txt"><input type="submit" value="登录"></td> <td width="67%" class="login_txt"><input type="button" value="取消" onClick="null()"></td> </tr> </table> </form> </td> </tr> <tr> <td width="433" height="164" align="right" valign="bottom"> <img src="user/images/login-wel.gif" width="242" height="138"> </td> <td width="57" align="right" valign="bottom"> </td> </tr> </table> </td> </tr> </table> </td> </tr> </table> </td> </tr> <tr> <td bgcolor="#00FF00" height="20" class="login_copyright">在线考试系统Copyright © 2009-2010</td> </tr> </table> </body> </html>
.login_top_bg {
background-image: url(login-top-bg.gif);
background-repeat: repeat-x;
}
.login_txt_bt {
font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
line-height: 25px;
color: #666666;
font-weight: bold;
}
.login_copyright {
text-align: center;
font-size: 8px;
color: #ABCAD3;
text-decoration: none;
line-height: 20px;
font-family: Arial, Helvetica, sans-serif;
background-image: url(login-buttom-bg.gif);
background-repeat: repeat-x;
background-position:center
}
.login_txt {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
line-height: 25px;
color: #333333;
}
.login_bg {
background-image: url(login_bg.jpg);
background-repeat: repeat-x;
}
.login_bg2 {
background-image: url(login-content-bg.gif);
background-repeat: no-repeat;
background-position: right;
}
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>用户登录界面</title>
<style type="text/css"><!--body { margin: 0px; background-color: #1D3647;}
--></style><link href="user/images/skin.css" rel="stylesheet" type="text/css"></head>
<body> <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#FF0000"> <tr> <td height="41" class="login_top_bg"></td> </tr>
<tr> <td> <table width="100%" border="0" cellpadding="0" cellspacing="0" class="login_bg"> <tr> <td width="50%" align="right"> <table width="91%" height="532" border="0" cellpadding="0" cellspacing="0" class="login_bg2"> <tr> <td>11111111</td> </tr> </table> </td> <td width="50%" valign="bottom"> <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr> <td width="7%"> </td> <td width="93%" class="login_txt_bt">教师(学生)登录</td> </tr> <tr> <td> </td> <td> <table border="0" width="100%" cellpadding="0" cellspacing="0"> <tr height="164"> <td colspan="2"> <form name="myform" action="login.action" method="post"> <table border="0" width="100%" height="143" cellpadding="0" cellspacing="0"> <tr> <td width="14%" height="38" class="login_txt">编号: </td> <td height="38" colspan="2"><input type="text" name="name" value=""></td> </tr> <tr> <td width="14%" height="35" class="login_txt">密码: </td> <td colspan="2"><input type="password" name="passwd" value=""> <img src="user/images/lock.gif" width="19" height="18"> </td> </tr> <tr> <td width="14%" height="35" class="login_txt">登录角色:</td> <td height="35" colspan="2" class="login_txt"><input type="radio" name="role" value="teacher" checked="checked">教师 <input type="radio" name="role" value="student">学生</td> </tr> <tr> <td height="35"> </td> <td width="19%" height="35" class="login_txt"><input type="submit" value="登录"></td> <td width="67%" class="login_txt"><input type="button" value="取消" onClick="null()"></td> </tr> </table> </form> </td> </tr> <tr> <td width="433" height="164" align="right" valign="bottom"> <img src="user/images/login-wel.gif" width="242" height="138"> </td> <td width="57" align="right" valign="bottom"> </td> </tr> </table> </td> </tr> </table> </td> </tr> </table> </td> </tr> <tr> <td bgcolor="#00FF00" height="20" class="login_copyright">在线考试系统Copyright © 2009-2010</td> </tr> </table></body></html>