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

📄 threadtaglist.jsp

📁 非常有影响的 j道 论 坛 源码 国外很有明的专家编写的 ....对java爱好者很有参考价值
💻 JSP
字号:
<%@ taglib uri="struts-logic" prefix="logic" %>
<%@ taglib uri="struts-bean" prefix="bean" %>
<%@ taglib uri="struts-html" prefix="html" %>
<%@ taglib uri="/WEB-INF/MultiPages.tld" prefix="MultiPages" %>

<%@ page contentType="text/html; charset=UTF-8" %>

<bean:define id="title"  value=" 添加标签" />
<%@ include file="../header.jsp" %>
<link rel="stylesheet" href="<html:rewrite page="/jivejdon_css.jsp"/>" type="text/css" />
<script language="javascript" src="<html:rewrite page="/jdon_js.jsp"/>"></script>

<script>
	 var options = {
		      script:'<%=request.getContextPath()%>/query/tags.shtml?method=tags&',
		      varname:'q',
		      json:true,
		      shownoresults:true,
		      maxresults:16,
		      callback: function (obj) { 
		               $('json_info').update('' ); 
		      }
     		};
	
	</script>
<span id='json_info'></span>

 <form action="<%=request.getContextPath()%>/admin/tag/thread.shtml" method="post" >
   帖子编号:<input name="threadId" type="text">   
    <input type="submit" >
 </form>


<table cellpadding="3" cellspacing="0" border="0" width="100%">
<tr>
    <td class="smallgray">
<div class="tres">        
     符合查询主题贴共有<b><bean:write name="threadListForm" property="allCount"/></b>贴 
<MultiPages:pager actionFormName="threadListForm" page="/admin/tag/threadTagList.shtml" >
<MultiPages:prev name="&#9668;" />
<MultiPages:index displayCount="3" />
<MultiPages:next  name="&#9658;" />
</MultiPages:pager>
<a href="JavaScript:void(0);" class="tooltip html_tooltip_content_go">Go</a>

<div id="tooltip_content_go"  style="display:none">
<div class="tooltip_content">
			<div class="title">前往下页:</div>
			<div class="form">
				<input type="text" style="width: 50px;" id="pageToGo">
				<input type="button" value=" Go " onClick="goToAnotherPage('<html:rewrite page="/query/threadViewQuery.shtml"  />',
				<bean:write name="threadListForm" property="count" />);" />
				
			</div>
 </div>
</div> 
</div>      
    </td>
</tr>
</table>

<iframe id='target_new' name='target_new' src='' style='display: none'></iframe>

<table bgcolor="#cccccc"
 cellpadding="0" cellspacing="0" border="0" width="500">
<tr><td>
    <table bgcolor="#cccccc"
     cellpadding="3" cellspacing="1" border="0" width="100%">
    <tr bgcolor="#868602" background="<%=request.getContextPath()%>/images/tableheadbg.gif">
        <td width="1%"><b><font color="#ffffff">&nbsp; 标签 &nbsp;</font></b></td>
         <td width="1%" nowrap><b><font color="#ffffff">&nbsp; 回复 &nbsp;</font></b></td>
         <td>删除</td>
        <td width="500">
        <table width="100%"><tr><td>
          <b><font color="#ffffff">&nbsp; 主题名</font></b>
          </td><td >
           </td></tr>
         </table>
        </td>
       
    </tr>

<logic:iterate indexId="i"   id="forumThread" name="threadListForm" property="list" >
    <tr bgcolor="#FFFFEC">
        <td nowrap>
        <form action="<%=request.getContextPath()%>/admin/tag/savetags.shtml?method=savetags" method="post" target="target_new">
       
        
	<input type="hidden" name="threadId" value="<bean:write name="forumThread" property="threadId" />"/>
	<input  type="text" name="tagTitle" size="13" maxlength="25" id="searchV0_<bean:write name="forumThread" property="threadId" />" onfocus="javascript:ac(this.id)" value='' />
	<input  type="text" name="tagTitle" size="13" maxlength="25" id="searchV1_<bean:write name="forumThread" property="threadId" />" onfocus="javascript:ac(this.id)"   value=''/>
	<br>	
    <input  type="text" name="tagTitle" size="13" maxlength="25" id="searchV2_<bean:write name="forumThread" property="threadId" />" onfocus="javascript:ac(this.id)"  value=''/>
    <input  type="text" name="tagTitle" size="13" maxlength="25" id="searchV3_<bean:write name="forumThread" property="threadId" />" onfocus="javascript:ac(this.id)"  value=''/>
     <br><p align="right"> <html:submit>提交</html:submit></p>
    </form>		
         <logic:iterate id="threadTag" name="forumThread" property="tags" indexId="i">
             <script>
             $('searchV<bean:write name="i"/>_<bean:write name="forumThread" property="threadId" />').value ='<bean:write name="threadTag" property="title" />'             
             </script>
        </logic:iterate>

        </td>
         <td align="center">
            <bean:write name="forumThread" property="state.messageCount" />            
        </td>
        <td><html:link page="/message/messageDeleAction.shtml?" paramId="messageId" paramName="forumThread" paramProperty="rootMessage.messageId" onclick="return delConfirm()" target="_blank">
        <img src="../images/button_delete.gif" width="17" height="17" alt="删除该贴..." border="0"
        ></html:link></td>
        <td>
             <a href="<%=request.getContextPath()%>/thread/<bean:write name="forumThread" property="threadId"/>.html" 
              target="_blank">
             <b><span class="tooltip html_tooltip_content_<bean:write name="forumThread" property="threadId"/>">
             <bean:write name="forumThread" property="name" /></span></b></a>
              <br>
             <bean:write name="forumThread" property="rootMessage.body" filter="false" />

	
	
	
        </td>
       
   
        
    </tr>
</logic:iterate>


    </table>
    </td>
</tr>
</table>


<table cellpadding="3" cellspacing="0" border="0" width="100%">
<tr>
    <td class="smallgray">
<div class="tres">        
     符合查询主题共有<b><bean:write name="threadListForm" property="allCount"/></b>贴  
<MultiPages:pager actionFormName="threadListForm" page="/admin/tag/threadTagList.shtml"  >
<a href="JavaScript:void(0);" class="tooltip html_tooltip_content_go">Go</a>
<MultiPages:prev name="&#9668;" />
<MultiPages:index displayCount="3" />
<MultiPages:next  name="&#9658;" />
</MultiPages:pager>     
      </div>
    </td>
</tr>
</table>
<script>
		function ac(id){
	    	new AutoComplete(id,options);
		}
		
		
		</script>
<%@include file="../footer.jsp"%>


⌨️ 快捷键说明

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