WebRoot/main.jsp

(开头部分) 2KB

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

<%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
<%@ page import="com.util.*"%>
<%
DBO db=new DBO();
request.setCharacterEncoding("gb2312");
ResultSet rs=null;
String sql="";
TestGetCHname chname=new TestGetCHname();
%><html>
<head>
<LINK href="../css/admin.css" type="text/css" rel="stylesheet"><style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
	background-color: #EEF2FB;
}
a:hover{
color:#FF0000;
text-decoration:underline;
}
-->
</style>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title></title>
<body>
<form name="form" method="post">
<table width="100%" border="0">
  <tr>
    <td width="71%" height="63">查询条件
    <input type="text" name="te">
    类别
    <select name="lb">
	  <option value="">--全部--</option>
	<%
 sql="select * from leibie ";
 rs=null;
rs=db.query(sql);
while(rs.next()){
%>
<option value="<%=rs.getString("lb")%>"><%=rs.getString("lb")%></option>
<% }%>
    </select>
	方式
    <input type="radio" name="fs" value="0" checked="checked">标题
	    <input type="radio" name="fs" value="1">内容    
    <input type="submit" name="Submit" value="提交"></td>
    <td width="29%">&nbsp;</td>
  </tr>
  <tr>
    <td height="166"><%
	 sql="select * from wendang where 1=1";
	  String b[]=null;
	  String str="";
	  String lb=(String)request.getParameter("lb");
	  String te=(String)request.getParameter("te");
	  	  String fs=(String)request.getParameter("fs");
	  if(lb!=null){
后面还有 78 行代码,购买后查看完整代码

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

AI 解读 AI

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

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