<!--#include file="../checkLogin.asp"-->
<!--#include file="../SQLconn.asp"-->
<script Language="JavaScript">
 
 
 function form_check(){
 
   if(document.form3.TNO.value.length<1){window.alert("请输入编号");document.form3.TNO.focus();return (false);}
   if(document.form3.Tname.value.length<1){window.alert("请输入姓名");document.form3.Tname.focus();return (false);}
   if(document.form3.Sex.value.length<1){window.alert("请选择性别");document.form3.Sex.focus();return (false);}
   if(document.form3.Nation.value.length<1){window.alert("请输入民族");document.form3.Nation.focus();return (false);}
   if(document.form3.CardNo.value.length<1){window.alert("请输入身份证号");document.form3.CardNo.focus();return (false);}
   if(document.form3.JOINDATE.value.length<1){window.alert("请输入加入本单位时间");document.form3.JOINDATE.focus();return (false);}

   
}

</script>

<link rel="stylesheet" type="text/css" href="../images/<%=request.cookies("imgdir")%>/css/style.css" media="all"/>
<%
'检查权限
 set RsPowder=Conn.Execute("select p.powderdetail  from teachers t,teacherpowder p  where t.powdergroup=p.powdergroup and tname='"&request.cookies("tname")&"' and powderdetail='员工档案'")
	 if  RsPowder.eof and  RsPowder.bof then
		response.redirect  "../NoPower.asp"
	 end if 
sPowder.close
'检查权限结束
%>
<form method="post" ENCTYPE="multipart/form-data" name="form3" action="savedangan.asp" onSubmit="return form_check();">
  <table width="743" height="425" border="1" align="center" cellpadding="2" cellspacing="0" style="border-collapse:collapse">
    <tbody>
      <tr height="30">
        <td nowrap="nowrap" colspan="7"><div align="center"><strong>基本信息</strong>录入</div></td>
      </tr>
       <tr height="30">
        <td width="88" nowrap="nowrap" class="STYLE1"><div align="center"><strong>编&nbsp;&nbsp;号</strong></div></td>
        <td colspan="5"><input  name="TNO" class="text" id="TNO" size="12" />        </td>
        <td width="106" rowspan="7" align="middle"><span class="STYLE1">照片</span>
          <input type="file" name="file1"  class=text id="file1"  onblur='this.style.backgroundColor="#FFFFFF"' title="选择附件文件" size="5" /></td>
      </tr>
     <tr height="30">
        <td nowrap="nowrap" class="STYLE1"><div align="center"><strong>姓&nbsp;&nbsp;名</strong></div></td>
        <td width="122"><input name="Tname" class="text" id="Tname" size="12" maxlength="100" /></td>
        <td width="90" class="STYLE1"><div align="center"><span class="STYLE1"><strong>性&nbsp;&nbsp;别</strong></span></div></td>
        <td colspan="3"><select name="Sex">
          <option></option>
          <option value="男">男</option>
          <option value="女">女</option>
        </select></td>
      </tr>
      <tr height="30">
        <td nowrap="nowrap" class="STYLE1"><div align="center"><strong>出生日期</strong></div></td>
        <td><input  name="birthday" class="text" id="birthday" size="12"  /></td>
        <td class="STYLE1"><div align="center"><span class="STYLE1"><strong>身份证号码</strong></span></div></td>
        <td colspan="3"><input name="CardNo" class="text" id="CardNo" maxlength="25" /></td>
      </tr>
      <tr height="30">
        <td nowrap="nowrap" class="STYLE1"><div align="center"><strong>籍&nbsp;&nbsp;贯</strong></div></td>
        <td><input name="jiguan" class="text" id="jiguan" size="12" /></td>
        <td class="STYLE1"><div align="center"><span class="STYLE1"><strong>学&nbsp;&nbsp;历</strong></span></div></td>
        <td width="111"><select name="xueli" id="xueli">
          <option ></option>
          <option>高中</option>
          <option>中专</option>
          <option>大专</option>
          <option>本科</option>
          <option>研究生</option>
        </select></td>
        <td width="96" class="STYLE1"><div align="center"><span class="STYLE1"><strong>学&nbsp;&nbsp;位</strong></span></div></td>
        <td width="86"><select name="xuewei" id="xuewei">
          <option ></option>
          <option>学士</option>
          <option>硕士</option>
          <option>博士</option>
          <option>无</option>
           
        </select></td>
      </tr>
      <tr height="30">
        <td nowrap="nowrap" class="STYLE1"><div align="center"><strong>民&nbsp;&nbsp;族</strong></div></td>
        <td><input name="minzu" class="text" id="minzu" size="12" maxlength="100" /></td>
        <td class="STYLE1"><div align="center"><strong>所教学科</strong></div></td>
        <td><input name="suojiaoxueke" class="text" id="suojiaoxueke" size="12" maxlength="100" /></td>
        <td class="STYLE1"><div align="center"><strong>职&nbsp;&nbsp;务</strong></div></td>
        <td><input name="zhiwu" class="text" id="zhiwu" size="12" maxlength="100" /></td>
      </tr>
      <tr height="30">
        <td nowrap="nowrap" class="STYLE1"><div align="center"><strong>职&nbsp;&nbsp;称</strong></div></td>
        <td> 
		
		<select name="zhicheng">
				<option selected ></option>
				<option></option>
				<% Set RSsel = Conn.Execute("select vname from  varset where name='职称' ORDER BY vid")
				While NOT RSsel.EOF %>
				<option value=<%=RSsel( "Vname" )%>><%=RSsel( "vname" )%></option>
				<% RSsel.MoveNext
				Wend
				RSsel.Close%>
				</select>		</td>
        <td class="STYLE1"><div align="center"><strong>评定时间</strong></div></td>
        <td><input name="pingdingshijian" class="text" id="pingdingshijian" size="12" maxlength="100" /></td>
        <td class="STYLE1"><div align="center"><strong>聘任时间</strong></div></td>
        <td><input name="pingrenshijian" class="text" id="pingrenshijian" size="12" maxlength="20"></td>
      </tr>
      <tr height="30">
        <td nowrap="nowrap" class="STYLE1"><div align="center"><strong>婚姻状况</strong></div></td>
        <td><select name="Marry" id="Marry">
          <option value=""></option>
          <option>未婚</option>
          <option>已婚</option>
          <option>离异</option>
        </select></td>
        <td class="STYLE1"><div align="center"><strong>户口所在地</strong></div></td>
        <td><input name="hukou" class="text" id="hukou" size="12" maxlength="100" /></td>
        <td class="STYLE1"><div align="center"><span class="STYLE1"><strong>加入本单位时间</strong></span></div></td>
        <td><input name="jiarubendanweishijian" class="text" id="jiarubendanweishijian" size="12" maxlength="10"  /></td>
      </tr>
      
      <tr height="30">
        <td nowrap="nowrap" class="STYLE1"><div align="center"><strong>毕业院校</strong></div></td>
        <td colspan="2"><input  name="biyeyuanxiao" class="text" id="biyeyuanxiao" size="20" maxlength="100" /></td>
        <td><span class="STYLE1"><strong>专业</strong></span></td>
        <td colspan="3"><input name="zhuanye" class="text" id="zhuanye" size="20" maxlength="100" /></td>
      </tr>
      
       <tr height="30">
        <td nowrap="nowrap" class="STYLE1"><div align="center"><strong>政治面貌</strong></div></td>
        <td><input name="zhengzhimianmao" class="text" id="zhengzhimianmao" size="12" maxlength="100" /></td>
        <td class="STYLE1"><div align="center"><strong>加入时间</strong></div></td>
        <td nowrap="nowrap" class="STYLE1"><div align="left">
          <input name="jiarushijian" class="text" id="jiarushijian" size="12" maxlength="100" />
        </div></td>
        <td rowspan="4" nowrap="nowrap" class="STYLE1"><p align="center"><strong>技</strong><br><strong>术</strong><br><strong>岗</strong><br><strong>位</strong></p></td>
        <td nowrap="nowrap" class="STYLE1"><div align="center"><strong>岗位级别:</strong></div></td>
        <td>
		
		<select name="gangweijibie">
				<option selected ></option>
				<option></option>
				<% Set RSsel = Conn.Execute("select vname from  varset where name='岗位级别' ORDER BY vid")
				While NOT RSsel.EOF %>
				<option value=<%=RSsel( "Vname" )%>><%=RSsel( "vname" )%></option>
				<% RSsel.MoveNext
				Wend
				RSsel.Close%>
				</select>		</td>
       </tr>
       <tr height="30">
        <td nowrap="nowrap" class="STYLE1"><div align="center">
          <div align="center"><strong>参加工作时间</strong></div>
        </div></td>
        <td><input name="canjiagongzuoshijian" class="text" id="canjiagongzuoshijian" size="12" maxlength="100" /></td>
        <td class="STYLE1"><div align="center"><span class="STYLE1"><strong>转正时间:</strong></span></div></td>
        <td nowrap="nowrap" class="STYLE1"><div align="left">
          <input name="zhuanzhengdate" class="text" id="zhuanzhengdate" size="12" maxlength="100" />
        </div></td>
        <td nowrap="nowrap" class="STYLE1"><div align="center"><strong>薪&nbsp;&nbsp;级</strong></div></td>
        <td><input name="xinji" class="text" id="xinji" size="12" maxlength="100" /></td>
      </tr>
       <tr height="30">
        <td nowrap="nowrap" class="STYLE1"><div align="center"><strong>联系电话</strong></div></td>
        <td><input name="dianhua" class="text" id="dianhua" size="12" maxlength="20" /></td>
        <td class="STYLE1"><div align="center"><span class="STYLE1"><strong>手&nbsp;&nbsp;机</strong></span></div></td>
        <td nowrap="nowrap" class="STYLE1"><div align="left">
          <input name="shouji" class="text" id="shouji" size="12" maxlength="100" />
        </div></td>
        <td nowrap="nowrap" class="STYLE1"><div align="center" class="STYLE1"><strong>聘任岗位</strong></div></td>
        <td> 
		
		  <select name="pinrengangwei">
				<option selected ></option>
				<option></option>
				<% Set RSsel = Conn.Execute("select vname from  varset where name='岗位级别' ORDER BY vid")
				While NOT RSsel.EOF %>
				<option value=<%=RSsel( "Vname" )%>><%=RSsel( "vname" )%></option>
				<% RSsel.MoveNext
				Wend
				RSsel.Close%>
				</select>		  </td>
      </tr>
      <tr height="30">
        <td nowrap="nowrap" class="STYLE1"><div align="center" class="STYLE1"><strong>电子邮件</strong></div></td>
        <td nowrap="nowrap"><input  name="email" class="text" id="email" size="12" maxlength="100" /></td>
        <td nowrap="nowrap"><div align="center"><span class="STYLE1"><strong> 邮编</strong></span></div></td>
        <td nowrap="nowrap"><input name="youbian" class="text" id="youbian" size="12" maxlength="100" /></td>
        <td nowrap="nowrap" class="STYLE1"><div align="center" class="STYLE1"><strong>聘任薪级</strong></div></td>
        <td nowrap="nowrap"><input name="pinrenxinji" class="text" id="pinrenxinji" size="12" maxlength="100" /></td>
      </tr>
      <tr height="30">
        <td nowrap="nowrap" class="STYLE1"><div align="center" class="STYLE1"><strong>资格证书编号</strong></div></td>
        <td nowrap="nowrap"><input  name="zigebianhao" class="text" id="zigebianhao" size="12" maxlength="100" /></td>
        <td nowrap="nowrap"><div align="center" class="STYLE1"><strong>资格证书时间</strong></div></td>
        <td nowrap="nowrap"><input  name="zigeshijian" class="text" id="zigeshijian" size="12" maxlength="100" /></td>
        <td nowrap="nowrap" class="STYLE1">&nbsp;</td>
        <td nowrap="nowrap" class="STYLE1"><div align="center" class="STYLE1"><strong>资格证书类别</strong></div></td>
        <td nowrap="nowrap"><select name="zigeleibie" id="zigeleibie">
          <option selected="selected" ></option>
         <option>高中资格证</option>
         <option>初中资格证</option>
		 <option>小学资格证</option>
         <option>其他</option>
        </select></td>
      </tr>
      <tr height="30">
        <td nowrap="nowrap" class="STYLE1"><div align="center" class="STYLE1"><strong>心理健康证书</strong></div></td>
        <td nowrap="nowrap"><select name="xinlizhengshu" id="xinlizhengshu">
          <option selected="selected" ></option>
          <option></option>
		  <option>A证</option>
          <option>B证</option>
          <option>C证</option>
          
        </select></td>
        <td nowrap="nowrap"><div align="center" class="STYLE1"><strong>心理健康证书时间</strong></div></td>
        <td nowrap="nowrap"><input  name="xinlishijian" class="text" id="xinlishijian" size="12" maxlength="100" /></td>
        <td nowrap="nowrap" class="STYLE1">&nbsp;</td>
        <td nowrap="nowrap" class="STYLE1"><div align="center" class="STYLE1"><strong>普通话等级</strong></div></td>
        <td nowrap="nowrap"><select name="putonghua" id="putonghua">
          <option selected="selected" ></option>
          <option></option>
          <option>一甲</option>
		  <option>二甲</option>
		  <option>一乙</option>
          <option>二乙</option>
          <option>三甲</option>
		  <option>三乙</option>
        </select></td>
      </tr>
      <tr height="30">
        <td nowrap="nowrap" class="STYLE1"><div align="center">
          <div align="center" class="STYLE1"><strong>计算机等级</strong></div>
        </div></td>
        <td nowrap="nowrap"><input  name="jisuanji" class="text" id="jisuanji" size="12" maxlength="100" /></td>
        <td nowrap="nowrap"><div align="center" class="STYLE1"><strong>住房情况</strong></div></td>
        <td nowrap="nowrap"><select name="zhufang" id="zhufang">
          <option selected="selected" ></option>
          <option></option>
          <option>房改房</option>
          <option>自建房</option>
          <option>商品房</option>
          <option>其他</option>
        </select></td>
        <td nowrap="nowrap" class="STYLE1">&nbsp;</td>
        <td nowrap="nowrap" class="STYLE1">&nbsp;</td>
        <td nowrap="nowrap">&nbsp;</td>
      </tr>
      

       <tr height="30">
        <td nowrap="nowrap" class="STYLE1"><div align="center"><strong>详细住址</strong></div></td>
        <td colspan="6"><input  name="dizhi" class="text" id="dizhi" size="50" maxlength="100" /></td>
      </tr>
    </tbody>
  </table>
  <p align="center">
  <input type="submit" value="保存" class="topanniu"   >
  &nbsp;</p>
</form>
