<!--#include file="../SQLconn.asp"-->
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">


<script Language="JavaScript">
 function form_check(){
   
    
    
	 if(document.form1.shenbian.value.length<1){window.alert("请输入申辩理由！！！！！");document.form1.shenbian.focus();return (false);}
                  }
</script>

<link rel="stylesheet" type="text/css" href="../css/style.css" />
</head>


<body>

		<p>&nbsp;</p>
		<%
		
		tname=request("tname")
		curdate=request("curdate")
		qdtype=request("qdtype")
		Set rsshenpi=Server.CreateObject("Adodb.Recordset")
		sqlshenpi="Select * from kaoqin where  tname='"&tname& "' and curdate='"&curdate& "'  and qdtype='"&qdtype& "'"
		rsshenpi.open sqlshenpi,conn,1,1
		%>
		
		<form name="form1" method="post" action="saveshenbian.asp?ID=<%=rsshenpi("id")%>"   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" valign="bottom"><table width=600 height="359" border=0 align="center" cellpadding=0 cellspacing=0 bordercolor="#FFCCFF" class=MsoNormalTable  >
		<tr>
		<td height="33" nowrap class="STYLE1"><div align="right">日期：</div></td>
		<td nowrap class="STYLE1">&nbsp;</td>
		<td width="500" class="STYLE1"><div align="left"><%=rsshenpi("curdate")%></div></td>
		</tr>
		<tr>
		<td width="86" height="33" nowrap class="STYLE1"><div align="right">姓名：</div></td>
		<td width="14" nowrap class="STYLE1">&nbsp;</td>
		<td class="STYLE1"><div align="left"><%=rsshenpi("tname")%></div>                          </td>
		</tr>
		<tr>
		<td height="39" nowrap class="STYLE1"><div align="center" class="STYLE1">
		<div align="right">班次：</div>
		</div></td>
		<td nowrap class="STYLE1">&nbsp;</td>
		<td class="STYLE1"><div align="left"><%=rsshenpi("qdtype")%></div></td>
		</tr>
		<tr>
		  <td height="54" nowrap class="STYLE1"><div align="right">记录：</div></td>
		  <td nowrap class="STYLE1">&nbsp;</td>
		  <td class="STYLE1"><%=rsshenpi("chuli")%></td>
		  </tr>
		<tr>
		  <td height="54" nowrap class="STYLE1"><div align="right">处理人：</div></td>
		  <td nowrap class="STYLE1">&nbsp;</td>
		  <td class="STYLE1"><%=rsshenpi("chuliren")%></td>
		  </tr>
		<tr>
		<td height="54" nowrap class="STYLE1"><div align="center" class="STYLE1">
		<div align="right">申辩理由：</div>
		</div></td>
		<td nowrap class="STYLE1">&nbsp;</td>
		<td class="STYLE1"><div align="left">
		<textarea name="shenbian" cols="50" rows="3" class="text" id="shenbian"></textarea>
		</div>
		
		<div align="left"></div></td>
		</tr>
		<tr align="center" class="TableControl">
		<td height="92" colspan="3" nowrap class="STYLE1"><input name="submit" type="submit" class="topanniu" value="保存"   >
		&nbsp;&nbsp;
		<input name="button" type="button" class="topanniu" onClick="location='GeRenjilu.asp'" value="返回上页">		</td>
		</tr>
		</table></td>
		</tr>
		</table>
		<p>&nbsp;</p>
		</form>
		<% 
		rsshenpi.close
		set rsshenpi=nothing  
		conn.close
		set conn=nothing
		%>
</body>
</html>
