|
|
<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%>
|
|
|
<%@page import="util.Info"%>
|
|
|
<%@page import="dao.CommDAO"%>
|
|
|
<%@page import="util.PageManager"%>
|
|
|
<html>
|
|
|
<head>
|
|
|
<title>健身信息</title>
|
|
|
|
|
|
<script type="text/javascript" src="js/My97DatePicker/WdatePicker.js" charset="gb2312"></script>
|
|
|
<script type="text/javascript" src="js/popup.js"></script>
|
|
|
<link rel="stylesheet" href="images/hsgcommon/common.css" type="text/css">
|
|
|
<link rel="stylesheet" href="images/hsgcommon/div.css" type="text/css">
|
|
|
|
|
|
</head>
|
|
|
<script language="javascript">
|
|
|
|
|
|
function hsgxia2shxurxu(nstr,nwbk)
|
|
|
{
|
|
|
if (eval("form1."+nwbk).value.indexOf(nstr)>=0)
|
|
|
{
|
|
|
eval("form1."+nwbk).value=eval("form1."+nwbk).value.replace(nstr+";", "");
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
eval("form1."+nwbk).value=eval("form1."+nwbk).value+nstr+";";
|
|
|
}
|
|
|
}
|
|
|
</script>
|
|
|
|
|
|
<body >
|
|
|
<%
|
|
|
|
|
|
String id = request.getParameter("id");
|
|
|
|
|
|
HashMap ext = new HashMap();
|
|
|
|
|
|
new CommDAO().update(request,response,"jianshenxinxi",ext,true,false,"");
|
|
|
HashMap mmm = new CommDAO().getmap(id,"jianshenxinxi");
|
|
|
|
|
|
%>
|
|
|
<form action="jianshenxinxi_updt.jsp?f=f&id=<%=mmm.get("id")%>" method="post" name="form1" onsubmit="return checkform();">
|
|
|
修改健身信息:
|
|
|
<br><br>
|
|
|
|
|
|
<table width="100%" border="1" align="center" cellpadding="3" cellspacing="1" bordercolor="#cccccc" style="border-collapse:collapse">
|
|
|
|
|
|
<tr><td>用户名:</td><td><input name='yonghuming' type='text' id='yonghuming' value='<%= mmm.get("yonghuming")%>' class="form-control" /></td></tr>
|
|
|
<tr><td>姓名:</td><td><input name='xingming' type='text' id='xingming' value='<%= mmm.get("xingming")%>' class="form-control" /></td></tr>
|
|
|
<tr><td>日期:</td><td><input name='riqi' type='text' id='riqi' value='<%= mmm.get("riqi")%>' class="form-control" /></td></tr>
|
|
|
<tr><td>健身类型:</td><td><input name='jianshenleixing' type='text' id='jianshenleixing' value='<%= mmm.get("jianshenleixing")%>' class="form-control" /></td></tr>
|
|
|
<tr><td>时长:</td><td><input name='shichang' type='text' id='shichang' value='<%= mmm.get("shichang")%>' class="form-control" /></td></tr>
|
|
|
<tr><td>效果:</td><td><textarea name='xiaoguo' cols='50' rows='5' id='xiaoguo' class="form-control" style="width:600px;height:80px;" ><%=mmm.get("xiaoguo")%></textarea></td></tr>
|
|
|
<tr>
|
|
|
<td> </td>
|
|
|
<td><input type="submit" name="Submit" value="提交" onClick="return checkform();" class="btn btn-info btn-small" />
|
|
|
<input type="reset" name="Submit2" value="重置" class="btn btn-info btn-small" /></td>
|
|
|
</tr>
|
|
|
</table>
|
|
|
</form>
|
|
|
|
|
|
</body>
|
|
|
</html>
|
|
|
|
|
|
|