WebRoot/qiantai/top.jsp

(开头部分) 4KB

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

<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ page isELIgnored="false" %> 
<%
String path = request.getContextPath();
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
     <style type="text/css" media="all">@import "<%=path %>/css/style.css";</style>
     
     <script type='text/javascript' src='<%=path %>/dwr/interface/loginService.js'></script>
     <script type='text/javascript' src='<%=path %>/dwr/engine.js'></script>
     <script type='text/javascript' src='<%=path %>/dwr/util.js'></script>
    
    <script type="text/javascript">
	   function userlogin()
       {
            var url="<%=path %>/qiantai/userlogin/userlogin.jsp";
            /* var pop=new Popup({ contentType:1,isReloadOnClose:false,width:500,height:220});
            pop.setContent("contentUrl",url);
            pop.setContent("title","会员登录");
            pop.build();
            pop.show(); */
            
           <%--  window.showModalDialog(url,"","dialogWidth:300px; dialogHeight:130px; dialogLeft: status:no; directories:yes;scrollbars:yes;Resizable=no;");
            var url="<%=path %>/index.action"; --%>
			window.location.href=url;
       }
       
       function userLogout()
       {
            loginService.userLogout(callback111);
       }
       
       
       function callback111(data)
	   {
		    alert("成功退出系统");
		    var url="<%=path %>/index.action";
		    window.location.href=url;
	   }
        
       function mycart()
       {
            <c:if test="${sessionScope.userType !=1}">
                  alert("请先登录");
            </c:if>
            
            <c:if test="${sessionScope.userType==1}">
                var s="<%=path %>/myCart.action";
	            window.location.href=s;
            </c:if>
       } 
         
       function orderMine()
       {
            <c:if test="${sessionScope.userType !=1}">
后面还有 56 行代码,购买后查看完整代码

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

AI 解读 AI

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

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