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

📄 index.jsp

📁 struts hibernate spring实现新闻发布系统含说明文档
💻 JSP
📖 第 1 页 / 共 2 页
字号:
																											</TBODY>
																										</TABLE>
																									</TD>
																								</TR>
																							</TBODY>
																						</TABLE>
																					</TD>
																				</TR>
																			</TBODY>
																		</TABLE>
																	</DIV>
																</DIV>
															</TD>
														</TR>
													</TBODY>
												</TABLE>
											</TD>
										</TR>
									</TBODY>
								</TABLE>
							</logic:iterate>
						</DIV>
					</DIV>
				</DIV>
				<DIV id=left>
					<DIV class=text>
						<TABLE class=line2-t style="BORDER-RIGHT: #c2dfd3 1px solid"
							cellSpacing=0 cellPadding=0 width="100%" border=0>
							<TBODY>
								<TR>
									<TD>
										<TABLE cellSpacing=0 cellPadding=0 width=180 border=0>
											<TBODY>
												<TR>
													<TD class=tit1 align="center" width=88>
														用户登入
													</TD>
													<TD class="bx bc" width=92 background="/news/images/x3.gif"></TD>
												</TR>
											</TBODY>
										</TABLE>
									</TD>
								</TR>
								<TR>
									<TD height=90>
										<TABLE cellSpacing=0 cellPadding=0 width=180 border=0>
											<TBODY>
												<TR>
													<TD class=pic1 align="center" width=100>
														<TABLE class="eline08 eline09" cellSpacing=0 cellPadding=0
															width=180 border=0>
															<TBODY>
																<TR>
																	<TD align="center" width=180 height=116>
																		<DIV id=SonyPrice style="text-align: center;">
																			<html:form action="/login">
																				<logic:notPresent name="user" scope="session">
																				用户:<html:text property="name" styleId="txtUserID"
																						maxlength="20" size="16"
																						style="border: #75ad09 solid 1px; width: 100px; height: 14px;"></html:text>
																					<br />
																					<html:errors property="name" />
																					<br />
																				密码:<html:password property="pwd" styleId="txtUserID"
																						maxlength="20" size="16"
																						style="border: #75ad09 solid 1px; width: 100px; height: 14px;">
																						</html:password>
																						<br />
																						<html:errors property="pwd" />
																						<br />
																						<html:submit value="登入"
																							style="width: 45px; height: 24px" />
																						<INPUT type=button value=注册
																							style="width: 45px; height: 24px"
																							onclick="window.location.href='register.jsp'">
																				</logic:notPresent>
																				<logic:present name="user" scope="session">

																					<bean:write name="user" property="username" />欢迎登入
																					<logic:equal name="user" property="type" value="0">
																						<br />权限:管理员<br />
																						<html:link href="/news/manager.jsp">进入管理</html:link>
																					</logic:equal>
																					<logic:notEqual name="user" property="type"
																						value="0">
																						<br />权限:普通用户
																					</logic:notEqual>
																					<br>
																					<html:link href="/news/zhuxiao.jsp">安全退出</html:link>
																				</logic:present>
																			</html:form>
																		</DIV>
																	</TD>
																</TR>
															</TBODY>
														</TABLE>
													</TD>
												</TR>
											</TBODY>
										</TABLE>
									</TD>
								</TR>
							</TBODY>
						</TABLE>
						<div style="margin: 5px 0 0 0"></div>
						<TABLE class="line1 ge2" cellSpacing=0 cellPadding=0 width=181
							border=0>
							<TBODY>
								<TR>
									<TD class="bn bc tit2" align="center" width=181
										background="/news/images/1_16.gif" height=24>
										新闻排行榜
									</TD>
								</TR>
								<TR>
									<TD>
										<TABLE class=list1 cellSpacing=0 cellPadding=0 width=168
											align=center border=0>
											<TBODY>
												<TR>
													<TD>
														<!-- 新闻排行榜循环-->
														<logic:iterate id="news" name="topnews">
															·<html:link styleClass="blackul" page="/browse.do"
																paramId="newsid" paramName="news" paramProperty="newsid">
																<bean:write name="news" property="title" />
															</html:link>
															<BR>
														</logic:iterate>

													</TD>
												</TR>
											</TBODY>
										</TABLE>
									</TD>
								</TR>
							</TBODY>
						</TABLE>
						<TABLE class="line2-t line2-l line2-r line2-b" cellSpacing=0
							cellPadding=0 width="100%" border=0>
							<TR>
								<TD>
									<TABLE cellSpacing=0 cellPadding=0 width=180 border=0>
										<TR>
											<TD class=tit1 align="center" width=89 height=35>
												<IMG height=19 src="/news/images/i5.gif" width=5
													align="middle">
												友情链接
											</TD>
											<TD class="bx bc" width=91 background="/news/images/x3.gif"></TD>
										</TR>
									</TABLE>
								</TD>
							</TR>
							<TR>
								<TD class=hui>
									<TABLE class=pad3 cellSpacing=0 cellPadding=0 width="100%"
										background="/news/images/tbg3.gif" border=0>
										<TBODY>
											<TR>
												<TD>
													<!--循环代码 友情链接 -->
													·
													<A class="blackul h22"
														href="http://edu.qq.com/zt/2008/cyjy/index.html"
														target=_blank>2008中国创业教育论坛</A>
													<BR>
													·
													<A class="blackul h22"
														href="http://edu.qq.com/zt/2008/cyjy/index.html"
														target=_blank>2008中国创业教育论坛</A>
													<BR>
													·
													<A class="blackul h22"
														href="http://edu.qq.com/zt/2008/cyjy/index.html"
														target=_blank>2008中国创业教育论坛</A>
													<BR>
													·
													<A class="blackul h22"
														href="http://edu.qq.com/zt/2008/cyjy/index.html"
														target=_blank>2008中国创业教育论坛</A>
													<BR>
													·
													<A class="blackul h22"
														href="http://edu.qq.com/zt/2008/cyjy/index.html"
														target=_blank>2008中国创业教育论坛</A>
													<BR>
													·
													<A class="blackul h22"
														href="http://edu.qq.com/zt/2008/cyjy/index.html"
														target=_blank>2008中国创业教育论坛</A>
													<BR>
													·
													<A class="blackul h22"
														href="http://edu.qq.com/zt/2008/cyjy/index.html"
														target=_blank>2008中国创业教育论坛</A>
													<BR>
													·
													<A class="blackul h22"
														href="http://edu.qq.com/zt/2008/cyjy/index.html"
														target=_blank>2008中国创业教育论坛</A>
													<BR>
													·
													<A class="blackul h22"
														href="http://edu.qq.com/zt/2008/cyjy/index.html"
														target=_blank>2008中国创业教育论坛</A>
													<BR>

												</TD>
											</TR>
										</TBODY>
									</TABLE>
								</TD>
							</TR>
						</TABLE>
					</DIV>
				</DIV>
			</DIV>
		</DIV>

		<div class="bottom">
			<jsp:include page="bottom.jsp" flush="false"></jsp:include>
		</div>
	</BODY>
</HTML>

⌨️ 快捷键说明

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