⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ads.jsp

📁 JSP购物车(SQLserver版) ================== 简单的JSP电子商务网站购物车 带结算功能,带注册系统 大二时自己编写的,供大家参考学习 功能不是很详尽,美工
💻 JSP
字号:
<%@ page language="java" contentType="text/html;charset=UTF-8" %><%@ include file="../inc/common.jsp" %><!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>
<title>${basic.name}后台管理</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<club:html type="css" />
<style>.ipu{width:400px;} .lab label{font-weight:normal; color:#000}</style>
<script type="text/javascript" src="../scripts/common.js"></script>
</head>
<body>
<div id="wrap">
<div class="sitemap"><ul><li>您的位置:</li><li>后台管理&gt;&gt;</li><li><h3>广告列表</h3></li></ul></div><%@ include file="../inc/msgHint.jsp" %>
<div class="sidebar gform">
<table summary="广告列表" id="users">
<thead>
<tr>
<th scope="col" class="t_0">广告描述</th>
<th scope="col" class="t_2">广告位置</th>
<th scope="col" class="t_2">所在版面</th>
<th scope="col" class="t_1">编辑</th>
<th scope="col" class="t_1">删除</th>
</tr>
</thead>
<tbody><%
java.util.List list = adJsp.findAll();
if(list!=null){
	for(int i=0; i<list.size(); i++){
		com.yeqiangwei.club.view.model.AdView adView = (com.yeqiangwei.club.view.model.AdView)list.get(i);
%>
<tr>
<td class="t_0"><%=adView.getTitle()%></td>
<td><%
if(adView.getArea()==1){
	out.print("顶部");
}else if(adView.getArea()==2){
	out.print("主贴标题下方");
}else if(adView.getArea()==3){
	out.print("主贴内容下方");
}else if(adView.getArea()==4){
	out.print("主贴下方");
}else if(adView.getArea()==5){
	out.print("网页Footer");
}else if(adView.getArea()==6){
	out.print("网页最底部");
}
%></td>
<td><%
if(adView.getForumView()!=null){%><club:link type="forumName" forum="<%=adView.getForumView()%>"/><%
}else{
	out.print("其他页面");
}
%></td>
<td><a href="ad.jsp?adId=<%=adView.getAdId()%>">编辑</a></td>
<td><a href="admin.do?act=adDeleteById&adId=<%=adView.getAdId()%>">删除</a></td>
</tr>
<%}
}%></tbody>
</table>
<div class="tfoot">
<a href="admin.do?act=adClearCache">刷新缓存</a>
</div>
</div>
</body>
</html>
<!-- Powered by www.YeQiangWei.com -->

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -