📄 dishform.jsp.svn-base
字号:
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<jsp:include page="../inc/pageHead.jsp"/>
<form name="dish" method="post" action="<c:url value="/admin/dish/dishForm.jspx"/>">
<input type="hidden" name="method" value="${param.method}">
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<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">
<spring:bind path="dish.name">
<tr>
<td width="20%" height="25" class="fieldName">菜 名:</td>
<td width="80%" bgcolor="#f8f8f8"><input name="name" type="text" size="50" class="inputText" onfocus="this.className='inputText_focus'" onBlur="this.className='inputText'" value="<c:out value="${status.value}"/>"></td>
</tr>
</spring:bind>
<spring:bind path="dish.price">
<tr>
<td height="25" class="fieldName">价 格:</td>
<td height="25" bgcolor="#f8f8f8"><input name="price" type="text" size="10" class="inputText" onfocus="this.className='inputText_focus'" onBlur="this.className='inputText'" value="<c:out value="${status.value}"/>"></td>
</tr>
</spring:bind>
<spring:bind path="dish.memberprice">
<tr>
<td height="25" class="fieldName">会员价:</td>
<td height="25" bgcolor="#f8f8f8"><input name="memberprice" type="text" size="10" class="inputText" onfocus="this.className='inputText_focus'" onBlur="this.className='inputText'" value="<c:out value="${status.value}"/>"></td>
</tr>
</spring:bind>
<tr>
<td width="20%" height="25" class="fieldName">类 别:</td>
<td height="25" bgcolor="#f8f8f8">
<spring:bind path="dish.dishsort.id">
<select name="dishsort_id">
<c:forEach var="dishSortItem" items="${dishSortList}">
<option value="${dishSortItem.id}" <c:if test="${status.value==dishSortItem.id}">selected</c:if>>${dishSortItem.name}</option>
</c:forEach>
</select>
</spring:bind>
</td>
</tr>
<spring:bind path="dish.isnew">
<tr>
<td height="25" class="fieldName">推 荐:</td>
<td height="25" bgcolor="#f8f8f8">
<input name="isnew" type="radio" value="Y" <c:if test="${dish.isnew=='Y'}">checked</c:if>>是
<input name="isnew" type="radio" value="N" <c:if test="${dish.isnew=='N'}">checked</c:if>>否
</td>
</tr>
</spring:bind>
<spring:bind path="dish.senddate">
<tr>
<td height="25" class="fieldName">日 期:</td>
<td height="25" bgcolor="#f8f8f8"><input name="senddate" type="text" size="20" class="inputText" onfocus="this.className='inputText_focus'" onBlur="this.className='inputText'" value="<c:out value="${status.value}"/>">
<a href="javascript:void(0)" onclick="if(self.gfPop)gfPop.fPopCalendar(senddate);return false;" HIDEFOCUS><img name="popcal" align="absmiddle" src="<c:url value="/calendar/calbtn.gif"/>" width="34" height="22" border="0" alt=""></a>
</td>
</tr>
</spring:bind>
<tr>
<td height="25" class="fieldName">图片上传:</td>
<td height="25" bgcolor="#f8f8f8"><input type="button" name="upload" value="上传图片" onclick="puploadFile(this.form);"></td>
</tr>
<spring:bind path="dish.material">
<tr>
<td height="25" class="fieldName">原 料:</td>
<td height="25" bgcolor="#f8f8f8">
<TEXTAREA NAME="material" ROWS="6" COLS="70"><c:out value="${status.value}"/></TEXTAREA>
</td>
</tr>
</spring:bind>
<spring:bind path="dish.shtick">
<tr>
<td height="25" class="fieldName">特 色:</td>
<td height="25" bgcolor="#f8f8f8">
<TEXTAREA NAME="shtick" ROWS="6" COLS="70"><c:out value="${status.value}"/></TEXTAREA>
</td>
</tr>
</spring:bind>
<spring:bind path="dish.about">
<tr>
<td height="25" class="fieldName">菜品介绍:</td>
<td height="25" bgcolor="#f8f8f8">
<TEXTAREA NAME="about" ROWS="6" COLS="70"><c:out value="${status.value}"/></TEXTAREA>
</td>
</tr>
</spring:bind>
<tr>
<td height="30" class="fieldName"> </td>
<td height="30" bgcolor="#f8f8f8">
<input type="image" src="../images/ok_bt.gif" width="44" height="20" onmouseover="this.src='../images/ok_bt_over.gif'" onmouseout="this.src='../images/ok_bt.gif'" class="image_button">
<img src="../images/list_bt.gif" width="44" height="20" onmouseover="this.src='../images/list_bt_over.gif'" onmouseout="this.src='../images/list_bt.gif'" class="image_button" onClick="location.href='<c:url value="/admin/dish/dishList.jspx"/>'">
</td>
</tr>
</table>
<!--数据表主体结束-->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="25"> </td>
</tr>
</table></td>
<td width="5"> </td>
</tr>
</table>
</form>
<iframe width=174 height=189 name="gToday:normal:agenda.js" id="gToday:normal:agenda.js" src="<c:url value="/calendar/ipopeng.htm"/>" scrolling="no" frameborder="0" style="visibility:visible; z-index:999; position:absolute; left:-500px; top:0px;">
</iframe>
<script type="text/javascript">
<!--
function puploadFile(frm){
var url="<c:url value='/admin/uploadFile.jsp'/>";
var w=400;
var h=300;
var k = showModalDialog(url,'window',"dialogWidth:"+w+"px;status:no;dialogHeight:"+h+"px");
}
//-->
</script>
<jsp:include page="../inc/pageFoot.jsp"/>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -