<!--#include file="../checkLogin.asp"-->
<!--#include file="../SQLconn.asp"-->

<html>
<head><title></title><meta http-equiv="Content-Type" content="text/html; charset=gb2312">

<link rel="stylesheet" type="text/css" href="../images/<%=request.cookies("imgdir")%>/css/style.css" media="all"/>
<script>


function form_check(){

if(document.form1.huajiangdate.value.length<1){window.alert("获奖日期不能为空！");document.form1.huajiangdate.focus();return (false);}
if(document.form1.MingCheng.value.length<1){window.alert("获奖名称不能为空");document.form1.MingCheng.focus();return (false);}
if(document.form1.DengJi.value.length<1){window.alert("获奖等级不能为空");document.form1.DengJi.focus();return (false);}
if(document.form1.bumen.value.length<1){window.alert("颁奖部门不能为空");document.form1.bumen.focus();return (false);}

 
}

</script>


<body>  
<%

    uname =Request("uname")
   years =Request("years")
   tongyibianhao =Request("tongyibianhao")
%>
 <p>&nbsp;</p>
 <p>&nbsp;</p>
 
	<form method="post" ENCTYPE="multipart/form-data" name="form3" action="HuoJiangSave.asp" onSubmit="return form_check();">
	<table width="630" border="1" align="center" cellpadding="10" cellspacing="0" bgcolor="#F7FCFF" style="border-collapse:collapse">
      	
<tr> 
   	<td width="626">

 

      <p align="center">添加【<%=uname%>】的奖罚情况</p>
      <table width="407" height="214" border="0" align="center" cellpadding="3"   cellspacing="0"  >     
    <tr>
      <td width="7%" height="24" nowrap class="STYLE1"><div align="right">奖罚时间:</div></td>
      <td width="13%" nowrap class="STYLE1">
	    <input name="years" type="hidden" id="years" value=<%=years%>>
		<input name="tongyibianhao" type="hidden" id="tongyibianhao" value=<%=tongyibianhao%>>
          <div align="left">
            <input name="huajiangdate" type="text" class="text"  id="huajiangdate" style="WIDTH: 300px"  size="30" maxlength="30" onFocus='this.style.backgroundColor="#FFFADF"' onBlur='this.style.backgroundColor="#FFFFFF"' value=<%=date()%>>
          </div></td>
    </tr>
    <tr>
      <td height="24" nowrap class="STYLE1"><div align="right">项目名称:</div></td>
      <td nowrap class="STYLE1"><div align="left">
        <input name="MingCheng" type="text" class="text" id="MingCheng" style="WIDTH: 300px" 
      onFocus='this.style.backgroundColor="#FFFADF"' onBlur='this.style.backgroundColor="#FFFFFF"'   size="30" maxlength="30" >
      </div></td>
    </tr>
    <tr>
      <td height="24" nowrap class="STYLE1"><div align="right">奖罚等级:</div></td>
      <td nowrap class="STYLE1"><div align="left">
        <input name="DengJi" type="text" class="text" id="DengJi" size="30" maxlength="30" onBlur='this.style.backgroundColor="#FFFFFF"' style="WIDTH: 300px"   onFocus='this.style.backgroundColor="#FFFADF"'  >
  &nbsp; </div></td>
    </tr>
    
    <tr>
      <td height="24" nowrap class="STYLE1"><div align="right">奖罚部门:</div></td>
      <td nowrap class="STYLE1"><div align="left">
          <input name="bumen" type="text" class="text" id="bumen" size="30" maxlength="30" onBlur='this.style.backgroundColor="#FFFFFF"' style="WIDTH: 300px"   onFocus='this.style.backgroundColor="#FFFADF"'  >
        &nbsp; </div></td>
    </tr>
    <tr>
      <td height="24" nowrap class="STYLE1"><div align="center">图片文件</div></td>
      <td nowrap class="STYLE1">	<input name="file1" type="file" class="text" size=40></td>
    </tr>
    <tr>
      <td height="24" nowrap class="STYLE1"><div align="right">备注:</div></td>
      <td nowrap class="STYLE1"><div align="left">
          <input name="beizhu" type="text" class="text" id="beizhu" size="30" maxlength="30" onBlur='this.style.backgroundColor="#FFFFFF"' style="WIDTH: 300px"   onFocus='this.style.backgroundColor="#FFFADF"'>
        &nbsp; </div></td>
    </tr>
    <tr>
      <td height="70" colspan="2" nowrap class="STYLE1"><div align="center"><span class="mtdtl">
        
        <input name="submit" type="submit" class="topanniu" value="保存">
       
      </span></div></td>
    </tr>
</table>
      <p>&nbsp;</p>
      <p>&nbsp;</p></td>
   
    </tr>
 
</table>
 </form>

</body>
</html>
