📄 myliketopic.jsp
字号:
<%@ page language="java" contentType="text/html;charset=UTF-8" session="true" errorPage="err.jsp" %>
<%@ include file="./GVinc/gvImport.jsp" %>
<jsp:useBean id="ctil" scope="page" class="com.gamvan.club.topic.ClubTopicIlike"/>
<jsp:useBean id="cci" scope="page" class="com.gamvan.club.classed.ClubClassInfo"/>
<%
if(gvUserID==0){
out.print(OutPrint.prtCenter("您尚未登陆,无权进行此项操作!","userLogin.jsp",1));
out.close();
return;
}
%><html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><%=clubTitle%> - 我订阅的话题</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<META content=<%=clubMeta%> name=keywords>
<link href="./GVimgs/favicon.ico" rel="Bookmark">
<link rel="icon" href="./GVimgs/favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="./GVimgs/favicon.ico" type="image/x-icon" />
<STYLE type="text/css" media="screen">
@import url(./GVinc/GamVanClubStyle.css);
</STYLE>
</head>
<body><DIV id="waitDiv" style="LEFT: 40%; VISIBILITY: hidden; POSITION: absolute; TOP: 30%; TEXT-ALIGN: center">
<TABLE cellPadding=6 border=0>
<TBODY><TR><TD align=middle>
<IMG src="GVimgs/loading.gif" alt="请稍候..." width="30" height="30">
<BR>
<FONT color="red">数据载入中,请稍候...</FONT></TD></TR></TBODY></TABLE></DIV>
<IFRAME id=hiddenframe style="DISPLAY: none" src="about:blank" width=0 height=0></IFRAME>
<script type="text/javascript" src="./GVscript/GVjumpPage.js"></script>
<script language="javascript" type="text/javascript" src="GVscript/GVtopCode.js"></script>
<script language="javascript" type="text/javascript" src="GVscriptInc/topBar.js"></script>
<script language="javascript" type="text/javascript">
gv_showWait('waitDiv', 1);
prtie2('<%=clubTitle%> - 我订阅的主题');
</script>
<%@ include file="./GVinc/userMenu.jsp" %>
<table width="100%" border="0" align="center" cellpadding="2" cellspacing="1" class="tab">
<tr class="tab1"><td valign="middle">
<%=com.gamvan.club.ClubHtmlConst.gamvan_menu("<a href=\"userBox.jsp\">我的工具箱</a>>>我订阅的主题")%>
</td></tr></table>
<table width="100%" border="0" align="center" cellpadding="2" cellspacing="1" class="tab">
<tr class="tab1"><td>
<img src="GVimgs/topicPro/new.gif" align="absmiddle" />自您订阅后本主题<strong> 有 </strong>新回复 <img src="GVimgs/topicPro/old.gif" align="absmiddle" />
自您订阅后本主题<strong> 无 </strong>新回复
</td></tr></table>
<%
if(request.getMethod().equals("POST")){
ctil.delLike(request.getParameterValues("likeID"));
out.print(OutPrint.prtCenter(ctil.getMessage(),"myLikeTopic.jsp",1));
out.print(Gfoot());
if(true)return;
out.close();
}
%>
<table width="100%" border="0" align="center" cellpadding="2" cellspacing="1" class="tab">
<form name="Gforms" id="Gforms" method="post" action="" onSubmit="javascript:postMsg();">
<tr align="center" class="tr">
<td width="128" height="25"><strong>来自</strong></td>
<td width="40"><strong>更新</strong></td>
<td><strong>订阅的主题</strong></td>
<td width="100"><strong>作者</strong></td>
<td width="120"><strong>订阅时间</strong></td>
<td width="40"><strong>选择</strong></td>
</tr>
<%
int iPage = ParamUtils.getIntParameter(request, "iPage", 1);
ctil.setMyUserID(gvUserID);
int totalPage = ctil.myLikeTopicListCount();
List list = ctil.myLikeTopicList(iPage,30);
ClubClassItem ccit = null;
%>
<c:forEach var="t" items="<%=list%>">
<tr class="tab2"><td width="128" height="25" align="center">
<c:set value="${t.ccID}" target="${cci}" property="ccID" />
<%
ccit = cci.getClubClassInfo();
if(ccit!=null){
%>
<club:classinfo type="className" value="<%=ccit.getCcName()%>" idIs="<%=ccit.getCcID()%>"/>
<%}%>
</td><td align="center">
<club:topic type="img_iLike" value="${t.lastTime}" property="${t.topicLastReTime}" />
</td><td width="-1">
<club:topic type="topic" ccID="${t.ccID}" url="clubPage.jsp?ccStyle=0" property="_blank" idIs="${t.topicID}" value="${t.topic}" bea="<%=true%>"/>
</td><td align="center">
<club:users type="userName" value="${t.topicUserName}" idIs="${t.topicUserID}" bea="false" />
</td><td align="center">
<club:topic type="dateTime" value="${t.addTime}" />
</td>
<td align="center">
<club:topic type="htmlCheckbox" idIs="${t.likeID}" property="likeID"/>
</td></tr>
</c:forEach>
<%list=null;%>
<tr class="tab2"><td height="25" colspan="5" align="right">
<input name="gvSubmit" type="submit" class="btn" value="取消订阅" />
<input type="hidden" name="gvBack" value=""/>全(反)选</td><td align="center">
<input name="chkall" type="checkbox" id="chkall" value="on" onClick="checkAll(this.form)"/>
</td></tr></form></table>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr><td><%=OutPrint.pageJump(totalPage,30, iPage, "myLikeTopic.jsp?")%></td></tr></table>
<%@ include file="GVinc/gvOnlineArea.jsp" %>
<%=Gfoot()%>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -