
<!--#include file="conn.asp"-->
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 6.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>Test Results </title>
<link rel="stylesheet" href="style/t.css" type="text/css"></head>

<body bgcolor="#D6D3CE">
<p align="center" class=header	><font size="3">CIC School Report </font></p>
<div align="center">
  <center>
  
  <%set rs=server.createobject("ADODB.Recordset") 
     sql="select * from dateset"
     rs.open sql,conntmp,3,3
	
	if request("act")="ok" then
	rs("issue")=request("txtissue")
	rs("academic")=request("txtyear")
	rs.update
	rs.close
	
	response.redirect "search.asp"
	set rs=nothing
	
	else
%>	
  
  
  <form method="POST" action="datesetting.asp?act=ok" name="form1">
  <table border="1" width="30%" bordercolorlight="#848284" cellspacing="0" cellpadding="4" bordercolordark="#FFFFFF">
    <tr>
      <td>
        <p align="center"><font size="3">Date Setting</font><b><font size="3"> </font></b></td>
    </tr>
    <tr>
      <td width="72%" align="left" class="altbg1">Date of Issue <label>
        <input name="txtissue" type="text" size="20" value="<%=rs("issue")%>">
        (dd/mm/yy)</td>
    </tr>
    <tr>
      <td width="72%" align="left"  class="altbg1">Semester 1/2 of 
		<input name="txtyear"  size="20" value="<%=rs("academic")%>">(yyyy-yyyy)
		Academic Year</td>
    </tr>
  <tr>
    <td align="center" height="25">
	<input type="submit" value="Submit" name="B1"> </td>
  </tr>
  </table>
  </form>
  
  <%
 
  	rs.close
	set rs=nothing
  end if
  %>
  
  
  </center>
</div>
กก<div align="center">
  <center>
  </center>
</div>



</body>

</html>