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.

101 lines
3.5 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>
<link rel="stylesheet" href="images/hsgcommon/common.css" type="text/css">
<link rel="stylesheet" href="images/hsgcommon/div.css" type="text/css">
<script type="text/javascript" src="js/My97DatePicker/WdatePicker.js" charset="gb2312"></script>
<script type="text/javascript" src="js/popup.js"></script>
</head>
<%
String id="";
id=request.getParameter("id");
HashMap mlbdq = new CommDAO().getmap(id,"kechengxinxi");
String jiaolian="";
String kechengmingcheng="";
String xuefei="";
jiaolian=(String)mlbdq.get("jiaolian");
kechengmingcheng=(String)mlbdq.get("kechengmingcheng");
xuefei=(String)mlbdq.get("xuefei");
%>
<script language="javascript">
function gow()
{
document.location.href="baomingxinxi_add.jsp?id=<%=id%>";
}
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>
<%
HashMap ext = new HashMap();
if(request.getParameter("f")!=null){
ext.put("iszf","否");
new CommDAO().insert(request,response,"baomingxinxi",ext,true,false,"");
}
%>
<body >
<form action="baomingxinxi_add.jsp?f=f&id=<%=id%>" method="post" name="form1" onsubmit="return checkform();">
添加报名信息:
<br><br>
<table width="100%" border="1" align="center" cellpadding="3" cellspacing="1" bordercolor="#cccccc" >
<tr><td width="200">教练:</td><td><input name='jiaolian' type='text' id='jiaolian' value='' onblur='' class="form-control" readonly='readonly' /></td></tr><script language="javascript">document.form1.jiaolian.value='<%=jiaolian%>';document.form1.jiaolian.setAttribute("readOnly",'true');</script>
<tr><td width="200">课程名称:</td><td><input name='kechengmingcheng' type='text' id='kechengmingcheng' value='' onblur='' class="form-control" readonly='readonly' /></td></tr><script language="javascript">document.form1.kechengmingcheng.value='<%=kechengmingcheng%>';document.form1.kechengmingcheng.setAttribute("readOnly",'true');</script>
<tr><td width="200">学费:</td><td><input name='xuefei' type='text' id='xuefei' value='' onblur='' class="form-control" readonly='readonly' /></td></tr><script language="javascript">document.form1.xuefei.value='<%=xuefei%>';document.form1.xuefei.setAttribute("readOnly",'true');</script>
<tr><td width="200">学员:</td><td><input name='xueyuan' type='text' id='xueyuan' onblur='' class="form-control" value='<%=request.getSession().getAttribute("username")%>' readonly="readonly" /></td></tr>
<tr>
<td>&nbsp;</td>
<td><input type="submit" name="Submit" value="提交" class="btn btn-info btn-small" />
<input type="reset" name="Submit2" value="重置" class="btn btn-info btn-small" /></td>
</tr>
</table>
</form>
</body>
</html>
<script language=javascript src='js/ajax.js'></script>
<%@page import="java.util.ArrayList"%>
<%@page import="java.util.HashMap"%>
<script language=javascript >
function checkform(){
return true;
}
popheight=450;
</script>
<script src="images/hsgcommon/jq.js"></script>
<script src="images/hsgcommon/common.js"></script>
<script src="images/hsgcommon/bootbox.js"></script>