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

📄 editsysconfig.jsp

📁 留言簿架构 oracle 9i + jsp + struts 留言簿基本功能: 1 、客人签写留言 2 、基本的UBB支持
💻 JSP
字号:
<%@ page language="java" pageEncoding="gb2312"%>
<%@ page import="java.util.*" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<% 
Hashtable dynamicParameter = ( Hashtable)request.getAttribute( "dynamicParameter" ); 
Hashtable hashmap =  (Hashtable)request.getAttribute( "Editsysconfig" ); 
  
%>
<html> 
<head> 
<meta name="Author" content="BlueSailor">
<title><%=dynamicParameter.get( "guestBookName" )%></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
 
<%@ include file="../style.jsp" %>
</head>
<body>
<%@ include file="menu.jsp" %>
 <html:form action="admin/updatesysconfig">
 <html:hidden property="id" value='<%=hashmap.get("ID").toString() %>'/> 
  <div align="center"> 
    <table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="<%=dynamicParameter.get( "styleInfo/bordercolor" )%>" width="442" height="333">
      <tr> 
        <td width="100%" height="22" colspan="2" align="center" class="addfont"><strong>参数设置</strong></td>
      </tr>
      <tr> 
        <td width="47%" height="22" align="right" class="addfont">留言簿名称:</td>
        <td width="53%" height="22" class="lybtable"> 
        <html:text property="guestbookname" value="<%=hashmap.get("GUESTBOOKNAME").toString() %>"></html:text>
        </td>
      </tr>
      <tr> 
        <td width="47%" height="22" align="right" class="addfont">网站首页网址:</td>
        <td width="53%" height="22" class="lybtable"> <html:text property="websiteurl" value="<%=hashmap.get("WEBSITEURL").toString() %>"></html:text></td>
      </tr>
      <tr> 
        <td width="47%" height="22" align="right" class="addfont">每页显示留言条数:</td>
        <td width="53%" height="22" class="lybtable"> <html:text property="pagesize" value="<%=hashmap.get("PAGESIZE").toString() %>" size="20" onkeyup="this.value=this.value.replace(/\D/g,'')" ></html:text></td>
      </tr>
      <tr>  
        <td width="47%" height="22" align="right" class="addfont">版权所有:</td>
        <td width="53%" height="22" class="lybtable"><html:text property="copyright" value="<%=hashmap.get("COPYRIGHT").toString() %>" size="20"></html:text></td>
      </tr>
      <tr> 
        <td width="47%" height="23" align="right" class="addfont">版本号:</td>
        <td width="53%" height="23" class="lybtable"><html:text property="versionnumber" readonly="true" value="<%=hashmap.get("VERSIONNUMBER").toString() %>" size="20"></html:text></td>
      </tr>
      <tr> 
        <td width="47%" height="22" align="right" class="addfont">悄悄话功能:</td>
        <td width="53%" height="11" class="lybtable">
        <html:select property="secretly" value="<%=hashmap.get("SECRETLY").toString() %>" size="1"> 
        <html:option value="0">关闭</html:option>
        <html:option value="1">开启</html:option>  
        </html:select>   
         </td>
      </tr>
      <tr>
        <td width="47%" height="22" align="right" class="addfont">后台审核: </td>
        <td height="30" class="lybtable">
         <html:select property="auditing" value="<%=hashmap.get("AUDITING").toString()%>" size="1"> 
            <html:option value="0">关闭</html:option>
            <html:option value="1">开启</html:option>       
         </html:select> 
          (经过审核的留言才能显示)</td>
      </tr>
      <tr> 
        <td width="47%" height="22" align="right" class="addfont">表情图像:</td>
        <td width="53%" height="23" class="lybtable"> 
        <html:select property="facepic"  value="<%=hashmap.get("FACEPIC").toString()%>" size="1"> 
           <html:option   value="0">关闭</html:option>
           <html:option value="1">开启</html:option>       
        </html:select> </td>
      </tr>
      <tr> 
        <td width="47%" height="22" align="right" class="addfont">UBB图像:</td>
        <td width="53%" height="23" class="lybtable">
       <html:select property="ubbpic" value="<%=hashmap.get("UBBPIC").toString()%>" size="1">  
        <html:option value="0">关闭</html:option>
        <html:option value="1">开启</html:option>   
        </html:select> </td>
      </tr>
      <tr> 
        <td width="47%" height="22" align="right" class="addfont">留言板风格:</td>
        <td width="53%" height="23" class="lybtable"> 
          <html:select property="displaystyle" value="<%=hashmap.get("DISPLAYSTYLE").toString()%>" size="1">  
            <html:option   value="1">蓝色</html:option>  
            <html:option value="2">灰色</html:option>  
            <html:option value="3">黄色</html:option>  
            <html:option value="4">绿色</html:option>  
          </html:select></td>
      </tr>
      <tr> 
        <td width="47%" height="22" align="right" class="addfont">留言最大字节数:</td>
        <td width="53%" height="11" class="lybtable"><html:text property="leavewordlength" value="<%=hashmap.get("LEAVEWORDLENGTH").toString() %>" size="20"  onkeyup="this.value=this.value.replace(/\D/g,'')" ></html:text></td>
      </tr>
      <tr> 
        <td width="47%" height="22" align="right" class="addfont">(用,分开)过滤的语言:</td>
        <td width="53%" height="25" class="lybtable"><html:text property="filterchar" value="<%=hashmap.get("FILTERCHAR").toString() %>" size="20"></html:text></td>
      </tr>
      <tr class="lybtable"> 
        <td width="100%" height="25" colspan="2" align="right"> <p align="center"> 
           <html:submit value="提交" ></html:submit> 
            &nbsp;  
            <html:reset value="重置" ></html:reset>
        </td>
      </tr>
    </table>  
</div>  
</html:form>
</body> 
 
</html>

⌨️ 快捷键说明

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