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

📄 topic.jsp

📁 tbuy1.1.5是在netbeans环境下用JSF技术编写的一个论坛tbuy1.1.5是在netbeans环境下用JSF技术编写的一个论坛
💻 JSP
📖 第 1 页 / 共 2 页
字号:
<%@page contentType="text/html" pageEncoding="UTF-8"%><%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%><%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%><%@taglib prefix="t" uri="http://myfaces.apache.org/tomahawk"%><%@taglib prefix="hu" uri="http://www.tbuy.biz/huliqing"%><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"   "http://www.w3.org/TR/html4/loose.dtd"><style type="text/css">.tTitle {text-align: left;text-indent: 5px;height: 30px;background: #CED6DC;}.tCol1 {width: 200px;vertical-align: top;background: #F1F1FA;}.tCol2 {vertical-align: top;}.tCol3 {width: 3%;}.tCol4 {text-align:left;}.tCol5 {width: 150px;}.tColTop {text-align:right;}/*****************************/.thCol1 {}.thCol2 {text-align: right;}.thCol3 {text-align: right; width:40px;}.thStyle {width: 100%;border-bottom: 1px solid #CED6DC;}.thMargin {margin-right: 5px;}.tfStyle {width: 100%;border-top: 1px solid #F1F1F1;}/*****************************/.tRow1 {height: 25px;background: #F6F6F6;}.tRow2 {height: 190px; vertical-align: top;}.tRow3 {height: 25px;background: #F6F6F6;}.tRow31{height: 20px;}.tRow32{height: 150px;}.tRowContent{height:130px;}.tRowSign{height:0px;}/*****************************/.tScrollerMargin {margin-right: 5px;}.oStyle {margin-top: 3px;}</style><f:view locale="#{localeBean.locale}"><html>    <head>        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">        <title><h:outputText value="#{sayBBS.topic_title}"/></title>        <link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/common/css/style.css"/>        <link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/bbs/css/style.css"/>    </head>    <body>    <a name="top"/>    <%@ include file="/common/header.jsp" %>    <%@ include file="/common/top.jsp"%>    <%@ include file="/bbs/include/bbsnav.jsp"%>    <h:messages globalOnly="false" showDetail="true" infoClass="infos" errorClass="errors" fatalClass="fatals"/>    <h:form id="form">        <h:panelGrid border="0" columns="2" width="100%" cellpadding="3" cellspacing="0" columnClasses=",tColTop">            <h:panelGroup>                <h:outputText value="#{sayBBS.topic_moderators}" rendered="#{bbs_topic.masters!=null}"/>                <t:dataList value="#{bbs_topic.masters}" var="master">                    <h:column>                        <h:outputText value="#{master}"/>                    </h:column>                </t:dataList>            </h:panelGroup>            <h:panelGroup>                <h:commandLink action="#{bbs_topic.toReply}">                    <h:graphicImage url="/bbs/images/#{sayBBS.topic_imgPostReply}" styleClass="marginRight"/>                    <f:setPropertyActionListener target="#{bbs_reply.topic}" value="#{bbs_topic.topic}"/>                </h:commandLink>                <h:outputLink styleClass="marginRight" value="#{facesContext.externalContext.requestContextPath}/bbs/post.faces">                    <h:graphicImage url="/bbs/images/#{sayBBS.topic_imgNewTopic}"/>                </h:outputLink>            </h:panelGroup>        </h:panelGrid>        <!-- ============ 主题信息 ================================= -->        <t:dataScroller id="scroller_0" for="replys" pageIndexVar="pageIndex">        <h:panelGrid    border="0"                         columns="2"                         cellpadding="0"                         cellspacing="0"                         styleClass="bbs_table1 tableWH"                         headerClass="th3" columnClasses="tCol1,tCol2"                        rendered="#{pageIndex>1?'false':'true'}">            <f:facet name="header">                <h:outputText value="#{sayBBS.topic_topic}#{bbs_topic.topic.title}" styleClass="colorOrange"/>            </f:facet>            <h:panelGrid    border="0"                             width="100%"                             columns="1"                             cellpadding="1"                             cellspacing="1"                             style="text-indent:5px;">                <h:outputText   value="#{bbs_topic.userinfo.byUser}"/>                <h:graphicImage url="/bbs/images/upload/faces/#{bbs_topic.userinfo.face}"/>                                <h:panelGroup>                    <h:outputText value="#{sayBBS.topic_group}"/>                    <h:outputText value="#{BBSApplication.groups[bbs_topic.userinfo.group]['label']}"/>                </h:panelGroup>                <h:panelGroup>                    <h:outputText value="#{sayBBS.topic_topics}"/>                    <h:outputText value="#{bbs_topic.userinfo.totalTopic}"/>                </h:panelGroup>                <h:panelGroup>                    <h:outputText value="#{sayBBS.topic_articles}"/>                    <h:outputText value="#{bbs_topic.userinfo.totalArticle}"/>                </h:panelGroup>                <h:panelGrid columns="2" cellpadding="0" cellspacing="0">                    <h:outputText value="#{sayBBS.topic_state}" style="margin-left:5px;"/>                    <h:graphicImage url="/common/images/#{ComApplication.visitorsOper.visitors[bbs_topic.userinfo.byUser]['login'] &&                     !ComApplication.visitorsOper.visitors[bbs_topic.userinfo.byUser]['hidden']?'online.png':'offline.png'}"/>                </h:panelGrid>                <h:panelGroup>                    <h:outputText value="#{sayBBS.topic_lastVisited}"/>                    <h:outputText value="#{bbs_topic.userinfo.lastOnline}">                        <f:convertDateTime pattern="yyyy-MM-dd"/>                    </h:outputText>                </h:panelGroup>            </h:panelGrid>            <h:panelGrid    border="0"                             columns="1"                            cellpadding="1"                             cellspacing="1"                            styleClass="bbs_layout tableWH"                            rowClasses="tRow1,tRow2,tRow3">                <h:panelGrid   border="0"                                columns="3"                               cellpadding="1"                                cellspacing="1"                                columnClasses="thCol1,thCol2,thCol3"                               styleClass="thStyle">                    <h:panelGroup styleClass="colorGray">                        <h:outputText value="#{sayBBS.topic_posted}"/>                        <h:outputText value="#{bbs_topic.topic.date}" styleClass="marginRight">                            <f:convertDateTime dateStyle="full" timeStyle="short"/>                        </h:outputText>                        <h:outputText value="[#{sayBBS.topic_views}#{bbs_topic.topic.totalView}]" styleClass="colorGreen"/>                    </h:panelGroup>                    <h:panelGroup>                        <h:commandLink action="#{bbs_topic.toReply}" styleClass="thMargin">                            <h:graphicImage url="/bbs/images/#{sayBBS.topic_imgReply}"/>                            <f:setPropertyActionListener target="#{bbs_reply.topic}" value="#{bbs_topic.topic}"/>                        </h:commandLink>                        <h:commandLink action="#{bbs_topic.toReplyByQuoteTopic}" styleClass="thMargin">                            <h:graphicImage url="/bbs/images/#{sayBBS.topic_imgQuote}"/>                                            </h:commandLink>			<h:commandLink action="#{bbs_topic.storeTopic}">                            <h:graphicImage url="/bbs/images/#{sayBBS.topic_imgFavorite}"/>                                          </h:commandLink>                    </h:panelGroup>                    <h:panelGrid border="0" columns="2" cellpadding="0" cellspacing="0">                        <h:outputText value="#"/>                        <h:outputLink value="#top" title="#{sayBBS.topic_toTop}">                            <h:graphicImage url="/bbs/images/top.gif"/>                        </h:outputLink>                    </h:panelGrid>                </h:panelGrid>		                <!-- 关于主体内容及上传文件 -->                <h:panelGrid   border="0"                                columns="1"                                styleClass="tableWH colorWhiteBG"                               cellpadding="3"                                cellspacing="3"                               columnClasses="tCol2"                               rowClasses="tRowContent,tRowSign">                   <h:panelGroup>                       <hu:embed  uiMode="none"                                  id="player"                                   playCount="20"                                   visible="#{bbs_topic.music.uri!=null}"                                  url="#{bbs_topic.music.uri}"                                   lrc="#{bbs_topic.music.lrc}"                                  style="margin-bottom:1px;"/>                        <t:div>                            <h:outputText   value="#{sayBBS.topic_articleFrom}#{bbs_topic.topic.from}"                                            style="font-weight:Bold;"                                             rendered="#{bbs_topic.topic.from!='undefine' && bbs_topic.topic.from!=''}"/>                        </t:div>                        <h:outputText escape="false" value="#{bbs_topic.topic.content}"/>                        <h:dataTable  border="0"                                       width="100%"                                      cellpadding="3"                                       cellspacing="3"                                       style="background: #F6F6F6"                                      rendered="#{bbs_topic.files!=null}"                                      value="#{bbs_topic.files}" var="file">                            <h:column>                                <h:panelGrid columns="6"                                              border="1"                                             cellpadding="3"                                              cellspacing="3"                                             styleClass="table1"                                              rowClasses="row2,row1"                                             style="text-align:center;width:400px;">                                    <h:outputText value="#{sayBBS.topic_ffFile}"/>                                    <h:outputText value="#{sayBBS.topic_ffType}"/>                                    <h:outputText value="#{sayBBS.topic_ffSuffix}"/>                                    <h:outputText value="#{sayBBS.topic_ffSize}"/>                                    <h:outputText value="#{sayBBS.topic_ffDescription}"/>                                    <h:outputText value="#{sayBBS.topic_ffSave}"/>                                    <h:outputText value="#{file.name}"/>                                    <h:outputText value="#{file.type}"/>                                    <h:outputText value="#{file.suffix}"/>                                    <h:outputText value="#{file.size} k"/>                                    <h:outputText value="#{file.description}"/>                                    <h:outputLink value="#{facesContext.externalContext.requestContextPath}/bbs/images/upload/file/#{file.name}">                                        <h:outputText value="#{sayBBS.topic_ffSave}"/>                                    </h:outputLink>                                </h:panelGrid>                                <h:graphicImage url="/bbs/images/upload/file/#{file.name}" rendered="#{file.type=='image'}"/>                            </h:column>                        </h:dataTable>		    </h:panelGroup>                    <h:panelGrid   border="0"                                   columns="2"                                   styleClass="tableWH"                                   headerClass="th"                                   columnClasses="tCol3,tCol4"                                   rendered="#{bbs_topic.userinfo.signable && BBSApplication.signable}">                        <f:facet name="header">                            <h:graphicImage url="/bbs/images/sign.gif"/>                        </f:facet>                        <h:panelGroup/>                        <h:outputText value="#{bbs_topic.userinfo.sign}"/>                    </h:panelGrid>                </h:panelGrid>                                <h:panelGrid border="0" columns="2" styleClass="tfStyle" columnClasses="tCol5,,">                    <h:panelGroup>                        <h:commandLink styleClass="marginRight" action="#{bbs_topic.toShowToolsTopic}">                            <h:graphicImage url="/bbs/images/#{sayBBS.topic_imgEdit}"/>                            <f:setPropertyActionListener target="#{bbs_topicTools.topic}" value="#{bbs_topic.topic}"/>                        </h:commandLink>                        <h:commandLink styleClass="marginRight"action="#{bbs_topic.toMessage}">                            <h:graphicImage url="/bbs/images/#{sayBBS.topic_imgMessage}"/>                            <f:setPropertyActionListener target="#{mess_send.toUser}" value="#{bbs_topic.userinfo.byUser}"/>                        </h:commandLink>                    </h:panelGroup>		                        <h:panelGroup styleClass="colorGray" rendered="#{bbs_topic.topic.editByUser!='undefine'}">                        <h:outputText value="#{sayBBS.topic_lastEdit}"/>                        <h:outputText value="#{bbs_topic.topic.editByDate}">                            <f:convertDateTime dateStyle="full" timeStyle="short"/>                        </h:outputText>                        <h:outputText value=" by #{bbs_topic.topic.editByUser}"/>                    </h:panelGroup>                </h:panelGrid>            </h:panelGrid>        </h:panelGrid>        </t:dataScroller>        <!-- ============ 回复列表 ================================= -->        <t:dataTable    id="replys"                         border="0"                        cellpadding="0"                         cellspacing="0"

⌨️ 快捷键说明

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