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

📄 incmenu.jsp.svn-base

📁 spring+hibernate做的网上订餐系统
💻 SVN-BASE
字号:
 <%@ page language="java" pageEncoding="UTF-8"%>
 <c:if test="${empty memberSession}">
 <form method="post" action="<c:url value="/login.jspx"/>">
 <table width="100%"  border="0" cellspacing="0" cellpadding="0"> 
  <tr> 
    <td colspan="3"><img src="images/login_top.gif" width="193" height="31"></td> 
  </tr> 
  <tr> 
    <td width="1" bgcolor="#D9D9D9"></td> 
    <td width="191"><table width="100%"  border="0" cellspacing="8" cellpadding="0"> 
        <tr> 
          <td width="36%"><img src="images/username.gif" width="57" height="20"></td> 
          <td width="64%"><input name="username" type="text" class="login_input" style="width:100px" maxlength="12" onfocus="this.className='login_input_focus'" onBlur="this.className='login_input'"></td> 
        </tr> 
        <tr> 
          <td><img src="images/password.gif" width="57" height="20"></td> 
          <td><input name="password" type="password" class="login_input" style="width:100px" maxlength="12" onfocus="this.className='login_input_focus'" onBlur="this.className='login_input'"></td> 
        </tr> 
        <tr> 
          <td>&nbsp;</td> 
          <td><input type="image" src="images/login_bt.gif" width="44" height="20" onmouseover="this.src='images/login_bt_over.gif'" onmouseout="this.src='images/login_bt.gif'" class="image_button">&nbsp;&nbsp;<img src="images/reg_bt.gif" width="44" height="20" onmouseover="this.src='images/reg_bt_over.gif'" onmouseout="this.src='images/reg_bt.gif'" class="image_button" onclick="location.href='<c:url value="/reg.jspx"/>'"></td> 
        </tr> 
        <tr align="center"> 
          <td colspan="2">
		  <table width="100%"  border="0" cellspacing="0" cellpadding="0" align="center"> 
		  <tr>
		  <td height="40"><a href="<c:url value="/dishToCart.jspx"/>" target="_blank"><img src="images/cart_bt.gif" border="0"></a></td>
		  <td style="padding-left:3px;"><a href="<c:url value="/helper.jspx"/>"><img src="images/helper_bt.gif" border="0"></a></td>
		  </tr>
		  <tr>
		  <td background="images/dian.gif" colspan="2"></td>
		  </tr>
		  <tr>
		  <td height="40"><a href="<c:url value="/user.jspx"/>"><img src="images/my_bt.gif" border="0"></a></td>
		  <td style="padding-left:3px;"><a href="<c:url value="/myOrderList.jspx"/>"><img src="images/mycase_bt.gif" border="0"></a></td>
		  </tr>
		  </table>
		  </td> 
        </tr> 
      </table></td> 
    <td width="1" bgcolor="#D9D9D9"></td> 
  </tr> 
  <tr> 
    <td colspan="3"><img src="images/login_bottom.gif" width="193" height="12"></td> 
  </tr> 
</table>
</form>
<table width="100%"  border="0" cellspacing="0" cellpadding="0"> 
  <tr> 
    <td height="5"></td> 
  </tr> 
</table>
</c:if>
<c:if test="${not empty memberSession}">
<form method="post" action="<c:url value="/login.jspx"/>">
 <table width="100%"  border="0" cellspacing="0" cellpadding="0"> 
  <tr> 
    <td colspan="3"><img src="images/login_top.gif" width="193" height="31"></td> 
  </tr> 
  <tr> 
    <td width="1" bgcolor="#D9D9D9"></td> 
    <td width="191">
	<table  border="0" cellspacing="8" cellpadding="0"> 
		<tr> 
          <td style="color:#FF6600;font-weight:bold;" colspan="2"><c:out value="${memberSession.mebmer.username}"/>(<c:out value="${memberSession.mebmer.name}"/>) <br>你已经登陆!</td> 
        </tr> 
        <tr> 
          <td style="color:#FF6600;font-weight:bold;">购物车菜品数量:</td> 
          <td class="price_normal">${sessionCart.numberOfItems} 份</td> 
        </tr> 
      <tr> 
          <td colspan="2"><img src="images/exit_bt.gif" width="44" height="20" onmouseover="this.src='images/exit_bt_over.gif'" onmouseout="this.src='images/exit_bt.gif'" class="image_button" onclick="location.href='<c:url value="/exit.jspx"/>'"></td> 
        </tr>
        <tr align="center"> 
          <td colspan="2">
		  <table width="100%"  border="0" cellspacing="0" cellpadding="0" align="center"> 
		  <tr>
		  <td height="40"><a href="<c:url value="/dishToCart.jspx"/>" target="_blank"><img src="images/cart_bt.gif" border="0"></a></td>
		  <td style="padding-left:3px;"><a href="<c:url value="/helper.jspx"/>"><img src="images/helper_bt.gif" border="0"></a></td>
		  </tr>
		  <tr>
		  <td background="images/dian.gif" colspan="2"></td>
		  </tr>
		  <tr>
		  <td height="40"><a href="<c:url value="/user.jspx"/>"><img src="images/my_bt.gif" border="0"></a></td>
		  <td style="padding-left:3px;"><a href="<c:url value="/myOrderList.jspx"/>"><img src="images/mycase_bt.gif" border="0"></a></td>
		  </tr>
		  </table>
		  </td> 
        </tr> 
      </table></td> 
    <td width="1" bgcolor="#D9D9D9"></td> 
  </tr> 
  <tr> 
    <td colspan="3"><img src="images/login_bottom.gif" width="193" height="12"></td> 
  </tr> 
</table>
</form>
<table width="100%"  border="0" cellspacing="0" cellpadding="0"> 
  <tr> 
    <td height="5"></td> 
  </tr> 
</table>
</c:if>
<table width="100%"  border="0" cellspacing="0" cellpadding="0"> 
  <tr> 
    <td><img src="images/catagory.gif" width="193" height="61"></td> 
  </tr> 
</table>
<table width="100%"  border="0" cellspacing="0" cellpadding="0"> 
  <tr> 
    <td height="5"></td> 
  </tr> 
</table>
<table width="100%"  border="0" cellspacing="0" cellpadding="0"> 
  <tr> 
    <td align="center" valign="top" style="border:1px solid #D9D9D9;">
	<c:forEach var="dishSortItem" items="${dishSortList}" varStatus="index">
	  <table width="100%"  border="0" cellspacing="0" cellpadding="0"> 
        <tr> 
          <td width="20" height="25" align="center"><img src="images/ca_arrow.gif" width="3" height="5"></td> 
          <td class="menu_name">${dishSortItem.name}</td> 
        </tr> 
      </table>
	   <table width="100%"  border="0" cellspacing="0" cellpadding="0"> 
        <tr> 
          <td width="20" height="25" align="center">&nbsp;</td> 
          <td>
		  <table width="100%"  border="0" cellspacing="0" cellpadding="0"> 
			<c:forEach var="dishItem" items="${dishSortItem.dishs}" begin="0" end="7">
              <tr> 
                <td height="20"><a href="<c:url value="/viewDish.jspx"/>?dishId=${dishItem.id}">${dishItem.name}</a>(¥${dishItem.price})<img src="<c:url value="/images/order_ok.gif"/>" border="0"  class="image_button" onclick="javascript:addTocart('${dishItem.id}');" alt="订购${dishItem.name}"></td> 
              </tr> 
			 </c:forEach>
              <tr> 
                <td>&nbsp;</td> 
              </tr> 
            </table></td> 
        </tr> 
      </table>
	  <c:if test="${!index.last}">
      <table width="100%"  border="0" cellspacing="0" cellpadding="0"> 
        <tr> 
          <td height="1" bgcolor="#D9D9D9"></td> 
        </tr> 
      </table> 
	  </c:if>
	</c:forEach>
    </td> 
  </tr> 
</table>

⌨️ 快捷键说明

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