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

📄 sysinfo.jsp

📁 tbuy1.1.5是在netbeans环境下用JSF技术编写的一个论坛tbuy1.1.5是在netbeans环境下用JSF技术编写的一个论坛
💻 JSP
字号:
<%--     Document   : sysInfo    Created on : 2007-9-28, 3:00:08    Author     : Administrator--%><%@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"%><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"   "http://www.w3.org/TR/html4/loose.dtd"><script type="text/javascript">    function showDetail(che) {        var checkbox = document.getElementById(che);        var detail = document.getElementById("onlineDetail");        if (checkbox.checked) {            detail.style.display = "";        } else {            detail.style.display = "none";        }    }</script><style type="text/css">   .tCol1 {width:180px;}   .tCol2 {width:1000px;}</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 border="0"                     width="100%"                    columns="1"                    cellpadding="3"                    cellspacing="3"                    headerClass="th"                    styleClass="table2">            <f:facet name="header">		<h:outputText value="系统的当前配置信息"/>            </f:facet>	    <h:panelGrid border="0"                         columns="2"                         cellpadding="3"                         cellspacing="3"                         styleClass="table1 tableWH"                         columnClasses="tCol1,tCol2"                        rowClasses="row2,row1">		<h:outputText value="用户注册:" styleClass="colorOrange"/>                <h:outputText value="#{com_sysInfo.register?'开':'关'}"                  styleClass="#{com_sysInfo.register?'colorGreen':'colorRed'}"/>				<h:outputText value="用户登录:" styleClass="colorOrange"/>                <h:outputText value="#{com_sysInfo.login?'开':'关'}"                  styleClass="#{com_sysInfo.login?'colorGreen':'colorRed'}"/>                                <h:outputText value="邮件认证:" styleClass="colorOrange"/>                <h:outputText value="#{com_sysInfo.emailRegister?'开':'关'}"                  styleClass="#{com_sysInfo.emailRegister?'colorGreen':'colorRed'}"/>                <h:outputText value="验证码注册:" styleClass="colorOrange"/>                <h:outputText value="#{com_sysInfo.validateRegister?'开':'关'}"                  styleClass="#{com_sysInfo.validateRegister?'colorGreen':'colorRed'}"/>                <h:outputText value="验证码登录:" styleClass="colorOrange"/>                <h:outputText value="#{com_sysInfo.validateLogin?'开':'关'}"                  styleClass="#{com_sysInfo.validateLogin?'colorGreen':'colorRed'}"/>				<h:outputText value="文件上传:" styleClass="colorOrange"/>                <h:outputText value="#{com_sysInfo.upload?'开':'关'}"                  styleClass="#{com_sysInfo.upload?'colorGreen':'colorRed'}"/>            </h:panelGrid>                        <h:panelGrid border="0"                         columns="2"                         width="100%"                         cellpadding="3"                         cellspacing="3"                         styleClass="table1"                         style="margin-top:10px;height:120px;"                         rowClasses="row2,row1">                <h:panelGrid border="0"                             columns="2"                             cellpadding="3"                             cellspacing="3"                             styleClass="table1 tableWH"                             rowClasses="row2,row1">                    <h:outputText value="当前总在线人数:" styleClass="colorOrange"/>                    <h:panelGroup>                        <h:outputText value="#{com_sysInfo.totalOnline}" style="margin-right:20px;"/>                        <h:selectBooleanCheckbox id="cheBox"                          value="true" onclick="javascript:showDetail(this.name)"/>                        <h:outputLabel for="cheBox" value="查看详情"/>                    </h:panelGroup>                                    <h:outputText value="在线用户:" styleClass="colorOrange"/>                    <h:outputText value="#{com_sysInfo.totalUser}"/>                    <h:outputText value="隐身登录:" styleClass="colorOrange"/>                    <h:outputText value="#{com_sysInfo.totalHidden}"/>                    <h:outputText value="在线访客:" styleClass="colorOrange"/>                    <h:outputText value="#{com_sysInfo.totalGuest}"/>                </h:panelGrid>                                <t:div id="onlineDetail" style="height:110px;">                        <iframe width="100%" height="100%" frameborder="1"                                src="<%=request.getContextPath()%>/common/user/include/onlineUsers.faces">iframe</iframe>                 </t:div>            </h:panelGrid>	    	    <h:panelGrid border="0"                         columns="2"                         width="100%"                         cellpadding="3"                         cellspacing="3"                         styleClass="table1"                         style="margin-top:10px;"                         columnClasses="tCol1,tCol2"                        rowClasses="row2,row1">                <h:outputText value="管理员列表:" styleClass="colorOrange"/>                <t:dataList value="#{com_sysInfo.admins}" var="admin">                    <h:column>                        <h:outputText value="#{admin}"/>                    </h:column>                </t:dataList>            </h:panelGrid>        </h:panelGrid>    </body></html></f:view>

⌨️ 快捷键说明

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