<!--#include file="../oa/SQLconn.asp"-->
<html>
<head> 
<title>学校网站全站文章搜索</title>
<link rel="icon" href="../favicon1.ico" type="image/x-icon" />
<link rel="shortcut icon" href="../favicon1.ico" type="image/x-icon" /> 
</head>
 <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" type="text/css" href="css/css.css" />
<style type="text/css">
<!--
body {
	background-image: url(img/index/line.png);
	background-repeat: repeat-x;
}
-->
</style><body>
 
<FORM ACTION="find.asp" METHOD="GET" enctype="multipart/form-data" NAME="ftype"  onSubmit="return form_check();">
			<%
			 
			strtitle = TRIM( Request( "title" ) )
			strguanjianci = TRIM( Request( "guanjianci" ) )
			
			if strguanjianci="" then 
			end if
			%>
			<table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
                <td background="img/index/nemu.png"><div align="center">
                  <table width="588" border="0" align="center" cellspacing="0">
                    <tr>
                      <td width="10%" height="32" valign="middle" class="STYLE1"><div align="right">标&nbsp;&nbsp;题&nbsp;</div></td>
                      <td width="28%" valign="middle" class="STYLE1"><label>
                        <input name="title" type="text" class="text" id="title" size="20" value=<%=strtitle%>>
                      </label></td>
                      <td width="12%" valign="middle" class="STYLE1"><div align="right">关键词&nbsp;</div></td>
                      <td width="26%" valign="middle" class="STYLE1"><input name="guanjianci" type="text" class="text" id="guanjianci" size="20" value=<%=strguanjianci%>>
                      </td>
                      <td width="24%" valign="middle" ><label> &nbsp;
                            <input name="Submit" type="submit" class="topanniu" value="查询">
                      </label></td>
                    </tr>
                  </table>
                </div></td>
              </tr>
            </table><br>
			<% 
			if strtitle=""  and  strguanjianci=""  then 
			   Set RS = Conn.Execute("SELECT  * from SchoolWeb   where    标题=''")
			else 
			
			   Set RS = Conn.Execute("SELECT  * from SchoolWeb   where    标题 like '%"&strtitle&"%'  and  内容 like  '%"&strguanjianci& "%'")
			end if 
			
		 
			%>
			</div>
			<table width="90%" align="center" border="1" cellpadding="3"   cellspacing="0"  bordercolor="#6D8DD8"  class="mtable">   
			<tr style="background-color:#D6E4FF"  class="TableHeader">
			  <td width="204" background="img/index/nemu.png" class="STYLE1" ><div align="center">类别</div></td>
			<td width="204" background="img/index/nemu.png" class="STYLE1" ><div align="center">二级类别</div></td>
			
			<td width="643" background="img/index/nemu.png" class="STYLE1" ><div align="center">文件名</div></td>
			<td width="112" background="img/index/nemu.png" class="STYLE1" ><div align="center">发布者</div></td>
			<td width="238" height="30" background="img/index/nemu.png" class="STYLE1" ><div align="center">发布日期</div></td> 
			<% While NOT RS.EOF %>
			<tr  onMouseOut="this.style.backgroundColor=''" onMouseOver="this.style.backgroundColor='#EFF8FF'">
			<td width="204" class="STYLE1" ><div align="center"><%=rs("类别")%> </div></td>
			<td width="204" class="STYLE1" ><div align="center"><%=rs("二级类别")%> </div></td>
			<td width="643" class="STYLE1" ><div align="left"><a href="../OA/SchoolWeb/AddFile/viewFile.asp?id=<%=rs("id")%>"  target="_blank">&nbsp;<%=rs("标题")%></a></div></td>
			<td width="112" class="STYLE1" ><div align="center"><%=rs("发布者")%> </div></td>
			<td width="238" height="30" class="STYLE1" ><div align="center"><%=rs("发布日期")%> </div></td>  
			</tr>
			<% RS.MoveNext 
			Wend%>
			</table>
			
			<% 
			RS.Close
			
			%>  
</FORM>
   
</body>
</html>

