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

📄 adminothers.jsp

📁 LyBBS基于Struts1.3/Ajax的架构
💻 JSP
字号:
<%@ page contentType="text/html; charset=GBK" %>
<%@ include file="../common/include/taglibs.jsp" %>
<html:html>
<head>
<title><lybbs:web key="forumName"/> - <bean:message key="jsp.admincenter.title"/></title>
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<link rel="bookmark" href="favicon.ico" type="image/x-icon">
<%@ include file="../common/include/adminheader.jsp" %>
</head>
<body bgcolor="#555555" topmargin=5 leftmargin=5>
<table width=95% cellpadding=0 cellspacing=1 border=0 bgcolor=#000000 align=center>
 <tr>
  <td>
  <table width=100% cellpadding=0 cellspacing=1 border=0>
   <tr>
    <td width=28% valign=top bgcolor=#FFFFFF>
    <lybbs:typeLeftTag/>
  </td>
  <td width=70% valign=top bgcolor=#FFFFFF>
   <table width=100% cellpadding=6 cellspacing=0 border=0>
    <form action="bbs_adminOthersManager.do" method="post" name="myform">
    <input type=hidden name="checkAction" value="yes">
    <input type=hidden name="action" value="<bean:write name="action"/>">
    <input type=hidden name="sessionToken" value="<%=ParameterUtils.getString(request,"sessionToken")%>">
    <tr>
     <td bgcolor="#333333">
      <font color=#FFFFFF><b><bean:message key="jsp.admincenter.other.set"/></b></font>
     </td>
    </tr>
    <tr>
     <td bgcolor="#EEEEEE">
     </td>
    </tr>
    <tr>
     <td bgcolor="#FFFFFF">
       <TABLE BORDER="0" width=100%>
        <TR>
         <TD><b><bean:message key="jsp.admincenter.other.experienceenabled"/></b>&nbsp;</TD>
         <TD>
           <select name="experienceOnlineEnabled">
             <option value="true"><bean:message key="common.lybbs.yes"/></option>
             <option value="false"><bean:message key="common.lybbs.no"/></option>
           </select>
         </TD>
        </TR>
        <TR>
         <TD><bean:message key="jsp.admincenter.other.experiencepermin"/>&nbsp;</TD>
         <TD valign=middle><INPUT TYPE="TEXT" SIZE="3" NAME="experiencePerHour" value="<bean:write name="othersBean" property="experiencePerHour"/>" maxlength="3"></TD>
        </TR>
        <TR>
         <TD><b><bean:message key="jsp.admincenter.other.homepagepostenabled"/></b>&nbsp;</TD>
         <TD>
           <select name="homePagePostEnabled">
             <option value="true"><bean:message key="common.lybbs.yes"/></option>
             <option value="false"><bean:message key="common.lybbs.no"/></option>
           </select>
         </TD>
        </TR>
        <TR>
         <TD><bean:message key="jsp.admincenter.other.homepagepostnumber"/>&nbsp;</TD>
         <TD valign=middle><INPUT TYPE="TEXT" SIZE="2" NAME="homePagePostNumber" value="<bean:write name="othersBean" property="homePagePostNumber"/>" maxlength="2"></TD>
        </TR>
        <TR>
         <TD><bean:message key="jsp.admincenter.other.homepagepostinterval"/>&nbsp;</TD>
         <TD valign=middle><INPUT TYPE="TEXT" SIZE="4" NAME="homePagePostInterval" value="<bean:write name="othersBean" property="homePagePostInterval"/>" maxlength="3"> minutes</TD>
        </TR>
        <TR>
         <TD><b><bean:message key="jsp.admincenter.other.homepagehotenabled"/></b>&nbsp;</TD>
         <TD>
           <select name="homePageHotEnabled">
             <option value="true"><bean:message key="common.lybbs.yes"/></option>
             <option value="false"><bean:message key="common.lybbs.no"/></option>
           </select>
         </TD>
        </TR>
        <TR>
         <TD><b><bean:message key="jsp.admincenter.other.homepagehotelite"/></b>&nbsp;</TD>
         <TD>
           <select name="homePageHotElite">
             <option value="true"><bean:message key="common.lybbs.yes"/></option>
             <option value="false"><bean:message key="common.lybbs.no"/></option>
           </select>
         </TD>
        </TR>
        <TR>
         <TD><bean:message key="jsp.admincenter.other.homepagehotinterval"/>&nbsp;</TD>
         <TD valign=middle><INPUT TYPE="TEXT" SIZE="4" NAME="homePageHotInterval" value="<bean:write name="othersBean" property="homePageHotInterval"/>" maxlength="3"> minutes</TD>
        </TR>
        <TR>
         <TD><b><bean:message key="jsp.admincenter.other.homepagestarenabled"/></b>&nbsp;</TD>
         <TD>
           <select name="homePageStarEnabled">
             <option value="true"><bean:message key="common.lybbs.yes"/></option>
             <option value="false"><bean:message key="common.lybbs.no"/></option>
           </select>
         </TD>
        </TR>
        <TR>
         <TD><bean:message key="jsp.admincenter.other.homepagestarinterval"/>&nbsp;</TD>
         <TD valign=middle><INPUT TYPE="TEXT" SIZE="4" NAME="homePageStarInterval" value="<bean:write name="othersBean" property="homePageStarInterval"/>" maxlength="4"> minutes</TD>
        </TR>
        <TR>
         <TD><b><bean:message key="jsp.admincenter.other.homepagestatenabled"/></b>&nbsp;</TD>
         <TD>
           <select name="homePageStatEnabled">
             <option value="true"><bean:message key="common.lybbs.yes"/></option>
             <option value="false"><bean:message key="common.lybbs.no"/></option>
           </select>
         </TD>
        </TR>
        <TR>
         <TD><b><bean:message key="jsp.admincenter.other.homepagegameenabled"/></b>&nbsp;</TD>
         <TD>
           <select name="homePageGameEnabled">
             <option value="true"><bean:message key="common.lybbs.yes"/></option>
             <option value="false"><bean:message key="common.lybbs.no"/></option>
           </select>
         </TD>
        </TR>
        <TR>
         <TD><b><bean:message key="jsp.admincenter.other.homepagestyleenabled"/></b>&nbsp;</TD>
         <TD>
           <select name="homePageStyleEnabled">
             <option value="true"><bean:message key="common.lybbs.yes"/></option>
             <option value="false"><bean:message key="common.lybbs.no"/></option>
           </select>
         </TD>
        </TR>
        <TR>
         <TD><b><bean:message key="jsp.admincenter.other.homepagedownloadenabled"/></b>&nbsp;</TD>
         <TD>
           <select name="homePageDownloadEnabled">
             <option value="true"><bean:message key="common.lybbs.yes"/></option>
             <option value="false"><bean:message key="common.lybbs.no"/></option>
           </select>
         </TD>
        </TR>
        <TR>
         <TD><b><bean:message key="jsp.admincenter.other.homepageregisterenabled"/></b>&nbsp;</TD>
         <TD>
           <select name="homePageRegisterEnabled">
             <option value="true"><bean:message key="common.lybbs.yes"/></option>
             <option value="false"><bean:message key="common.lybbs.no"/></option>
           </select>
         </TD>
        </TR>
        <TR>
         <TD><b><bean:message key="jsp.admincenter.other.homepageloginenabled"/></b>&nbsp;</TD>
         <TD>
           <select name="homePageLoginEnabled">
             <option value="true"><bean:message key="common.lybbs.yes"/></option>
             <option value="false"><bean:message key="common.lybbs.no"/></option>
           </select>
         </TD>
        </TR>
        <TR>
         <TD><b><bean:message key="jsp.admincenter.other.homepagelogoutenabled"/></b>&nbsp;</TD>
         <TD>
           <select name="homePageLogoutEnabled">
             <option value="true"><bean:message key="common.lybbs.yes"/></option>
             <option value="false"><bean:message key="common.lybbs.no"/></option>
           </select>
         </TD>
        </TR>
        <TR>
         <TD><b><bean:message key="jsp.admincenter.other.homepageblogenabled"/></b>&nbsp;</TD>
         <TD>
           <select name="homePageBlogEnabled">
             <option value="true"><bean:message key="common.lybbs.yes"/></option>
             <option value="false"><bean:message key="common.lybbs.no"/></option>
           </select>
         </TD>
        </TR>
        <TR>
         <TD><b><bean:message key="jsp.admincenter.other.maxlisttitlelength"/></b>&nbsp;</TD>
         <TD>
           <INPUT TYPE="TEXT" SIZE="2" NAME="maxListTitleLength" value="<bean:write name="othersBean" property="maxListTitleLength"/>" maxlength="2"> less than 50
         </TD>
        </TR>
       </TABLE>
       <hr width=100%>
       <TABLE BORDER="0" width=100%>
        <TR>
         <TD width=80><b><bean:message key="jsp.admincenter.other.weaponinterval"/></b>:</TD>
         <TD valign=middle colspan=3><INPUT TYPE="TEXT" SIZE="3" NAME="weaponInterval" value="<bean:write name="othersBean" property="weaponInterval"/>" maxlength="3"> minutes</TD>
        </TR>
        <TR>
         <TD width=80><bean:message key="common.lybbs.praise"/>1&nbsp;</TD>
         <TD valign=middle width=120>Title:&nbsp;<INPUT TYPE="TEXT" SIZE="6" NAME="praiseTitle1" value="<bean:write name="othersBean" property="praiseTitle1"/>"></TD>
         <TD valign=middle>Pic:&nbsp;<INPUT TYPE="TEXT" SIZE="40" NAME="praisePic1" value="<bean:write name="othersBean" property="praisePic1"/>"><logic:notEqual name="othersBean" property="praisePic1" value=""><img src="<bean:write name="othersBean" property="praisePic1"/>" border=0></logic:notEqual></TD>
         <TD valign=middle width=100>Money:&nbsp;<INPUT TYPE="TEXT" SIZE="3" NAME="praiseNum1" value="<bean:write name="othersBean" property="praiseNum1"/>" maxlength="3"></TD>
        </TR>
        <TR>
         <TD><bean:message key="common.lybbs.praise"/>2&nbsp;</TD>
         <TD valign=middle>Title:&nbsp;<INPUT TYPE="TEXT" SIZE="6" NAME="praiseTitle2" value="<bean:write name="othersBean" property="praiseTitle2"/>"></TD>
         <TD valign=middle>Pic:&nbsp;<INPUT TYPE="TEXT" SIZE="40" NAME="praisePic2" value="<bean:write name="othersBean" property="praisePic2"/>"><logic:notEqual name="othersBean" property="praisePic2" value=""><img src="<bean:write name="othersBean" property="praisePic2"/>" border=0></logic:notEqual></TD>
         <TD valign=middle>Money:&nbsp;<INPUT TYPE="TEXT" SIZE="3" NAME="praiseNum2" value="<bean:write name="othersBean" property="praiseNum2"/>" maxlength="3"></TD>
        </TR>
        <TR>
         <TD><bean:message key="common.lybbs.criticize"/>1&nbsp;</TD>
         <TD valign=middle>Title:&nbsp;<INPUT TYPE="TEXT" SIZE="6" NAME="criticizeTitle1" value="<bean:write name="othersBean" property="criticizeTitle1"/>"></TD>
         <TD valign=middle>Pic:&nbsp;<INPUT TYPE="TEXT" SIZE="40" NAME="criticizePic1" value="<bean:write name="othersBean" property="criticizePic1"/>"><logic:notEqual name="othersBean" property="criticizePic1" value=""><img src="<bean:write name="othersBean" property="criticizePic1"/>" border=0></logic:notEqual></TD>
         <TD valign=middle>Money:&nbsp;<INPUT TYPE="TEXT" SIZE="3" NAME="criticizeNum1" value="<bean:write name="othersBean" property="criticizeNum1"/>" maxlength="3"></TD>
        </TR>
        <TR>
         <TD><bean:message key="common.lybbs.criticize"/>2&nbsp;</TD>
         <TD valign=middle>Title:&nbsp;<INPUT TYPE="TEXT" SIZE="6" NAME="criticizeTitle2" value="<bean:write name="othersBean" property="criticizeTitle2"/>"></TD>
         <TD valign=middle>Pic:&nbsp;<INPUT TYPE="TEXT" SIZE="40" NAME="criticizePic2" value="<bean:write name="othersBean" property="criticizePic2"/>"><logic:notEqual name="othersBean" property="criticizePic2" value=""><img src="<bean:write name="othersBean" property="criticizePic2"/>" border=0></logic:notEqual></TD>
         <TD valign=middle>Money:&nbsp;<INPUT TYPE="TEXT" SIZE="3" NAME="criticizeNum2" value="<bean:write name="othersBean" property="criticizeNum2"/>" maxlength="3"></TD>
        </TR>
       </TABLE>
       <hr width=100%>
     </td>
    </tr>
    <tr>
     <td bgcolor="#EEEEEE" align=center><input type=submit value="<bean:message key="common.lybbs.submit"/>">
     </td>
    </tr>
    </form>
   </table>
   </td>
   </tr>
  </table>
  </td>
 </tr>
</table>
<script language=JavaScript>
  setCurrentSelect(document.myform.experienceOnlineEnabled,"<bean:write name="othersBean" property="experienceOnlineEnabled"/>");
  setCurrentSelect(document.myform.homePagePostEnabled,"<bean:write name="othersBean" property="homePagePostEnabled"/>");
  setCurrentSelect(document.myform.homePageHotEnabled,"<bean:write name="othersBean" property="homePageHotEnabled"/>");
  setCurrentSelect(document.myform.homePageHotElite,"<bean:write name="othersBean" property="homePageHotElite"/>");
  setCurrentSelect(document.myform.homePageStarEnabled,"<bean:write name="othersBean" property="homePageStarEnabled"/>");
  setCurrentSelect(document.myform.homePageStatEnabled,"<bean:write name="othersBean" property="homePageStatEnabled"/>");
  setCurrentSelect(document.myform.homePageGameEnabled,"<bean:write name="othersBean" property="homePageGameEnabled"/>");
  setCurrentSelect(document.myform.homePageStyleEnabled,"<bean:write name="othersBean" property="homePageStyleEnabled"/>");
  setCurrentSelect(document.myform.homePageDownloadEnabled,"<bean:write name="othersBean" property="homePageDownloadEnabled"/>");
  setCurrentSelect(document.myform.homePageRegisterEnabled,"<bean:write name="othersBean" property="homePageRegisterEnabled"/>");
  setCurrentSelect(document.myform.homePageLoginEnabled,"<bean:write name="othersBean" property="homePageLoginEnabled"/>");
  setCurrentSelect(document.myform.homePageLogoutEnabled,"<bean:write name="othersBean" property="homePageLogoutEnabled"/>");
  setCurrentSelect(document.myform.homePageBlogEnabled,"<bean:write name="othersBean" property="homePageBlogEnabled"/>");
</script>
</body>
</html:html>

⌨️ 快捷键说明

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