parent
f47e45e9b3
commit
2667721825
@ -0,0 +1,61 @@
|
||||
<%@ page language="java" pageEncoding="UTF-8"%>
|
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
|
||||
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
|
||||
<%@ page isELIgnored="false" %>
|
||||
|
||||
<%
|
||||
String path = request.getContextPath();
|
||||
%>
|
||||
|
||||
<!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">
|
||||
<head>
|
||||
<meta http-equiv="pragma" content="no-cache" />
|
||||
<meta http-equiv="cache-control" content="no-cache" />
|
||||
<meta http-equiv="expires" content="0" />
|
||||
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3" />
|
||||
<meta http-equiv="description" content="This is my page" />
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="<%=path %>/css/base.css" />
|
||||
|
||||
<script language="javascript">
|
||||
function c()//判断是否有菜品类别信息输入
|
||||
{
|
||||
if(document.formAdd.name.value=="")
|
||||
{
|
||||
alert("请输入类别名称");
|
||||
return false;
|
||||
}
|
||||
|
||||
document.formAdd.submit();//输入菜品类别信息,提交
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body leftmargin="2" topmargin="9" background='<%=path %>/img/allbg.gif'>
|
||||
<form action="<%=path %>/catelog?type=catelogAdd" name="formAdd" method="post">
|
||||
<table width="98%" border="0" cellpadding="2" cellspacing="1" bgcolor="#D1DDAA" align="center" style="margin-top:8px">
|
||||
<tr bgcolor="#E7E7E7">
|
||||
<td height="14" colspan="4" background="<%=path %>/img/tbg.gif"> </td>
|
||||
</tr>
|
||||
<tr align='center' bgcolor="#FFFFFF" height="22">
|
||||
<td width="25%" bgcolor="#FFFFFF" align="right">
|
||||
类别名称:
|
||||
</td>
|
||||
<td width="75%" bgcolor="#FFFFFF" align="left">
|
||||
<input type="text" name="name" size="40"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr align='center' bgcolor="#FFFFFF" height="22">
|
||||
<td width="25%" bgcolor="#FFFFFF" align="right">
|
||||
|
||||
</td>
|
||||
<td width="75%" bgcolor="#FFFFFF" align="left">
|
||||
<input type="button" value="提交" onclick="c()"/>
|
||||
<input type="reset" value="重置"/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,62 @@
|
||||
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
|
||||
<%@ page isELIgnored="false" %>
|
||||
<%@ taglib uri="http://java.fckeditor.net" prefix="FCK"%>
|
||||
|
||||
<%
|
||||
String path = request.getContextPath();
|
||||
%>
|
||||
|
||||
<!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">
|
||||
<head>
|
||||
<base target="_self"/>
|
||||
<meta http-equiv="pragma" content="no-cache" />
|
||||
<meta http-equiv="cache-control" content="no-cache" />
|
||||
<meta http-equiv="expires" content="0" />
|
||||
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3" />
|
||||
<meta http-equiv="description" content="This is my page" />
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="<%=path %>/css/base.css" />
|
||||
|
||||
<script language="javascript">
|
||||
function c()//无内容提示请输入回复内容
|
||||
{
|
||||
if(document.formAdd.huifu.value=="")
|
||||
{
|
||||
alert("请输入回复内容");
|
||||
return false;
|
||||
}
|
||||
|
||||
document.formAdd.submit();//有内容将内容提交
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body leftmargin="2" topmargin="9" background='<%=path %>/img/allbg.gif'>
|
||||
<form action="<%=path %>/liuyan?type=liuyanHuifu" name="formAdd" method="post">
|
||||
<table width="98%" align="center" border="0" cellpadding="4" cellspacing="1" bgcolor="#CBD8AC" style="margin-bottom:8px">
|
||||
<tr bgcolor="#EEF4EA">
|
||||
<td colspan="3" background="<%=path %>/img/wbg.gif" class='title'><span>信息交流</span></td>
|
||||
</tr>
|
||||
<tr align='center' bgcolor="#FFFFFF" onMouseMove="javascript:this.bgColor='red';" onMouseOut="javascript:this.bgColor='#FFFFFF';" height="22">
|
||||
<td width="25%" bgcolor="#FFFFFF" align="right">
|
||||
回复内容:
|
||||
</td>
|
||||
<td width="75%" bgcolor="#FFFFFF" align="left">
|
||||
<input type="text" name="huifu" size="80"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr align='center' bgcolor="#FFFFFF" onMouseMove="javascript:this.bgColor='red';" onMouseOut="javascript:this.bgColor='#FFFFFF';" height="22">
|
||||
<td width="25%" bgcolor="#FFFFFF" align="right">
|
||||
|
||||
</td>
|
||||
<td width="75%" bgcolor="#FFFFFF" align="left">
|
||||
<input type="hidden" name="id" value="<%=request.getParameter("id") %>"/> <!-- 获得id属性 -->
|
||||
<input type="button" value="提交" onclick="c()"/> <!-- 触发之前定义的是否有内容的判断 -->
|
||||
<input type="reset" value="重置"/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in new issue