WebRoot/yinlexinxi_detail.jsp

(开头部分) 9KB

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


<%@ page language="java"  pageEncoding="gb2312"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
if((String)request.getSession().getAttribute("username")==null || (String)request.getSession().getAttribute("username")=="")
	{
		out.print("<script>alert('对不起,请先登陆!!!');location.href='index.jsp';</script>");
	}
%>

<%@ page language="java" import="java.sql.*" %>
<jsp:useBean id="connDbBean" scope="page" class="cn.itbaizhan.db.db"/>
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>网上招标系统</title><LINK href="CSS.css" type=text/css rel=stylesheet>
    <script language="javascript" src="js/Calendar.js"></script>
<style type="text/css">
<!--
body,td,th {
	font-size: 12px;
}
.STYLE1 {
	color: #D84828;
	font-weight: bold;
}
.STYLE5 {	color: #72AC27;
	font-size: 26pt;
}
.STYLE2 {color: #FFFFFF}

-->
</style>
  </head>
<%
String id=request.getParameter("id");
String sql="";
sql="update yinlexinxi set hits=hits+1 where id="+id;
connDbBean.executeUpdate(sql);
%>
 <%
   sql="select * from yinlexinxi where id="+id;
String hits="";  String gequmingcheng="";String leibie="";String yanchang="";String zuoci="";String zuoqu="";String wenjian="";String geci="";String lx="";
  ResultSet RS_result=connDbBean.executeQuery(sql);
  while(RS_result.next()){
  lx=RS_result.getString("lx"); 
   gequmingcheng=RS_result.getString("gequmingcheng");
   leibie=RS_result.getString("leibie");
   yanchang=RS_result.getString("yanchang");
   zuoci=RS_result.getString("zuoci");
   zuoqu=RS_result.getString("zuoqu");
   wenjian=RS_result.getString("wenjian");
   geci=RS_result.getString("geci");
   hits=RS_result.getString("hits");
  
  }
   %>
  <body >
后面还有 186 行代码,购买后查看完整代码

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

AI 解读 AI

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

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