<!--#include file="ljconn.asp"-->
<%
set rs=server.CreateObject("adodb.recordset")
rs.open "select * from jl where id="&cint(request("id"))&"",conn,1,1
%>
<html><head><title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../img/css.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style1 {font-size: 12px}
.STYLE2 {
	color: #FF0000;
	font-size: 12px;
}
-->
</style>
</head>
<body>
<table class="tableBorder" width="100%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#FFFFFF">
<tr bgcolor="#E8F1FF"> 
<td height="25" align="center" background="img/admin_bg_1.gif"><span class="style1"><b><font color="#ffffff">修改科研团队</font></b> </span></td>
</tr>
<tr bgcolor="#E8F1FF"> 
<form name="form1" method="post" action="savejl.asp?action=edit" OnSubmit="return checkkk()" >
<td> 
                                <table width="100%" border="0" align="center" cellpadding="5" cellspacing="1" bgcolor="#ffffff">          
							<tr bgcolor="#E8F1FF" style="display:none;"> 
            <td width="12%" align="right" class="style1"><span class="style1">分类：</span> </td>
            <td colspan="3" class="style1"><select name="jgid" id="jgid">
              <option value="1" <%if rs("jgid")="1" then%>selected="selected"<%end if%>>教授</option>
              <option value="2" <%if rs("jgid")="2" then%>selected="selected"<%end if%>>副教授</option>
			  <option value="3" <%if rs("jgid")="3" then%>selected="selected"<%end if%>>讲师</option>
            </select>
              <span class="STYLE2">* </span></td>
            </tr>				
								
			<tr bgcolor="#E8F1FF"> 
            <td width="12%" align="right" class="style1"><span class="style1">姓名：</span> </td>
            <td colspan="3" class="style1"><input name="xm" type="text" id="xm" value="<%=rs("xm")%>" size="30" maxlength="50">
              <span class="STYLE2">*</span></td>
            </tr>
			
			          <tr bgcolor="#E8F1FF" style="display:none;"> 
            <td width="12%" align="right" class="style1"><span class="style1">性别：</span></td>
            <td width="40%" class="style1"><span class="style1">
              <label>
              <input name="xb" type="radio" value="1" <%if rs("xb")=1 then%>checked<%end if%>>
              </label>
              <label> 男
              <input name="xb" type="radio" value="0" <%if rs("xb")=0 then%>checked<%end if%>>
女 </label>
            </span></td>
            <td width="13%" align="center" class="style1">出生年月：</td>
            <td class="style1"><input name="ll" type="text" id="ll" value="<%=rs("ll")%>" size="10" maxlength="50"></td>
			          </tr> <tr bgcolor="#E8F1FF" style="display:none;"> 
            <td width="12%" align="right" class="style1">职称：</td>
            <td class="style1"><label></label><label>
              <input name="zc" type="text" id="zc" value="<%=rs("zc")%>" size="30" maxlength="50">
            </label></td>
            <td align="center" class="style1">研究方向：</td>
            <td class="style1"><input name="yjly" type="text" id="yjly" value="<%=rs("yjly")%>" size="20" maxlength="50"></td>
					  </tr>
					  
					  					  <tr bgcolor="#E8F1FF" style="display:none;"> 
            <td width="12%" align="right" class="style1">照片：</td>
            <td colspan="3" class="style1"><input name="img" type="text" id="img" value="<%=rs("img")%>" size="30" maxlength="150">
              <input class="button" type="button" name="Submit2" value="上传图片" onClick="window.open('../klsdtc.asp?formname=form1&editname=img&uppath=bookpic&filelx=jpg','','status=no,scrollbars=no,top=20,left=110,width=420,height=165')"></td>
            </tr>
          <tr bgcolor="#E8F1FF"> 
            <td align="right" valign="top" class="style1"><span class="style1">详细： 
            </span></td>
            <td colspan="3" class="style1">
            <textarea name="content" style="display:none"><%=rs("content")%></textarea>
            <IFRAME ID="eWebEditor1" src="xuexiao/editor.html" frameborder="0" scrolling="no" width="98%" height="350"></IFRAME></td>
          </tr>
          <tr bgcolor="#E8F1FF"> 
            <td class="style1"></td>
            <td height="30" colspan="3" class="style1"> <input type="submit" name="Submit" value=" 修改保存 "> 
              <input onClick="ClearReset()" type=reset name="Clear" value=" 重新填写 ">
              <input name="id" type="hidden" id="id" value="<%=rs("id")%>"></td>
          </tr>
        </table>
</td>
</form>
</tr>
</table>
<!--#include file="copyright.asp"-->
</body>
</html>
<%
rs.close
set rs=nothing
conn.close
set conn=nothing
%>
<SCRIPT LANGUAGE="JavaScript">
<!--
function checkkk()
{
    if(checkspace(document.form1.xm.value)) {
	document.form1.xm.focus();
    alert("请填写姓名！");
	return false;
  }
  
}
function checkspace(checkstr) {
  var str = '';
  for(i = 0; i < checkstr.length; i++) {
    str = str + ' ';
  }
  return (str == checkstr);
}
//-->
</script>