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

📄 topnew.jsp

📁 学校新闻发布系统
💻 JSP
字号:
<%@ page language="java" pageEncoding="UTF-8"%>

<%@ 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"%>
<table width="778" border="0" cellspacing="0" cellpadding="0"
	align="center">
	<tbody>
		<tr>
			<td>
				<table width="778" border="0" cellspacing="0" cellpadding="0"
					align="center">
					<tbody>
						<tr>
							<td align="center">
								<html:img page="/images/top.jpg" alt="欢迎进入本系统" />
							</td>
						</tr>
					</tbody>
				</table>
			</td>
		</tr>
		<tr>
			<td>
				<table width="778" border="0" cellspacing="1" cellpadding="1"
					background="../images/001.jpg" align="center">
					<tbody>
						<tr>
							<td align="center">
								<html:link page="/index.jsp">首页</html:link>
							</td>

							<logic:present scope="application" name="newsTypeList">
								<logic:iterate id="newsType" name="newsTypeList"
									scope="application">
									<td align="center">
										<html:link action="/newsList" paramId="newsTypeId"
											paramName="newsType" paramProperty="id">
											<bean:write name="newsType" property="name" />
										</html:link>
									</td>
								</logic:iterate>
							</logic:present>
							<%
							HttpSession s=request.getSession(true);
										int level=0;
										if(s.getAttribute("Level") != null){
											level=Integer.parseInt((String)s.getAttribute("Level"));
											
										}
							if(level == 1 || level == 2){ %>
							<td>
							<html:link page="/jsps/backmanager.jsp">管理入口</html:link>
							</td>
							
							<%} %>
						</tr>
					</tbody>
				</table>
			</td>
		</tr>
		<tr>
			<td height="3px">
			</td>
		</tr>
	</tbody>
</table>

⌨️ 快捷键说明

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