?? forum.jsp
字號:
<%@ page contentType="text/html; charset=GBK" %>
<%@ include file="common/include/taglibs.jsp" %>
<html:html>
<head>
<title><lybbs:web key="forumName"/></title>
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<link rel="bookmark" href="favicon.ico" type="image/x-icon">
<logic:present name="freshTime" scope="request">
<meta http-equiv="refresh" content="<bean:write name="freshTime" scope="request"/>; url=bbs_forum.do?<%=request.getQueryString()%>">
</logic:present>
<%@ include file="common/include/header.jsp" %>
<script language="JavaScript">
function menu(){
var URL = document.jump.jumpto.options[document.jump.jumpto.selectedIndex].value;
location.href = URL; target = '_self';
}
function CheckAll(form) {
for(var i=0;i<form.elements.length;i++) {
var e = form.elements[i];
e.checked = true;
}
}
function FanAll(form) {
for(var i=0;i<form.elements.length;i++) {
var e = form.elements[i];
if (e.checked == true) {
e.checked = false;
}
else {
e.checked = true;
}
}
}
function SetAction(A) {
document.optposts.action.value=A;
}
</script>
</head>
<%
int forumID=ParameterUtils.getInt(request,"forumID");
int readFlag=ParameterUtils.getInt(request,"readFlag");
if(readFlag<0 || readFlag>3) readFlag=0;
String accessaryExt;
/*
0-normal
1-jinghua
2-dustbin
3-not validate
*/
%>
<body topmargin=0 leftmargin=0>
<lybbs:web key="popMsg"/>
<a name="top"></a>
<DIV ID="dek" CLASS="dek"></DIV>
<IFRAME name=hiddenframe width=0 height=0></IFRAME>
<script language="JavaScript">
<!-- Begin
Xoffset=-10;
Yoffset=20;
var nav,old,iex=(document.all),yyy=-1000;
if(navigator.appName=="Netscape") {
(document.layers)?nav=true:old=true;
}
if(!old){
var skn=(nav)?document.dek:dek.style;
if(nav)document.captureEvents(Event.MOUSEMOVE);
document.onmousemove=get_mouse;
}
function get_mouse(e){
var x=(nav)?e.pageX:event.x+document.body.scrollLeft;skn.left=x+Xoffset;
var y=(nav)?e.pageY:event.y+document.body.scrollTop;skn.top=y+yyy;
}
function kill(){
if(!old){yyy=-1000;skn.visibility="hidden";}
}
function popup(img){
foto1= new Image();
foto1.src=img;
Controlla(img);
}
function Controlla(img){
if(foto1.width!=0&&foto1.height!=0){
largh=foto1.width;
altez=foto1.height;
if(largh>100) {
altez=parseInt(altez*100/largh);
largh=100;
}
viewFoto(img);
}
else{
largh=50;
altez=50;
viewFoto2();
}
}
function viewFoto(img){
var content="<table border=0 style='border:1px solid #000000;position:relative;left:-20;z-index:20;visibility:visible;top:"+(0-altez-50)+"' width="+largh+" height="+altez+" cellspacing=0 cellpadding=0><TR><TD align=center bgcolor=#ffffff><img src="+img+" width="+largh+" height="+altez+" border=0></TD></TR></TABLE>";
if(old){return;}
else{yyy=Yoffset;
if(nav){skn.document.write(content);skn.document.close();skn.visibility="visible"}
if(iex){document.all("dek").innerHTML=content;skn.visibility="visible"}
}
}
function viewFoto2(){
var content="";
if(old){return;}
else{yyy=Yoffset;
if(nav){skn.document.write(content);skn.document.close();skn.visibility="visible"}
if(iex){document.all("dek").innerHTML=content;skn.visibility="visible"}
}
}
//End -->
</script>
<TABLE class=tableCommonStyle cellSpacing=1 cellPadding=3 border=0 align=center>
<TR>
<TD height=4 class=bgStyle></TD>
</TR>
<TR>
<TD class=noBgStyle>
<lybbs:typeAdTag/>
</TD>
</TR>
<TR>
<TD height=4 class=bgStyle></TD>
</TR>
<tr>
<td class=menuStyle height=22>
<table width=100% cellpadding=0 cellspacing=0 border=0>
<tr>
<td align=left>
<lybbs:typeUserHeaderTag forumID="<%=forumID%>"/>
</td>
<td align=right>
<lybbs:web key="returnHomeLink"/>
</td>
</tr>
</table>
</td>
</tr>
</table>
<br>
<table class=tableCommonStyle cellpadding=3 cellspacing=1 border=0 align=center>
<tr>
<td class=navStyle vAlign=center height=25>
<img src="lybbs/images/forum_nav.gif" width="9" height="9" align="absMiddle"> <a href="bbs_index.do"><lybbs:web key="forumName"/></a> <bean:message key="common.lybbs.arrow"/><bean:write name="forumNavBean" filter="false" scope="request"/>
</td>
</tr>
</table>
<logic:equal name="statusBean" property="announcementEnabled" value="true">
<br>
<table class=tableNoBgStyle cellpadding=1 cellspacing=0 align=center>
<tr>
<td width=30>
<img src="lybbs/images/announce.gif" border=0 width=18 height=18>
</td>
<td align=left width=400>
<script language=JavaScript>
document.ns = navigator.appName == "Microsoft Internet Explorer"
function showStr(str){
if(!document.ns){document.write(str[0]);}
else{
document.write('<div id="icefable1">'
+'<table width=570 border=0 cellspacing=0 cellpadding=0>');
for(var i=0,m=str.length;i<m;i++) {
document.write('<tr><td height=20>'+str[i]+'</td></tr>');
}
document.write('</table></div>');
}
}
function init_srolltext(){
marqueesHeight=20;//the height of scroll
stopscroll=false;
//icefable1.style.width=0;
icefable1.style.height=marqueesHeight;
icefable1.style.overflowX="visible";
icefable1.style.overflowY="hidden";
icefable1.noWrap=true;
icefable1.onmouseover=new Function("stopscroll=true");
icefable1.onmouseout=new Function("stopscroll=false");
preTop=0;
currentTop=0;
firstTime=true;
stoptime=0;
icefable1.scrollTop=0;
setInterval("scrollUp()",50);//the time of scroll
}
function scrollUp(){
if(stopscroll==true) return;
currentTop+=1;
if(currentTop==21){
stoptime+=1;
currentTop-=1;
if(stoptime==40){
//the time of stop
currentTop=0;
stoptime=0;
firstTime=false;//scroll up util the end of first stop time
}
}
else if(firstTime==false) {
preTop=icefable1.scrollTop;
icefable1.scrollTop+=1;
if(preTop==icefable1.scrollTop){
icefable1.scrollTop=0;
firstTime=true;//start again
}
}
}
var strArray1=new Array();
</script>
<lybbs:typeFirstAnnouncementTag forumID="<%=forumID%>"/>
</td>
<td> </td>
</tr>
</table>
</logic:equal>
<lybbs:typeOnlineTag forumID="<%=forumID%>"/>
<br>
<script language="JavaScript">
function queryAdmin() {
if(document.modjump.queryadmin.value!="#") {
location.href="bbs_userShow.do?userID="+document.modjump.queryadmin.value;
}
}
</script>
<table class=tableNoBgStyle cellpadding=0 cellspacing=0 align=center>
<tr>
<td align=center width=2></td>
<td>
<a href=bbs_post.do?action=new&forumID=<%=forumID%>><img src=lybbs/images/<bean:write name="iconBean" property="newThreadLogo"/> border=0 alt="<bean:message key="jsp.forum.addnewpost"/>"></a>
<a href=bbs_post.do?action=poll&forumID=<%=forumID%>><img src=lybbs/images/<bean:write name="iconBean" property="newPollLogo"/> border=0 alt="<bean:message key="jsp.forum.addnewpoll"/>"></a>
<a href=bbs_bulletin.do?action=add&forumID=<%=forumID%>><img src=lybbs/images/<bean:write name="iconBean" property="newXzbLogo"/> border=0 alt="<bean:message key="jsp.forum.addbulletin"/>"></a>
</td>
<form action="bbs_searchInForum.do" method="post">
<td align=right>
<input type=hidden name="forumID" value="<%=forumID%>">
<select name="action">
<option value="1"><bean:message key="jsp.forum.noreply"/></option>
<option value="2"><bean:message key="jsp.forum.replynotself"/></option>
</select>
<input type=submit name=submit value="<bean:message key="common.lybbs.submit"/>">
</td>
</form>
<form action="bbs_userShow.do" method="post" name="modjump">
<td align=right>
<img src=lybbs/images/team2.gif width=19 height=19 align=absmiddle>
<input type=hidden name="action" value="show">
<select name="queryadmin" onchange="queryAdmin()">
<option value="#"><bean:message key="common.lybbs.forumadmin"/>: </option>
<option value="#">------------</option>
<logic:iterate id="admin" name="adminListBean" scope="request">
<option value="<bean:write name="admin" property="userID"/>"><bean:write name="admin" property="userName"/></option>
</logic:iterate>
</select>
</td>
</form>
</tr>
</table>
<table class=tableNoBgStyle cellpadding=0 cellspacing=0 align=center>
<tr>
<td>
<logic:present name="bulletinBean" scope="request">
<bean:message key="jsp.bulletin.name"/>: <img src=lybbs/images/icon.gif width=14 height=12> <a href="bbs_bulletin.do?forumID=<%=forumID%>"><bean:write name="bulletinBean" property="xzbTitle"/></a> -- <bean:write name="bulletinBean" property="xzbAuthor"/>
</logic:present>
</td>
<td align=right>
<a href="servlet/lybbs_rss?forumID=<%=forumID%>" target="_blank"><img src="lybbs/images/rss2.gif" border="0" align="absmiddle"></a>
<%
if(readFlag>0) {
%>
<img src=lybbs/images/icon.gif width=14 height=12> <a href=bbs_forum.do?forumID=<%=forumID%>><span class=highLight><bean:message key="jsp.forum.enterforum"/></span></a>
<%
}
else {
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -