WebContent/bg-afficheSelect.jsp
(开头部分) 3KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<%@ page contentType="text/html; charset=gb2312"%>
<%@page import="java.sql.*"%>
<%@page import="java.util.*"%>
<%@page import="com.wy.domain.AfficheForm"%>
<%
List list=(List)request.getAttribute("list");
int number=Integer.parseInt((String)request.getAttribute("number"));
int maxPage=Integer.parseInt((String)request.getAttribute("maxPage"));
int pageNumber=Integer.parseInt((String)request.getAttribute("pageNumber"));
int start=number*7;//开始条数
int over=(number+1)*7;//结束条数
int count=pageNumber-over;//还剩多少条记录
if(count<=0){
over=pageNumber;
}
%>
<script Language="JavaScript">
function deleteAffiche(date) {
if(confirm("确定要删除吗?")){
window.location="afficheAction.do?action=3&id="+date;
}
}
</script>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>电子商城的后台</title>
<style type="text/css">
<!--
.style1 {color: #5F5F5F}
-->
</style>
</head>
<link href="css/css.css" rel="stylesheet" type="text/css">
<body>
<jsp:include page="bg-up.jsp" flush="true"/>
<table width="788" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="170" valign="top"><jsp:include page="bg-left.jsp" flush="true" /></td>
<td width="618" align="center" valign="top" bgcolor="#FFFFFF"> <br>
<table width="610" height="25" border="0" cellpadding="0" cellspacing="0" background="image/bg_02.jpg">
<tr>
<td><div align="center"><strong>公告信息的查询</strong></div></td>
</tr>
</table>
<br>
<table width="90%" border="1" cellpadding="1" cellspacing="1" bordercolor="#FFFFFF" bgcolor="#CCCCCC">
<tr>
<td width="17%" height="25"><div align="center">数据编号</div></td>
<td width="19%"><div align="center">公告标题</div></td>
<td width="27%"><div align="center">公告发布时间</div></td>
<td width="37%"><div align="center">操作</div></td>
</tr>
<%for(int i=start;i<over;i++){
AfficheForm form=(AfficheForm)list.get(i);
%>
后面还有 47 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
