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

📄 info.jsp

📁 一个oa系统
💻 JSP
字号:
<%@ page language="java" pageEncoding="gbk"%>
<jsp:include page="islogin.jsp" flush="true" />
<%@page import="java.net.InetAddress"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean"
	prefix="bean"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html"
	prefix="html"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-logic"
	prefix="logic"%>

<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<html>
	<head>
		<title>帖子列表</title>
		<style type="text/css">
<!--
body,td,th {
	font-size: 12px;
}
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
.STYLE8 {
	font-size: 36px;
	font-weight: bold;
	color: #FFFFFF;
}
.STYLE9 {color: #FFFFFF}
.STYLE11 {
	font-size: 14px;
	color: #FFFFFF;
	font-weight: bold;
}
.STYLE12 {font-size: 24px}
.STYLE15 {color: #0000FF}
-->
</style>
		<script type="text/javascript">
function Check(){
		var turnpage = document.getElementById("turnPage").value;	
		var totals = document.getElementById("totalPages").value; 
		if(turnpage==""){
			alert("请输入要跳转的页面数");
		}else if(turnpage!=""&&isNumberString(turnpage,"1234567890")!=1){
	    	alert("请输入正确的页面数");
		}else if(turnpage!=""&&turnpage>totals){
	    	alert("请输入正确的页面数");
		}else if(turnpage!=""&&turnpage<=0){
	    	alert("请输入正确的页面数");
		}else{
			window.location="/oa/calendar.do?currentPage=" + turnpage;
		}
	}
	function isNumberString (InString,RefString)
	{
		if(InString.length==0) return (false);
		for (Count=0; Count < InString.length; Count++)
		{
			TempChar= InString.substring (Count, Count+1);
			if (RefString.indexOf (TempChar, 0)==-1)  
			return (false);
		}
		return (true);
	}
</script>
	</head>
	<body>
		<table width="960" height="61" border="0" align="center"
			cellpadding="0" cellspacing="0" bgcolor="#D5DDF2">
			<tr>
				<td height="36" bgcolor="#8080ff">
					<div align="right">
						<span class="STYLE8"><span class="STYLE12">联合征信</span>BBS</span>
					</div>
				</td>
				<td bgcolor="#4444FF">
					&nbsp;

				</td>
			</tr>
			<tr>
				<td height="6" colspan="2" bgcolor="#0000FF">
					&nbsp;

				</td>
			</tr>
		</table>
		<table width="100" height="3" border="0" cellpadding="0"
			cellspacing="0">
			<tr>
				<td height="3"></td>
			</tr>
		</table>
		<table width="960" border="0" align="center" cellpadding="0"
			cellspacing="1" bgcolor="#CCCCCC" style="padding-top:4px;">
			<tr>
				<td height="24" colspan="2" bgcolor="#FFFFFF">
					<marquee direction=right>
						<font color="blue">欢迎您访问论坛:${sessionScope.username } </font>
					</marquee>
				</td>
			</tr>
		</table>
		<table width="100" height="1" border="0" cellpadding="0"
			cellspacing="0">
			<tr>
				<td height="1">
					&nbsp;

				</td>
			</tr>
		</table>
		<table width="960" height="42" border="0" cellpadding="0"
			cellspacing="0">
			<tr>
				<td width="15" height="42">
					&nbsp;

				</td>
				<td width="571">
					<table width="330" height="35" border="0" cellpadding="0"
						cellspacing="0">
						<tr>
							<td width="15" bgcolor="#8080ff">
								&nbsp;

							</td>
							<td width="100" height="28" bgcolor="#8080ff">
								<div align="center" class="STYLE15 STYLE11">
									<span class="STYLE11"><a
										href="<%=request.getContextPath()%>/issueTie.do?id=${itemid }"><span class="STYLE11">我要发帖</a> </span>
								</div>
							</td>
							<td width="100" bgcolor="#8080ff">
								<div align="center" class="STYLE15 STYLE11">
									<span class="STYLE11"> <a
										href="<%=request.getContextPath()%>/moduleList.do"><span class="STYLE11">返回首页</span></a>
									</span>
								</div>
							</td>
							<td width="94" bgcolor="#8080ff">
								<div align="center">
									<span class="STYLE11">帖子列表</span>
								</div>
							</td>
							<td width="15" bgcolor="#8080ff">
								&nbsp;

							</td>
						</tr>
						<tr>
							<td height="10" colspan="5" bgcolor="#0000FF">
								&nbsp;

							</td>
						</tr>
					</table>
				</td>
				<td width="378">
					<logic:notEmpty name="integrallist">
						<logic:iterate id="integral" name="integrallist">
							<table width="283" height="30" border="0" align="right"
								cellpadding="0" cellspacing="0">
								<tr>
									<td width="154" height="24" rowspan="2">
										<div align="center">
											<strong>个人信息</strong>
										</div>
									</td>
									<td width="129" height="16">
										<span class="STYLE15">&nbsp;积&nbsp;&nbsp;&nbsp;&nbsp;分:
										<bean:write name="integral" property="integrals" /> </span>
									</td>
								</tr>
								<tr>
									<td height="16">
										<span class="STYLE15">&nbsp;等&nbsp;&nbsp;&nbsp;&nbsp;级:
										<bean:write name="integral" property="leve" /> </span>
									</td>
								</tr>
								<tr>
									<td width="154" height="12">
										<div align="center">
											<span class="STYLE15">&nbsp;
											<bean:write name="integral" property="username" /> </span>
										</div>
									</td>
									<td height="16">
										<span class="STYLE15">&nbsp;发帖数:
										<bean:write	name="integral" property="issuenums" /> </span>
									</td>
								</tr>
							</table>
						</logic:iterate>
					</logic:notEmpty>
				</td>
			</tr>
		</table>
		<table width="100" height="1" border="0" cellpadding="0"
			cellspacing="0">
			<tr>
				<td height="1">
					&nbsp;

				</td>
			</tr>
		</table>
		<table width="960" height="150" border="0" align="center"
			cellpadding="0" cellspacing="1" bgcolor="#CCCCCC">
			<tr>
				<td width="966" height="25" bgcolor="#8080ff" class="STYLE11">
					&nbsp;&nbsp;&nbsp;
					<img src="./images/img08.gif" width="20" height="20" />
					帖子列表
				</td>
			</tr>
			<tr>
				<td width="966" height="1" bgcolor="#8080ff">
					&nbsp;

				</td>
			</tr>
			<tr>
				<td width="966" height="1"
					style="padding-top:2px; padding-bottom:2px;">
					<table width="100%" border="0" align="center" cellpadding="0"
						cellspacing="0">
						<tr>
							<td width="42" height="24" bgcolor="#D5DDF2">
								<div align="center">
									状态
								</div>
							</td>
							<td width="473" bgcolor="#D5DDF2">
								<div align="center">
									主题
								</div>
							</td>
							<td width="54" bgcolor="#D5DDF2">
								<div align="center">
									发帖人
								</div>
							</td>
							<td width="62" bgcolor="#D5DDF2">
								<div align="center">
									点击数
								</div>
							</td>
							<td width="62" bgcolor="#D5DDF2">
								<div align="center">
									回复数
								</div>
							</td>
							<td width="327" bgcolor="#D5DDF2">
								<div align="center">
									最后回复
								</div>
							</td>
						</tr>
						<logic:notEmpty name="infolist">
							<logic:iterate id="list" name="infolist">
								<tr height="30">
									<td bgcolor="#FFFFFF"
										style="border-left:#D5DDF2 1px solid;border-bottom:#D5DDF2 1px solid;">
										<div align="center">
											<img src="./images/topicgood.gif" width="17" height="17" />
										</div>
									</td>
									<td bgcolor="#FFFFFF"
										style="border-left:#D5DDF2 1px solid;border-bottom:#D5DDF2 1px solid;padding-left:2px; padding-rignt:2px; padding-bottom:2px; padding-top:2px;">
										&nbsp;
										<html:link page="/lookTie.do" paramId="id" paramName="list"
											paramProperty="id">
											<bean:write name="list" property="theme" />
										</html:link>
									</td>
									<td bgcolor="#FFFFFF"
										style="border-bottom:#D5DDF2 1px solid; border-left:#D5DDF2 1px solid; padding-left:2px; padding-rignt:2px; padding-bottom:2px; padding-top:2px;"
										align="center">
										&nbsp;
										<bean:write name="list" property="issuename" />
									</td>
									<td bgcolor="#FFFFFF"
										style="border-bottom:#D5DDF2 1px solid; border-left:#D5DDF2 1px solid; padding-left:2px; padding-rignt:2px; padding-bottom:2px; padding-top:2px;"
										align="center">
										&nbsp;
										<bean:write name="list" property="browernum" />
									</td>
									<td bgcolor="#FFFFFF"
										style="border-bottom:#D5DDF2 1px solid; border-left:#D5DDF2 1px solid; padding-left:2px; padding-rignt:2px; padding-bottom:2px; padding-top:2px;"
										align="center">
										&nbsp;
										<bean:write name="list" property="revertnum" />
									</td>

									<td bgcolor="#FFFFFF"
										style="border-bottom:#D5DDF2 1px solid; border-left:#D5DDF2 1px solid; padding-left:2px; padding-rignt:2px; padding-bottom:2px; padding-top:2px;">
										&nbsp;
										<c:forEach items="${lastrevert}" var="last">
										<c:if test="${last.revertid==list.id}">
											${last.revertname }:${last.revertcontent }&nbsp;&nbsp;${last.revertdate }
										</c:if>
										</c:forEach>
									</td>

								</tr>
							</logic:iterate>
						</logic:notEmpty>
					</table>
				</td>
			</tr>
		</table>
		<table width="960" align="center">
			<logic:notEmpty name="pageBean">
				<tr align="right">
					<td width="650">
						共<font color="red"> <bean:write name="pageBean" property="totalRecoder" /> </font>条记录
					</td>
					<td width="81">
						当前第<font color="red"> <bean:write name="pageBean" property="currentPage" /></font>/<font color="red"><bean:write name="pageBean" property="totalPages" /></font>页
						<input type="hidden" name="totalPages" value="<bean:write name="pageBean" property="totalPages" />" />
					</td>
					<td width="30">
						<html:link page="/info.do" paramId="currentPage"
							paramName="pageBean" paramProperty="firstPage">首页</html:link>
					</td>
					<td width="39">
						<html:link page="/info.do" paramId="currentPage"
							paramName="pageBean" paramProperty="upPage">上一页</html:link>
					</td>
					<td width="37">
						<html:link page="/info.do" paramId="currentPage"
							paramName="pageBean" paramProperty="downPage">下一页</html:link>
					</td>
					<td width="31">
						<html:link page="/info.do" paramId="currentPage"
							paramName="pageBean" paramProperty="lastPage">尾页</html:link>
					</td>
					<td width="68">
						<input type="text" name="turnPage"
							value="<bean:write name="pageBean" property="currentPage" />	"
							size="2" />
						<html:button property="" onclick="return Check();">GO</html:button>
					</td>
				</tr>
			</logic:notEmpty>
		</table>

		<table width="960" height="66" border="0" align="center"
			cellpadding="0" cellspacing="1">
			<tr>
				<td width="961" height="20" bgcolor="#8080ff">

					<span class="STYLE9"> ≡ 今天过生日的用户(共 人)≡</span>
				</td>
			</tr>
			<tr>
				<td height="12" bgcolor="#8080ff">
					&nbsp;

				</td>
			</tr>
			<tr>
				<logic:notEmpty name="birthdaylist">
					<logic:iterate id="birthdayname" name="birthdaylist">
						<td height="22" bgcolor="#8080ff">
							&nbsp;
							<bean:write name="birthdayname" property="realname" />
						</td>
					</logic:iterate>
				</logic:notEmpty>
			</tr>
		</table>

		<table width="960" height="44" border="0" align="center"
			cellpadding="0" cellspacing="0" bgcolor="#8080ff">
			<tr>
				<td height="20" colspan="4" bgcolor="#8080ff">
					<span class="STYLE9"> 论坛在线情况 </span>
				</td>
			</tr>
			<tr>
				<td height="1" colspan="4" bgcolor="#8080ff">
					&nbsp;

				</td>
			</tr>
			<tr>

				<td width="338" height="28">
					<div align="center">
						建站时间:2007-08-28
					</div>
				</td>
				<td width="217">
					<div align="center">
						<%
						InetAddress myIp = InetAddress.getLocalHost();
						%>
						您的IP是:
						<%=myIp.getHostAddress()%>
					</div>
				</td>
				<td width="218">
					&nbsp;

				</td>
			</tr>
		</table>

		<div align="center"></div>
		<table width="960" border="0" align="center" cellpadding="0"
			cellspacing="1">

			<logic:notEmpty name="allintegrallist">
				<c:if test="${size<=15}">
					<tr>
						<logic:iterate id="allintegral" name="allintegrallist">
							<td width="30" height="22">
								<bean:write name="allintegral" property="username" />
								:
								<bean:write name="allintegral" property="integrals" />
							</td>
						</logic:iterate>
					</tr>
				</c:if>
				<c:if test="${size>15||size<=30}">
					<tr>
						<c:forEach var="allintegral" items="${allintegrallist}" begin="0"
							end="14">
							<td width="30" height="22">
								${allintegral.username}:${allintegral.integrals}
							</td>
						</c:forEach>
					</tr>
					<tr>
						<c:forEach var="allintegral" items="${allintegrallist}" begin="15"
							end="${size}">
							<td width="30" height="22">
								${allintegral.username}:${allintegral.integrals}
							</td>
						</c:forEach>
					</tr>
				</c:if>
			</logic:notEmpty>
		</table>
	</body>
</html>

⌨️ 快捷键说明

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