WebRoot/WEB-INF/jsp/admin/category/list.jsp

(开头部分) 2KB

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

<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<HTML>
	<head>
		<meta http-equiv="Content-Language" content="zh-cn">
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<script type="text/javascript">
		function edit(cid) {
			window.location.href = "${pageContext.request.contextPath}/admin/adminCategory_edit.action?cid="+cid;
		}
		function addCategory(){
				window.location.href = "${pageContext.request.contextPath}/admin/adminCategory_add.action";
		}
		function deletec(cid) {
			window.location.href ="${pageContext.request.contextPath}/admin/adminCategory_delete.action?cid="+cid;
		}
		</script>
	</head>
	<body>
			<table cellSpacing="1" cellPadding="0" width="100%" align="center" bgColor="#f5fafe" border="0">
					<tr>
						<td  align="center"  bgColor="#afd1f3">
							<strong>一级分类 列 表</strong>
						</td>
					</tr>
					<tr>
						<td  align="right">
							<button type="button" onclick="addCategory()">添加</button>
						</td>
					</tr>
					<tr>
						<td align="center" bgColor="#f5fafe">
							<table cellspacing="0" cellpadding="0" rules="all" border="1" style="WIDTH: 100%;">
								<tr
									style="FONT-WEIGHT: bold; FONT-SIZE: 12pt; HEIGHT: 25px; BACKGROUND-COLOR: #afd1f3">
									<td align="center" width="18%">
										ID
									</td>
									
									<td align="center" width="17%">
										一级分类名称
									</td>
									<td width="7%" align="center">
										编辑
									</td>
									<td width="7%" align="center">
										删除
									</td>
								</tr>
								<c:forEach items="${categoryList }" var="c">
										<tr onmouseover="this.style.backgroundColor = 'white'"
											onmouseout="this.style.backgroundColor = '#F5FAFE';">
											<td align="center">
												${c.cid}
											</td>
											<td align="center">
												${c.cname }
											</td>
											<td align="center">
												<button type="button" onclick="edit(${c.cid})">编辑</button>
后面还有 13 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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