WebContent/WEB-INF/jsp/master/addtopic.jsp
(开头部分) 5KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<%@ page language="java" pageEncoding="utf-8"%>
<%@ include file="/WEB-INF/jsp/pub/include.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="UTF-8">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="<%=request.getContextPath()%>/css/default.css"
rel="stylesheet" type="text/css" />
<link href="<%=request.getContextPath()%>/css/user.css"
rel="stylesheet" type="text/css" />
<title>会员中心--<c:choose><c:when test="${empty topicEntity}">发布主题</c:when><c:otherwise>编辑主题</c:otherwise></c:choose></title>
<script type="text/javascript">
function check(form){
if(form.title.value==""){
alert("标题不能为空");
return false;
}
if(form.menuId.value==0){
alert("目录没有选择");
return false;
}
if(form.content.value==""){
alert("详细内容不能为空");
return false;
}
<c:if test="${not empty topicEntity}">
form.action='<c:url value="/master/topic.do?m=doEdit"/>';
</c:if>
return true;
}
</script>
</head>
<body>
<div class="wrap">
<!--头部定义开始-->
<div id="header" class="main">
<jsp:include page="/WEB-INF/jsp/pub/header.jsp"></jsp:include>
</div>
<!--头部定义结束-->
<div id="center_all" class="main">
<div id="main_bg">
<div id="main_right">
<div id="main_right_box">
<div class="r_navigation">
您现在的位置:
<a href="<c:url value="/"/>"><f:message key="site_name" />
</a>>>
<a href="<c:url value="/master/"/>">会员中心</a>
</div>
<div class="c_spacing"></div>
<div class="u_form1">
<div style="text-align: center">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr align="center">
<td id="TabTitle0" class="titlemouseover">
发布主题
</td>
</tr>
</table>
<form action="<c:url value="/master/topic.do?m=doAddTopic"/>" method="post" onsubmit="return check(this)">
后面还有 80 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
