📄 dishlist.jsp
字号:
<%@ page language="java" import="com.pure.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<jsp:include page="../inc/pageHead.jsp" />
<form name="dish" method="post" action="<c:url value="/admin/dish/dishList.jspx"/>">
<table width="100%" border="0" cellpadding="0" cellspacing="0"
bgcolor="#FFFFFF">
<input type="hidden" name="page" value="${cpage}">
<input type="hidden" name="curAction">
<tr>
<td width="5"> </td>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="30" align="center" class="bigTitle">菜品信息管理</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td> </td>
</tr>
</table>
<!--数据表主体开始-->
<table width="100%" border="0" cellpadding="2" cellspacing="1"
class="tableData" id="tableData">
<tr>
<th width="5%" align="center"><input type="checkbox" name="chkall" value="on" onclick="CheckAll(this.form)" title="选择/取消" style="cursor:hand"></th>
<th>名 称</th>
<th width="15%">类 别</th>
<th width="15%">价 格</th>
<th width="15%">会员价</th>
<th width="15%">点 击</th>
<th width="15%">发布日期</th>
<th width="8%">操 作</th>
</tr>
<c:if test="${empty dishList}"><script>noData();</script></c:if>
<c:forEach var="dishItem" items="${dishList}">
<tr <%=PureUtil.trBgcolorMouseOverAndMouseOut()%>>
<td align="center"><input type="checkbox" name="id" value="<c:out value="${dishItem.id}"/>" style="cursor:hand"></td>
<td><c:out value="${dishItem.name}" /></td>
<td><c:out value="${dishItem.dishsort.name}" /></td>
<td>¥<c:out value="${dishItem.price}" /></td>
<td>¥<c:out value="${dishItem.memberprice}" /></td>
<td><c:out value="${dishItem.hot}" /></td>
<td align="center"><c:out value="${dishItem.senddate}" /></td>
<td align="center"><a href="<c:url value="/admin/dish/dishList.jspx"/>?curAction=del&id=<c:out value="${dishItem.id}"/>"><img src="<c:url value="/admin/images/del.gif"/>" border="0" alt="删 除"></a> <a href="<c:url value="/admin/dish/dishForm.jspx"/>?method=edit&id=<c:out value="${dishItem.id}"/>"><img src="<c:url value="/admin/images/edit.gif"/>" border="0" alt="编 辑"></a></td>
</tr>
</c:forEach>
</table>
<!--数据表主体结束-->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="35"><img src="../images/del_bt.gif" width="44"
height="20" onmouseover="this.src='../images/del_bt_over.gif'"
onmouseout="this.src='../images/del_bt.gif'" class="image_button"
onclick="action_del(document.forms[0],'是否确定删除选中的数据?','del','','id');"> <img
src="../images/new_bt.gif" width="44" height="20"
onmouseover="this.src='../images/new_bt_over.gif'"
onmouseout="this.src='../images/new_bt.gif'" class="image_button"
onClick="location.href='dishForm.jspx'"></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="25"><c:out value="${page}" escapeXml="false" /></td>
</tr>
</table>
</td>
<td width="5"> </td>
</tr>
</table>
</form>
<jsp:include page="../inc/pageFoot.jsp" />
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -