javaweb 一个登陆界面

1 篇文章 0 订阅
1 篇文章 0 订阅


login.html

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<!-- saved from url=(0037)http://localhost:8008/admin/Login.asp -->
<HTML><HEAD><TITLE>管理员登录</TITLE>
<META content="text/html; charset=gb2312" http-equiv=Content-Type><LINK
rel=stylesheet href="images/southidc.css">
<SCRIPT language=javascript>
<!--
function SetFocus()
{
if (document.Login.UserName.value=="")
document.Login.UserName.focus();
else
document.Login.UserName.select();
}
function CheckForm()
{
if(document.Login.UserName.value=="")
{
alert("请输入用户名!");
document.Login.UserName.focus();
return false;
}
if(document.Login.Password.value == "")
{
alert("请输入密码!");
document.Login.Password.focus();
return false;
}
if (document.Login.CheckCode.value==""){
alert ("请输入您的验证码!");
document.Login.CheckCode.focus();
return(false);
}
}

function CheckBrowser()
{
var app=navigator.appName;
var verStr=navigator.appVersion;
if (app.indexOf('Netscape') != -1) {
alert("中网景友情提示:\n 你使用的非IE浏览器,可能会导致无法使用后台的部分功能。建议您使用 IE6.0 或以上版本。");
}
else if (app.indexOf('Microsoft') != -1) {
if (verStr.indexOf("MSIE 3.0")!=-1 || verStr.indexOf("MSIE 4.0") != -1 || verStr.indexOf("MSIE 5.0") != -1 || verStr.indexOf("MSIE 5.1") != -1)
alert("中网景友情提示:\n 您的浏览器版本太低,可能会导致无法使用后台的部分功能。建议您使用 IE6.0 或以上版本。");
}
}
//-->
</SCRIPT>

<STYLE type=text/css>BODY {
BACKGROUND-COLOR: #0c91bc
}
</STYLE>

<META name=GENERATOR content="MSHTML 8.00.6001.19222"></HEAD>
<BODY class=bgcolor>
<P> </P>
<P> </P>
<TABLE
style="BORDER-BOTTOM: 3px outset; BORDER-LEFT: 3px outset; WIDTH: 0px; BORDER-TOP: 3px outset; BORDER-RIGHT: 3px outset"
border=0 cellSpacing=0 cellPadding=1 align=center>
<TBODY>
<TR>
<TD>
<TABLE border=0 cellSpacing=0 cellPadding=0 width=605 align=center>
<TBODY>
<TR>
<TD><IMG src="images/admin_login_r1_c1.jpg" width=605
height=17></TD></TR></TBODY></TABLE>
<TABLE border=0 cellSpacing=0 cellPadding=0 width=605 align=center>
<TBODY>
<TR>
<TD width=24><IMG src="images/admin_login_r2_c1.jpg" width=23
height=212></TD>
<TD bgColor=#f7faff vAlign=top width=494 align=middle>
<TABLE border=0 cellSpacing=0 cellPadding=0 width="100%"
height=100><TBODY>
<TR>
<TD background=""><A><IMG border=0 alt=163k.com
src="images/admin_login_r2_c2.gif" width=494
height=101></A></TD></TR></TBODY></TABLE>
<TABLE border=0 cellSpacing=5 cellPadding=0 width="100%"
align=center>
<TBODY>
<TR>
<TD rowSpan=2 width="22%" align=middle> </TD>
<TD width="78%">
<TABLE border=0 cellSpacing=4 cellPadding=0 width="100%"
align=center>
<FORM οnsubmit="return CheckForm();" method=post name=Login
action=Admin_ChkLogin.asp target=_parent>
<TBODY>
<TR>
<TD align=right>用户名称: </TD>
<TD><INPUT
style="BORDER-BOTTOM: 1px solid; BORDER-LEFT: 1px solid; PADDING-BOTTOM: 1px; PADDING-LEFT: 4px; WIDTH: 160px; PADDING-RIGHT: 4px; BORDER-TOP: 1px solid; BORDER-RIGHT: 1px solid; PADDING-TOP: 1px"
id=UserName4 οnfοcus="this.select(); "
οnmοuseοver="this.style.background='#f1f1f1';"
οnmοuseοut="this.style.background='#FFFFFF'"
maxLength=20 name=UserName></TD></TR>
<TR>
<TD align=right>用户密码: </TD>
<TD><INPUT
style="BORDER-BOTTOM: 1px solid; BORDER-LEFT: 1px solid; PADDING-BOTTOM: 1px; PADDING-LEFT: 4px; WIDTH: 160px; PADDING-RIGHT: 4px; BORDER-TOP: 1px solid; BORDER-RIGHT: 1px solid; PADDING-TOP: 1px"
οnfοcus="this.select(); "
οnmοuseοver="this.style.background='#f1f1f1';"
οnmοuseοut="this.style.background='#FFFFFF'"
maxLength=20 type=password name=Password></TD></TR>
<TR>
<TD align=right>验 证 码: </TD>
<TD><INPUT
style="BORDER-BOTTOM: 1px solid; BORDER-LEFT: 1px solid; PADDING-BOTTOM: 1px; PADDING-LEFT: 4px; PADDING-RIGHT: 4px; BORDER-TOP: 1px solid; BORDER-RIGHT: 1px solid; PADDING-TOP: 1px"
οnfοcus="this.select(); "
οnmοuseοver="this.style.background='#f1f1f1';"
οnmοuseοut="this.style.background='#FFFFFF'" maxLength=4
size=6 name=CheckCode> 请在左边输入 <IMG
src="images/checkcode.bmp"></TD></TR>
<TR>
<TD colSpan=2>
<DIV align=center><INPUT value=" 确 认 " type=submit name=Submit>
  <INPUT id=reset value=" 清 除 " type=reset name=reset>
  <INPUT class=button οnclick=window.location.reload() value=刷新本页 type=button name=Submit4>
<BR></DIV></TD></TR></FORM></TBODY></TABLE></TD></TR></TBODY></TABLE></TD>
<TD width=88><IMG src="images/admin_login_r2_c3.jpg" width=88
height=212></TD></TR></TBODY></TABLE>
<TABLE border=0 cellSpacing=0 cellPadding=0 width=605 align=center>
<TBODY>
<TR>
<TD><IMG src="images/admin_login_r4_c1.jpg" width=605
height=21></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
<SCRIPT language=JavaScript type=text/JavaScript>
CheckBrowser();
SetFocus();
</SCRIPT>

</BODY></HTML>

southidc.css

.back_southidc {
BACKGROUND-IMAGE: url(../image/titlebg.gif); COLOR: #000000
}
.table_southidc {
BACKGROUND-COLOR: #a6edff
}
.td_southidc {
BACKGROUND-COLOR: #f2f8ff
}
.tr_southidc {
BACKGROUND-COLOR: #ecf5ff
}
.t1 {
FONT: 12px 宋体; COLOR: #000000
}
.t2 {
FONT: 12px 宋体; COLOR: #ffffff
}
.t3 {
FONT: 12px 宋体; COLOR: #ffff00
}
.t4 {
FONT: 12px 宋体; COLOR: #800000
}
.t5 {
FONT: 12px 宋体; COLOR: #191970
}
/*Download by http://www.codefans.net*/
.weiqun:hover {
BACKGROUND-COLOR: #cccccc; FONT-FAMILY: "宋体"; COLOR: #ffffff; TEXT-DECORATION: underline; Font-unline: yes
}
TD {
FONT-SIZE: 12px
}
A:link {
COLOR: #000000; TEXT-DECORATION: none
}
A:visited {
COLOR: #000000; TEXT-DECORATION: none
}
A:hover {
COLOR: #000000; TEXT-DECORATION: underline
}
A:active {
COLOR: #000000; TEXT-DECORATION: none
}
INPUT {
BORDER-RIGHT-WIDTH: 1px; FONT-FAMILY: verdana, arial, helvetica, sans-serif,宋体; BORDER-TOP-WIDTH: 1px; BORDER-BOTTOM-WIDTH: 1px; FONT-SIZE: 12px; BORDER-LEFT-WIDTH: 1px; TEXT-DECORATION: none
}


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值