您的位置:首页 > Web前端 > JavaScript

jsp2

2013-12-22 00:00 459 查看
<%@page import="org.apache.tomcat.jni.User"%>

<%@ 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"/>

<meta http-equiv="pragma" content="no-cache"/>

<meta http-equiv="cache-control" content="no-cache"/>

<meta http-equiv="expires" content="0"></meta>

<!--从框架中跳出 -->

<script type="text/javaScript">

if (window != top)

top.location.href = location.href;

</script>

<title>行政服务管理系统</title>

<link href="./AdServerLogin.files/login.css" rel="stylesheet" type="text/css"/>

<link type="text/css" rel="stylesheet" href="./AdServerLogin.files/ymPrompt.css"/>

<link type="text/css" rel="stylesheet" href="./style.css"/>

<script type="text/javascript" charset="utf-8" src="chrome-extension://cpngackimfmofbokmjmljamhdncknpmg/page_context.js"></script>

<script type="text/javascript" language="javascript" src="./AdServerLogin.files/jquery-1.7.1.js"></script>

<script type="text/javascript" language="javascript" src="./AdServerLogin.files/ymPrompt_source.js"></script>

<script type="text/javascript" language="javascript" src="./js/examine.js"></script>

<script>

function adminlogin()

{

$("#form").submit();

}

document.onkeydown=function(event)

{

e=event?event:(window.event?window.event:null);

var currKey=0;

currKey=e.keyCode||e.which||e.charCode;

if(currKey=='13')

adminlogin();

}

</script>

</head>

<body class="login_body" screen_capture_injected="true">

<table style="width:100%; height:100%;" border="1" cellspacing="0" cellpadding="0">

<tbody>

<tr>

<td style="width:100%; height:100%; vertical-align:middle;">

<div class="col_login login fore_login fore_login_style2 roundify">

<div class="login_pic_left"></div>

<div class="login_pic_right"></div>

<div class="login_header">

<h1>

<!-- // icon -->

<span class="icon_login icon_default"></span>

<span class="name_product">行政服务中心管理系统</span>

<span class="name_title">登陆</span>

</h1>

</div>

<div class="login_sidebar">

<div class="login_pic none">

<img src="./AdServerLogin.files/login_pic.jpg"/>

</div>

</div>

<form id="form" action="<%=pageContext.getServletContext().getContextPath() %>/validateLogin" method="post">

<input type="hidden" na
3ff0
me="token" value=""/>

<div class="login_content no_popup">

<!-- // 登陆 -->

<div class="login_box ~none">

<div class="inner">

<!-- // 标题 -->

<h1>

<!-- //图标:icon_ot / icon_oe -->

<span class="icon_login icon_ot ~icon_ot"></span>

<span class="name_product">oTraining</span>

<span class="name_title">登陆</span>

</h1>

<!-- // 内容 -->

<div class="login_box_con">

<div class="inner">

<dl>

<dt>帐号:</dt>

<dd>

<input value="yc" type="text" name="userAccount" id="userAccount" value="${username }" class="input_login input_default ~auto_width ~input_error" title="用户名不区分大小写" alt="用户名不区分大小写" onBlur="CheckName(this.value);"/>

</dd>

</dl>

<dl>

<dt>密码:</dt>

<dd>

<input value="888888" type="password" name="userPassword" id="userPassword" class="input_login input_default ~auto_width ~input_error" title="密码区分大小写" alt="密码区分大小写" value="" onBlur="CheckPwdlength(this.value);" />

</dd>

</dl>

<!-- // 记住密码 -->

<dl class="none">

<dt> </dt>

<dd><label><input name="checkbox" type="checkbox" class="checkbox" id=""/>记住密码</label></dd>

<dd class="forget_pwd"><a href="">找回密码</a></dd>

</dl>

<dl class="cp_area ~hidden">

<dt>验证码:</dt>

<!--验证验证码2中方案1,用异步 2,带值 -->

<dd>

<input type="text" name="adminVerifyCode" class="input_login_cp ~auto_width" value="" onBlur="CheckValnum(this.value);"/>

</dd>

<dd class="login_box_cp"><img src="<%=pageContext.getServletContext().getContextPath() %>/Cratevalidate" name="numberPic"/></dd>

</dl>

<dl>

<dt> </dt>

<dd>

<!-- // 按钮 -->

<!-- <input type="submit" value="登陆">-->

<div class="logogreen">

<div id="usermsg" class="green"></div>

</div>

<div class="btn_area align_center">

<a class="btn" href="javascript:void(0)" onClick="dpValidate()">登 陆</a>

<a class="btn" href="AdServerLogin.jsp;">重 置</a>

</div>

</dd>

</dl>

</div>

</div>

</div>

</div>

</div>

</form>

</div>

</td>

</tr>

</tbody>

</table>

</body>

</html>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: