<!--#include file="../checkLogin.asp"-->
<!--#include file="../SQLconn.asp"-->
<!doctype html>
<html>
<head><title>人事管理</title><meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script src="../laydate/laydate.js"></script>
<link rel="stylesheet" type="text/css" href="../images/<%=request.cookies("imgdir")%>/css/style.css" media="all"/>

<style type="text/css">
<!--
.STYLE5 {color: #FF0000}
-->
</style>

<script Language=JavaScript>


function form_check(){
   if(document.form1.qizhidate.value.length<1){window.alert("请输入起止年月");document.form1.qizhidate.focus();return (false);}
    if(document.form1.danwei.value.length<1){window.alert("请输入单位");document.form1.danwei.focus();return (false);}
   
	 
} 
</script> 
<body>  
<% 
 '检查权限

   
       Tname=request.cookies("tname")
	  
	    Power=1
       Set MyOAASPObj= Server.CreateObject("YFSchoolOApro.YFSchoolDll")
           if MyOAASPObj.QuanXian(username,"自己维护档案")=0   and  MyOAASPObj.QuanXian(Tname,"员工档案")=0   then 
		      Power=0
           end if 
		   set MyOAASPObj=nothing
'检查权限结束
   id=request("id")            
   Teacher=request("Teacher") 
   qizhidate=request("qizhidate")
   danwei=request("danwei")
 
 
    
   Set RsJiLu=Server.CreateObject("Adodb.Recordset")
           sqlJiLu="select * from RenShiXinXi  where  姓名='"&teacher&"'"
           RsJiLu.open sqlJiLu,conn,1,1
  
%>

 
<table width="100%" height="495" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="27">
	<div class="header">
	<div class="nav">
        <ul>
		    <li style="width:80px" class="on" >基本资料</li>           	
			<li style="width:80px"><a href="GongZuo.asp?teacher=<%=teacher%>" style="width:80px" target="_self">工作经历</a></li>
			<li style="width:80px"><a href="XueXi.asp?teacher=<%=teacher%>" style="width:80px" target="_self">学习经历</a></li>
            <li style="width:80px" ><a href="ZhiCheng.asp?teacher=<%=teacher%>"  style="width:80px" target="_self">职称评定</a></li>
            <li style="width:80px" ><a href="PingRen.asp?teacher=<%=teacher%>" style="width:80px" target="_self">职称聘任</a></li> 
        </ul>
    </div>	
	</td>
  </tr>
  <tr>
    <td height="470" valign="top"   class="NemuMainBox"><p><br>
      
      
      
      <%if Power=1 then%>
</p>
      <p>&nbsp;</p>
      <p>&nbsp;    </p>
      <div align="center">
<br>
 <table width="341" height="192" border="0" align="center" cellpadding="3"   cellspacing="0"  >   
  <form action="ZiLiaoSave.asp?id=<%=id%>"  method="post" name="form1" onSubmit="return form_check();">
    
    <tr>
      <td height="24" nowrap class="STYLE1"><div align="right">姓名:</div></td>
      <td nowrap class="STYLE1">&nbsp;<%=teacher%></td>
    </tr>
    <tr>
      <td height="24" nowrap class="STYLE1"><div align="right"> 性别:</div></td>
      <td nowrap class="STYLE1">
	  <select name="Sex">
          <option selected="selected"><%=RsJiLu("性别")%> </option>
          <option value="男">男</option>
          <option value="女">女</option>
        </select></td>
    </tr>
    <tr>
      <td width="7%" height="24" nowrap class="STYLE1"><div align="right">出生日期:</div></td>
      <td width="13%" nowrap class="STYLE1">
	    
          <div align="left">
            <input name=chushengdate  placeholder="请输入日期"  style="width:90px"   value="<%=RsJiLu("出生日期")%>"    class="laydate-icon" onClick="laydate()">
            <input type="hidden" name="teacher" value=<%=teacher%>>
          </div></td>
      </tr>
    <tr>
      <td height="24" nowrap class="STYLE1"><div align="right">民族:</div></td>
      <td nowrap class="STYLE1"><input name="minzu" type="text" class="text"  id="minzu" style="WIDTH: 200px"  size="30" maxlength="30" onFocus='this.style.backgroundColor="#FFFADF"' onBlur='this.style.backgroundColor="#FFFFFF"'  value=<%=RsJiLu("民族")%> ></td>
    </tr>
    <tr>
      <td height="24" nowrap class="STYLE1"><div align="right">政治面貌:</div></td>
      <td nowrap class="STYLE1"><div align="left">
        <input name="zhengzhi" type="text" class="text" id="zhengzhi" style="WIDTH: 200px" 
      onFocus='this.style.backgroundColor="#FFFADF"' onBlur='this.style.backgroundColor="#FFFFFF"'   size="30" maxlength="30" value=<%=RsJiLu("政治面貌")%>>
      </div></td>
      </tr>
    
    

    <tr>
      <td height="24" nowrap class="STYLE1"><div align="right">入党时间:</div></td>
      <td height="24" nowrap class="STYLE1">
	  <input name=rudangdate  placeholder="请输入日期"  style="width:90px"   value="<%=RsJiLu("入党日期")%>"   class="laydate-icon" onClick="laydate()"></td>
    </tr>
    <tr>
      <td height="24" colspan="2" nowrap class="STYLE1">&nbsp;</td>
    </tr>
    <tr>
      <td height="24" colspan="2" nowrap class="STYLE1"><div align="center"><span class="mtdtl">
       
        <input name="submit" type="submit" class="topanniu" value="保存">
       
        
       
      </span></div></td>
      </tr>
  </form>
</table>
<%end if%>

</div>
 
</body>
</html>