|
|
<%@ 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,"jiaolian",ext,true,false,"");
|
|
|
HashMap mmm = new CommDAO().getmap(id,"jiaolian");
|
|
|
|
|
|
%>
|
|
|
<form action="jiaolian_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='gonghao' type='text' id='gonghao' value='<%= mmm.get("gonghao")%>' class="form-control" /></td></tr>
|
|
|
<tr><td>密码:</td><td><input name='mima' type='text' id='mima' value='<%= mmm.get("mima")%>' 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><select name='xingbie' id='xingbie' class="form-control2"><option value="男">男</option><option value="女">女</option></select></td></tr><script language="javascript">document.form1.xingbie.value='<%=mmm.get("xingbie")%>';</script>
|
|
|
<tr><td>年龄:</td><td><input name='nianling' type='text' id='nianling' value='<%= mmm.get("nianling")%>' class="form-control" /></td></tr>
|
|
|
<tr><td>照片:</td><td><input name='zhaopian' type='text' id='zhaopian' size='50' value='<%= mmm.get("zhaopian")%>' class="form-control" /> <div style="margin-top:16px;"> <input type='button' value='上传' onClick="up('zhaopian')"/></div></td></tr>
|
|
|
<tr><td>专长:</td><td><input name='zhuanchang' type='text' id='zhuanchang' class="form-control" style="width:600px;" value='<%=mmm.get("zhuanchang")%>' /></td></tr>
|
|
|
<tr><td>个人简介:</td><td><textarea name='gerenjianjie' cols='50' rows='5' id='gerenjianjie' class="form-control" style="width:600px;height:80px;" ><%=mmm.get("gerenjianjie")%></textarea></td></tr>
|
|
|
<tr><td>联系方式:</td><td><input name='lianxifangshi' type='text' id='lianxifangshi' value='<%= mmm.get("lianxifangshi")%>' class="form-control" /></td></tr>
|
|
|
<tr><td>地址:</td><td><input name='dizhi' type='text' id='dizhi' class="form-control" style="width:600px;" value='<%=mmm.get("dizhi")%>' /></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>
|
|
|
|
|
|
|