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

📄 topicadmin.jsp

📁 JSP购物车(SQLserver版) ================== 简单的JSP电子商务网站购物车 带结算功能,带注册系统 大二时自己编写的,供大家参考学习 功能不是很详尽,美工
💻 JSP
字号:
<%@ page language="java" contentType="text/html;charset=UTF-8" %><%@ include file="inc/common.jsp" %><%
ForumJsp forumJsp = new ForumJsp(request,response);
%><c:set var="topic" value="<%=forumJsp.findTopicAndContentById()%>"/>
<c:set var="forum" value="<%=forumJsp.getModelsOfForumView()%>"/><!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=UTF-8" />
<title>${topic.title}(${basic.name}${forum.forumView.forumName})</title>
<meta name="keywords" content="${topic.title},${forum.forumView.forumName}" />
<meta name="description" content="${forum.forumView.description}"/>
<meta name="author" content="YeQiangWei.com"/>
<link href="images/favicon.ico" rel="Bookmark" /> 
<link href="images/favicon.ico" rel="icon" type="image/x-icon" />
<link href="images/favicon.ico" rel="shortcut icon" type="image/x-icon" />
<club:html type="css" />
<script type="text/javascript" src="scripts/common.js"></script>
<script type="text/javascript" src="scripts/utils.js"></script>
<script type="text/javascript">
function verifyInput(){
	var id = (c.o('toForumId').options[c.o('toForumId').selectedIndex].value);
	if (id==0){
		alert('请正确选择目标版面!');
		c.o('forumId').focus();
		return false;
	}
	c.p("qwSubmit",true);
}
</script>
</head>
<body>
<%@ include file="inc/nav.jsp" %><%@ include file="inc/header.jsp" %>
<div class="sitemap">
<ul>
<li>您的位置:</li><li><a href="/club/" target="_parent">社区首页</a>&gt;&gt;</li><li><a href="main.jsp" target="_self">进站画面</a>&gt;&gt;</li><c:forEach var="f" items="${forum.forumViews}"><li><club:link type="forumName" forum="${f}" />&gt;&gt;</li></c:forEach><club:logic type="whichStr" defaultStr="" whichStr="movetopic|deltopic|delreply" logic="移动文章|删除主题|删除回复" logicKey="<%=ParamUtils.getStringParameter(request,"act","")%>"/>
</ul>
</div><%@ include file="inc/msgHint.jsp" %>
<div class="sidebar gform"><%
String act = ParamUtils.getStringParameter(request,"act");
if(act.equals("movetopic")){%>
<%@ include file="inc/topicMove.jsp" %>
<%}else if(act.equals("better")){%>
<%@ include file="inc/topicBetter.jsp" %>
<%}else if(act.equals("trashtopic")||act.equals("trashreply")){%>
<form id="gform" name="gform" action="/club/topic.do" method="post" onsubmit="return c.p('qwSubmit',true);">
<table summary="" class="tabform">
<tr><th scope="row">标题:</th><td><club:link type="title" request="<%=request%>" object="${topic}"/></td></tr>
<tr><th scope="row">作者:</th><td><c:out value="${topic.userName}" escapeXml="boolean"/></td></tr>
<tr>
<th scope="row"></th>
<td class="t_end">
<club:html type="input" name="act" id="act" htmlType="hidden" value="<%=ParamUtils.getStringParameter(request,"act")%>"/>
<club:html type="input" name="topicId" id="topicId" htmlType="hidden" value="${topic.topicId}"/>
<club:html type="input" name="replyId" id="replyId" htmlType="hidden" value="${topic.replyId}"/>
<club:html type="input" name="forumId" id="forumId" htmlType="hidden" value="${topic.forumId}"/>
<club:html type="input" name="userId" id="userId" htmlType="hidden" value="${topic.userId}"/>
<c:if test="${!topic.isDeleted}" ><club:html type="input" name="isDeleted" id="isDeleted" htmlType="hidden" value="true"/>
<input type="submit" name="qwSubmit" id="qwSubmit" value="确定删除"></c:if><c:if test="${topic.isDeleted}" >
<club:html type="input" name="isDeleted" id="isDeleted" htmlType="hidden" value="false"/>
<input type="submit" name="qwSubmit" id="qwSubmit" value="确定恢复本帖"></c:if>
</td>
</tr>
</table>
</form><%}%>
</div>
<%@ include file="inc/footer.jsp" %>
</body>
</html>
<!-- Powered by www.YeQiangWei.com -->

⌨️ 快捷键说明

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