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

📄 issuetie.jsp

📁 一个oa系统
💻 JSP
字号:
<%@ page language="java" pageEncoding="gbk"%>

<%@include file="../islogin.jsp"%>
<%@page import="java.net.InetAddress"%>

<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html:html lang="true">
<head>
	<html:base />

	<title>发帖</title>

	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<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>

</head>
<script type="text/javascript">
function check(){
	var theme = document.forms[0].theme.value;	 		
	if(theme == ""){
		alert("请填写帖子标题!");
		return false;
	}
	return true;
}
</script>
<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="10" 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="3" border="0" cellpadding="0"
		cellspacing="0">
		<tr>
			<td height="3">
				&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="STYLE15"><a
									href="<%=request.getContextPath()%>/issueTie.do?id=${subid }"><span class="STYLE11">我要发帖</a>
								</span>
							</div>
						</td>
						<td width="100" bgcolor="#8080ff">
							<div align="center">
								<span class="STYLE15"><a
									href="<%=request.getContextPath() %>/info.do?id=${subid }"><span class="STYLE11">帖子列表</a></span>
							</div>
						</td>
						<td width="94" bgcolor="#8080ff">
							<div align="center">
								<span class="STYLE15"><a
									href="<%=request.getContextPath() %>/moduleList.do"><span class="STYLE11">返回首页</a></span>
							</div>
						</td>
						<td width="15" bgcolor="#8080ff">
							&nbsp;
						</td>
					</tr>
					<tr>
						<td height="10" colspan="5" bgcolor="#8080ff">
							&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="960" border="0" cellpadding="0" cellspacing="0">
		<tr>
			<td height="6">
				&nbsp;
			</td>
		</tr>
	</table>
	<html:form action="/upLoad" enctype="multipart/form-data"  onsubmit="return check()">
		<table width="960" border="0" align="center" cellpadding="0"
			cellspacing="0"
			style="border-bottom:#D5DDF2 1px solid; border-left:#D5DDF2 1px solid;border-top:#D5DDF2 1px solid; border-right:#D5DDF2 1px solid;">
			<tr>
				<td width="163" height="33" bgcolor="#8080ff"
					style="border-bottom:#D5DDF2 1px solid; border-right:#D5DDF2 1px solid;">
					<div align="center" class="STYLE16">
						<span class="STYLE9"><strong>帖子标题</strong>:</span>
					</div>
				</td>
				<td width="797" align="center"
					style="padding-top:8px; padding-bottom:8px;padding-right:8px; padding-left:8px;border-bottom:#D5DDF2 1px solid;padding-left:4px;">
					<div align="left">
						&nbsp;
						<html:text property="theme" size="70" maxlength="30"></html:text>
					</div>
				</td>
			</tr>
			<tr>
				<td height="30" rowspan="2" bgcolor="#F0F0FF"
					style="border-bottom:#D5DDF2 1px solid; border-right:#D5DDF2 1px solid;">
					<div align="center" class="STYLE16">
						<span class="STYLE19"><strong>帖子内容</strong>:</span>
					</div>
				</td>
				<td height="19" style="border-bottom:#D5DDF2 1px solid;">
					<div align="left">
						&nbsp;
						<select name="select">
							<option>
								字体
							</option>
						</select>
						<select name="select2">
							<option>
								字号
							</option>
						</select>
						&nbsp;
						<option selected="selected">
							<img src="../images/fbcolor.gif" width="16" height="16" />
							<img src="<%=request.getContextPath() %>/images/bold.gif" width="16" height="16" />
							<img src="<%=request.getContextPath() %>/image/italic.gif" width="16" height="16" />
							<img src="../image/underline.gif" width="16" height="16" />
							<img src="../image/newnote_l.gif" width="16" height="15" />
							<img src="../image/newnote_c.gif" width="19" height="15" />
							<img src="../image/newnote_r.gif" width="16" height="15" />
						</option>
					</div>
				</td>
			</tr>
			<tr>
				<td height="37"
					style="padding-top:8px; padding-bottom:8px;padding-right:8px; padding-left:8px;border-bottom:#D5DDF2 1px solid;">
					<html:textarea property="content" cols="100" rows="10"></html:textarea>
				</td>
			</tr>
			<tr>
				<td height="22" bgcolor="#F0F0FF"
					style="border-bottom:#D5DDF2 1px solid; border-right:#D5DDF2 1px solid;">
					<div align="center" class="STYLE19">
						<strong>表情:</strong>
					</div>
				</td>
				<td height="22" style="border-bottom:#D5DDF2 1px solid;">
					<span
						style="padding-top:2px; padding-bottom:2px;padding-right:2px; padding-left:2px;border-bottom:#D5DDF2 1px solid;">
						<c:forEach items="${facelist}" var="face">
						 <html:radio property="face" value="${face.facename}"></html:radio> 
						 <img src="../images/${face.facename}" width="19" height="19" />						
						</c:forEach>
					</span>
				</td>
			</tr>

			<tr>
				<td height="28" bgcolor="#8080ff"
					style="border-bottom:#D5DDF2 1px solid; border-right:#D5DDF2 1px solid;&gt;&lt;div align="
					center="center"">
					<div align="center" class="STYLE9">
						<strong>附加图片</strong>:
					</div>
				</td>
				<td height="28" style="padding-top:8px;padding-bottom:8px;padding-right:8px;padding-left:8px;border-bottom:#D5DDF2 1px solid;="solid;"">
					&nbsp;
					<html:file property="picture"></html:file>
					&nbsp;
				</td>
			</tr>
			<tr>
				<td height="22" bgcolor="#F0F0FF"
					style="border-bottom:#D5DDF2 1px solid; border-right:#D5DDF2 1px solid;">
					<div align="center"></div>
					<html:hidden property="submodulelistid" value="${subid}"/>
				</td>
				<td height="22" style="border-bottom:#D5DDF2 1px solid;">
					<div align="center">
						<html:submit value="提交"></html:submit>

						<html:cancel value="取消"></html:cancel>
					</div>
				</td>
			</tr>
		</table>
		<table width="100" height="3" border="0" cellpadding="0"
			cellspacing="0">
			<tr>
				<td>
					&nbsp;
				</td>
			</tr>
		</table>
		<table width="960" 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="1" 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="100" height="3" border="0" cellpadding="0"
			cellspacing="0">
			<tr>
				<td>
					&nbsp;
				</td>
			</tr>
		</table>
		<table width="960" height="44" border="0" align="center"
			cellpadding="0" cellspacing="0" bgcolor="#F0F0FF">
			<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>
	</html:form>
	<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:html>

⌨️ 快捷键说明

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