WebRoot/gonggao/gonggaolist.jsp

(开头部分) 5KB

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

<%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
<%@ page import="com.util.*"%>
<%
request.setCharacterEncoding("gb2312");//设置页面字符集
DBO db=new DBO();//初始链接数据库类
String sql="select * from gonggao where 1=1 ";//查询 公告sql语句

if(session.getAttribute("yhm")!=null){
sql+=" and sj='"+session.getAttribute("yhm")+"'";
}
db.open();//打开数据库链接
ResultSet rs=db.query(sql);//查询结果
//公告信息列表
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">

<link  href="../css/layout.css" rel="stylesheet" type="text/css" />
<link href="../css/cb.css" rel="stylesheet" type="text/css"   />
<link  href="../css/n.css" rel="stylesheet" type="text/css" />
<style>
.biankuangs{ border:solid #A6D2FF 1px; border-top:0px; }
#item_text2,#item_text1,#itemtypes2,#item_text3{ /**/display:none;}
</style> 
<title>公告列表</title>
</head>


<body>
<form name="form" action="" method="post" >

<!--
<table width="99%" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td width="1%" align="left" background="../images/b2.jpg"><img src="../picture/b1.jpg" width="10" height="26" /></td>
            <td width="68%" background="../images/b2.jpg"><table width="124" border="0" align="left" cellpadding="0" cellspacing="0">
                <tr>
                  <td width="20" align="left"><img src="../picture/tz.gif" width="10" height="16" /></td>
                  <td width="104" align="left" class="biao">公告列表</td>
                </tr>
            </table></td>
            <td width="31%" align="right" background="../images/b2.jpg"><img src="../picture/b3.jpg" width="9" height="26" /></td>
          </tr>
</table>
-->
 <table width="99%" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td width="1%" align="left" background="../images/b2.jpg"><img src="../picture/b1.jpg" width="10" height="26" /></td>
            <td width="68%" background="../images/b2.jpg"><table width="124" border="0" align="left" cellpadding="0" cellspacing="0">
                <tr>
                  <td width="20" align="left"><img src="../picture/tz.gif" width="10" height="16" /></td>
                  <td width="104" align="left" class="biao">公告列表</td>
                </tr>
            </table></td>
            <td width="31%" align="right" background="../images/b2.jpg"><img src="../picture/b3.jpg" width="9" height="26" /></td>
          </tr>
</table>

后面还有 108 行代码,购买后查看完整代码

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

AI 解读

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

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