WebRoot/admin/dish/dishList.jsp

(开头部分) 3KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<%@ page language="java" import="com.pure.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<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">&nbsp;</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>&nbsp;</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>图 片</th>
			<th>点 击</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="${dishItem.id}" style="cursor:hand"></td>
					<td>${dishItem.name}</td>
					<td>${dishItem.dishsort.name}</td>
					<td>¥${dishItem.price}</td>
					<td>¥${dishItem.memberprice}</td>
					<td align="center">${fn:length(dishItem.images)}</td>
					<td align="center">${dishItem.hot}</td>
					<td align="center">${dishItem.senddate}</td>
					<td align="center"><a href="<c:url value="/admin/dish/dishList.jspx"/>?curAction=del&id=${dishItem.id}"><img src="<c:url value="/admin/images/del.gif"/>" border="0" alt="删 除"></a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="<c:url value="/admin/dish/dishForm.jspx"/>?method=edit&id=${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');">&nbsp;<img
					src="../images/new_bt.gif" width="44" height="20"
					onmouseover="this.src='../images/new_bt_over.gif'"
后面还有 15 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。