WebRoot/qiantai/inc/incTop.jsp

(开头部分) 2KB

这里只显示每个文件的开头 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();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
      <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 userLogout()
         {
              document.getElementById("indicator1").style.display="block";
              loginService.userLogout(callback1);
         }
         function callback1(data)
		 {
		      document.getElementById("indicator1").style.display="none";
		      if(data=="no")
		      {
		          alert("系统错误,请联系管理员");
		      }
		      if(data=="yes")
		      {   
		          alert("安全退出系统");
		          var url="<%=path %>/login.jsp";
		          window.location.href=url;
		      }
		 }
      </script>
  </head>
  
  <body>
       <TABLE border=0 cellSpacing=0 cellPadding=0 width=772 height="110" bgColor=#ffffff align=center style="background-image: url('<%=path %>/img/logo.jpg'); background-repeat : repeat-xy">
		  <TR>
		    <TD height=80 width=772 align=center>
			     &nbsp;
		    </TD>
		  </TR>
		</TABLE>
       <TABLE  border=0 cellSpacing=0 cellPadding=0 width=772 align=center style="background-image: url('<%=path %>/img/banner.jpg'); background-repeat : repeat-xy">
		  <TR>
		    <TD style="height: 30px;font-weight: 900;">
		         &nbsp;&nbsp;&nbsp;&nbsp;
		         <c:if test="${sessionScope.userType==1}">
			         &nbsp;欢迎您:${sessionScope.user.xingming } 
			         &nbsp;&nbsp;<a href="<%=path %>/qiantai/userinfo/userinfo.jsp" style="font-size: 17px;font-weight: 700;font-family: 楷体">我的信息</a>
			         &nbsp;&nbsp;<a href="<%=path %>/qiantai/banji/banjiAdd.jsp" style="font-size: 17px;font-weight: 700;font-family: 楷体">创建新的班级</a> 
			         &nbsp;&nbsp;<a href="<%=path %>/banjiMine.action" style="font-size: 17px;font-weight: 700;font-family: 楷体">我创建的班级</a> 
			         &nbsp;&nbsp;<a href="<%=path %>/jiaruMine.action" style="font-size: 17px;font-weight: 700;font-family: 楷体">我加入的班级</a> 
			         &nbsp;&nbsp;<a href="#" onClick="userLogout()" style="font-size: 17px;font-weight: 700;font-family: 楷体">注销退出</a> 
		         </c:if>
		         
		         <img id="indicator1" src="<%=path %>/img/loading.gif" style="display:none"/>
后面还有 5 行代码,购买后查看完整代码

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

AI 解读 AI

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

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