You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

59 lines
3.3 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<%@ 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,"kechengxinxi",ext,true,false,"");
HashMap mmm = new CommDAO().getmap(id,"kechengxinxi");
%>
<form action="kechengxinxi_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='jiaolian' type='text' id='jiaolian' value='<%= mmm.get("jiaolian")%>' class="form-control" /></td></tr>
<tr><td>课程名称:</td><td><input name='kechengmingcheng' type='text' id='kechengmingcheng' value='<%= mmm.get("kechengmingcheng")%>' class="form-control" /></td></tr>
<tr><td>锻炼部位:</td><td><input name='duanlianbuwei' type='text' id='duanlianbuwei' value='<%= mmm.get("duanlianbuwei")%>' class="form-control" /></td></tr>
<tr><td>课程日期:</td><td><input name='kechengriqi' type='text' id='kechengriqi' value='<%= mmm.get("kechengriqi")%>' onclick="WdatePicker({'dateFmt':'yyyy-MM-dd'})" readonly='readonly' class="form-control" /></td></tr>
<tr><td>课时安排:</td><td><textarea name='keshianpai' cols='50' rows='5' id='keshianpai' class="form-control" style="width:600px;height:80px;" ><%=mmm.get("keshianpai")%></textarea></td></tr>
<tr><td>学费:</td><td><input name='xuefei' type='text' id='xuefei' value='<%= mmm.get("xuefei")%>' class="form-control" /></td></tr>
<tr><td>封面:</td><td><input name='fengmian' type='text' id='fengmian' size='50' value='<%= mmm.get("fengmian")%>' class="form-control" /> <div style="margin-top:16px;">&nbsp;<input type='button' value='上传' onClick="up('fengmian')"/></div></td></tr>
<tr><td>课程内容:</td><td><textarea name='kechengneirong' cols='50' rows='5' id='kechengneirong' class="form-control" style="width:600px;height:80px;" ><%=mmm.get("kechengneirong")%></textarea></td></tr>
<tr><td>课程介绍:</td><td><textarea name='kechengjieshao' cols='50' rows='5' id='kechengjieshao' class="form-control" style="width:600px;height:80px;" ><%=mmm.get("kechengjieshao")%></textarea></td></tr>
<tr>
<td>&nbsp;</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>