WebRoot/qttop.jsp

(开头部分) 6KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ page language="java" import="java.sql.*" %>
<jsp:useBean id="connDbBean" scope="page" class="com.util.db"/>
<jsp:useBean id="code" scope="page" class="com.util.CheckCode" />
<div class="header">
  <div class="ntbg">
    <div class="ntbd">
      <div class="notice">
        <div class="title">网站公告:</div>
        <div class="noticenr">
          <marquee  onmouseover="this.stop()" onMouseOut="this.start()" scrollamount="2"  >
          诚信为本:市场在变,诚信永远不变...
          </marquee>
        </div>
      </div>
      <!-- end notice-->
      <div class="toptel">
	  
	   <%
    if((String)request.getSession().getAttribute("username")==null || (String)request.getSession().getAttribute("username")==""){
     %>
                  <table height="30" border="0" cellpadding="0" cellspacing="0">
                    <form action="hsgloginyanzheng.jsp" method="post" name="userlog" id="userlog" >
                      <tr>
                        <td  height="30" align="left" >用户名
                          <input name="username" type="text" id="username" size="10" style=" height:19px; border:solid 1px #000000; color:#666666" />
                          
                          <input name="pwd" type="password" id="pwd" size="10" style=" height:19px; border:solid 1px #000000; color:#666666" />
                          权限 
                            <select name="cx" id="cx" style="width:80px; height:20px; border:solid 1px #000000; color:#666666" >
                              <option value="注册用户">注册用户</option>
                            </select>
                          
                          <input name="pagerandom" type="text" id="pagerandom" style=" height:20px; border:solid 1px #000000; color:#666666; width:50px" /></td>
                        <td align="left" style=" padding-left:3px; padding-right:3px;" ><%
								String yzm=code.getCheckCode();
								%>  <input type="hidden" name="yzm" id="yzm" value="<%=yzm %>" >
								   <%=yzm %></td>
                        <td align="left"><input type="submit" name="Submit3" value="登陆" style=" border:solid 1px #000000; color:#666666; width:60px; height:20px;" onclick="return checklog();" />
                            <input type="button" name="Submit3" value="找回密码" onclick="javascript:location.href='zmm.jsp';" style=" border:solid 1px #000000; color:#666666;width:60px; height:20px; display:none" /></td>
                      </tr>
                    </form>
					<script type="text/javascript">
       
function checklog()
{
	if(document.userlog.username.value=="" || document.userlog.pwd.value=="" || document.userlog.pagerandom.value=="")
	{
		alert("请输入完整");
		return false;
	}
	if (document.userlog.pagerandom.value != document.userlog.yzm.value) {
			alert("验证码错误!");
			document.userlog.pagerandom.focus();
			return false;
	}
	
后面还有 98 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。