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

📄 sysmyset.jsp

📁 tbuy1.1.5是在netbeans环境下用JSF技术编写的一个论坛tbuy1.1.5是在netbeans环境下用JSF技术编写的一个论坛
💻 JSP
字号:
<%--     Document   : sysConfig    Created on : 2007-9-28, 2:58:15    Author     : huliqing--%><%@page contentType="text/html"%><%@page 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"%><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"   "http://www.w3.org/TR/html4/loose.dtd"><style type="text/css">.tCol1 {    width: 120px;}</style><f:view locale="#{localeBean.locale}"><html>    <head>        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">        <title>个性设置</title>        <link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/common/css/style.css"/>    </head>    <body style="margin:0px">        <h:panelGrid columns="1"         border="0"         cellpadding="3"         cellspacing="3"        styleClass="table2 tableWH"         headerClass="th">            <f:facet name="header">                <h:outputText value="个性化配置"/>            </f:facet>            <h:outputText escape="false" styleClass="colorGray" 	    value="提示:在这里,你可以设置网站系统的logo、banner、icp、页脚、版权信息等、"/>            <h:messages globalOnly="true"             showDetail="true"             infoClass="infos"             errorClass="errors"             fatalClass="fatals"/>	    <h:form id="myForm1" enctype="multipart/form-data">                 <h:panelGrid border="0"                      columns="1"                      width="100%"                     cellpadding="2"                      cellspacing="2"                     style="background:#f6f6f6;">                        <h:panelGroup>                        <fieldset>                            <legend>                                <h:outputText value="设置我的Logo图片"/>                            </legend>                            <h:panelGrid border="0"                            columns="1"                            cellpadding="3"                             cellspacing="3"                            style="height:60px;">                                <h:panelGroup>                                    <t:inputFileUpload id="logo" required="true" size="40" styleClass="marginRight" style="height:25px;"                                        value="#{com_sysMySet.myFileLogo}"/>                                    <h:commandButton value="设置logo" action="#{com_sysMySet.setLogo}"/>                                </h:panelGroup>                                <h:message for="logo" errorClass="errors"/>                            </h:panelGrid>                        </fieldset>                        </h:panelGroup>                </h:panelGrid>            </h:form>	    	    <h:form id="myForm2" enctype="multipart/form-data">                <h:panelGrid border="0"                  columns="1"                  width="100%"                 cellpadding="2"                  cellspacing="2"                 style="background:#f6f6f6;">                    <h:panelGroup>                    <fieldset>                        <legend>                            <h:outputText value="设置主页banner图片"/>                        </legend>                        <h:panelGrid    border="0"                                        columns="1"                                        cellpadding="3"                                         cellspacing="3"                                        style="height:60px;">                            <h:panelGroup>                                <t:inputFileUpload id="banner" size="40" styleClass="marginRight" style="height:25px;"                                value="#{com_sysMySet.myFileBanner}"/>                                <h:commandButton value="设置banner" action="#{com_sysMySet.setBanner}" styleClass="marginRight"/>                                <h:commandButton value="清除banner" action="#{com_sysMySet.clearBanner}"/>                            </h:panelGroup>                            <h:panelGroup>                                <h:inputTextarea value="#{com_sysMySet.bannerScript}" rows="4" cols="60"/>                                <h:commandButton value="直接使用代码" action="#{com_sysMySet.setBannerScript}"/>                            </h:panelGroup>                            <h:message for="banner" errorClass="errors"/>                        </h:panelGrid>                    </fieldset>                    </h:panelGroup>                </h:panelGrid>            </h:form>	    	    <h:form id="myForm3">                <h:panelGrid border="0"                      columns="1"                      width="100%"                     cellpadding="2"                      cellspacing="2"                     style="background:#f6f6f6;">                        <h:panelGroup>                        <fieldset>                            <legend>                                <h:outputText value="其它信息"/>                            </legend>                            <h:panelGrid border="0"                            columns="2"                            cellpadding="3"                             cellspacing="3">                                <h:outputText value="网站名称"/>                                <h:inputText value="#{com_sysMySet.webname}"/>                                <h:outputText value="ICP备案信息"/>                                <h:inputText value="#{com_sysMySet.icp}" size="60"/>                                <h:outputText value="其它信息"/>                                <h:inputTextarea value="#{com_sysMySet.comment}" rows="4" cols="60"/>                                <h:panelGroup/>                                <h:commandButton value="确认设置" action="#{com_sysMySet.setOther}"/>                            </h:panelGrid>                        </fieldset>                    </h:panelGroup>                </h:panelGrid>            </h:form>        </h:panelGrid>    </body></html></f:view>

⌨️ 快捷键说明

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