WebRoot/bht.jsp

(完整代码) 1KB

<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ page language="java" import="java.sql.*" %>
<jsp:useBean id="connDbBean" scope="page" class="com.util.db"/>

<div class="banner">
	<div class="focusBox">
		<ul class="pic">
			<%
			int xxbhti=0;
			String sqlbht="select  shouyetupian from xinwentongzhi where leibie='变幻图'  order by id desc limit 0,5";
			ResultSet RS_resultbht=connDbBean.executeQuery(sqlbht);
while(RS_resultbht.next())
{
	xxbhti++;
		%>
			<li style="background:url(<%=RS_resultbht.getString("shouyetupian")%>) center top no-repeat;"><a href="xwtzDetail.do?id=<%=RS_resultbht.getString("shouyetupian")%>"></a></li>
				<%
		}
		%>
		</ul>
		<a class="prev" href="javascript:void(0)"></a>
		<a class="next" href="javascript:void(0)"></a>
		<ul class="hd">
		<%
		for(int bhti=0;bhti<xxbhti;bhti++)
		{
		%>
			<li></li>
			<%
	  }
	  %>
			
		</ul>
	</div>
</div>



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

AI 解读

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

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