8d12879b1dc35beb01fa5ccc7fcbaa71e10f4d0a.svn-base
4.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>${config.id !=null ?'编辑':'添加' }</title>
<%@ include file="/WEB-INF/views/jsp/admin/public/publicjs.jsp"%>
<%@ include file="/WEB-INF/views/jsp/admin/public/validate.jsp"%>
<link rel="stylesheet" type="text/css" href="<%=request.getContextPath() %>/js/webuploader/webuploader.css">
<script type="text/javascript" src="<%=request.getContextPath() %>/js/webuploader/webuploader.js"></script>
</head>
<body>
<div class="center-main-ss" style="margin-bottom: 5px;">
<div class="main-title">
<span style="float: left;"><img src="<%=request.getContextPath() %>/images/admin/t_mt01.jpg" />
</span>
<span class="main-tt">${gift.id !=null ?'编辑':'添加' }</span>
<span style="float: right;"><img src="<%=request.getContextPath() %>/images/admin/t_mt03.jpg" />
</span>
</div>
<div class="main-add">
<form:form action="${basePath}/gift/saveUpdategift.html" id="validateForm" method="post" enctype="multipart/form-data" modelAttribute="gift">
<form:hidden path="id"/>
<table width="80%" align="center" border="0" cellpadding="0"
cellspacing="1" bgcolor="#CCCCCC" class="productTable">
<tr>
<td align="right" nowrap="nowrap" class="productTable_title">
名称:
</td>
<td bgcolor="#ffffff">
<form:input path="name" cssClass="required"/>
</td>
</tr>
<tr>
<td align="right" nowrap="nowrap" class="productTable_title">
经验值:
</td>
<td bgcolor="#ffffff">
<form:input path="exp" cssClass="required number"/>
</td>
</tr>
<tr>
<td align="right" nowrap="nowrap" class="productTable_title">
支持度:
</td>
<td bgcolor="#ffffff">
<form:input path="supportDegree" cssClass="required number"/>
</td>
</tr>
<tr>
<td align="right" nowrap="nowrap" class="productTable_title">
售价:
</td>
<td bgcolor="#ffffff">
<form:input path="price" cssClass="required number"/>
</td>
</tr>
<tr>
<td align="right" nowrap="nowrap" class="productTable_title">
gif图地址:
</td>
<td bgcolor="#ffffff">
<form:input path="gif" cssStyle="width:300px;" />
</td>
</tr>
<tr>
<td align="right" nowrap="nowrap" class="productTable_title">
选择gif图片上传:
</td>
<td bgcolor="#ffffff">
<input name="giffile" type="file" title="只能上传.gif格式" filetype="gif">
</td>
</tr>
<tr>
<td align="right" nowrap="nowrap" class="productTable_title">
图标地址:
</td>
<td bgcolor="#ffffff">
<form:input path="icon" cssStyle="width:300px;"/>
</td>
</tr>
<tr>
<td align="right" nowrap="nowrap" class="productTable_title">
选择图标上传:
</td>
<td bgcolor="#ffffff">
<input name="picfile" type="file" title="只能上传.png,.jpg格式" filetype="png,jpg">
</td>
</tr>
<tr>
<td align="right" nowrap="nowrap" class="productTable_title">
是否显示'连':
</td>
<td bgcolor="#ffffff">
<form:radiobutton checked="true" value="0" path="type" />显示
<form:radiobutton value="1" path="type"/>不显示
</td>
</tr>
<tr>
<td align="right" nowrap="nowrap" class="productTable_title">
是否启用:
</td>
<td bgcolor="#ffffff">
<form:radiobutton checked="true" value="Y" path="active" />启用
<form:radiobutton value="N" path="active"/>停用
</td>
</tr>
<tr>
<td colspan="2" align="center" height="40" bgcolor="#ffffff">
<input type="submit" value="保 存" class="admin_again"></input>
<input type="reset" value="取 消" class="admin_again" onClick="javascript:history.go(-1);"></input>
<input type="button" value="返 回" class="admin_again" onClick="javascript:history.go(-1);"/>
</td>
</tr>
</table>
</form:form>
</div>
</div>
</body>
</html>