<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<%
'****************************************************************
'**   版权所有：烈火工作室  演示网站http://www.strongfire.cn   **
'**   QQ:839225572   邮箱：strongfire2008@163.com              **
'**   非正版用户不得擅自非法修改用于商业用途！查出必究。       **
'****************************************************************
%>
<!--#include file="islogin.asp"-->
<!--#include file="Check_SqlIn.asp"-->
<!--#include file="admin_conn.asp"-->

<html>
<head>
<LINK href="admin_Css.css" type=text/css rel=stylesheet>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>查找信息</title>
<script language="JavaScript" type="text/JavaScript">
function checkform()
{
  if (document.postart.searchkeys.value=="")
  {
    alert("请输入查询条件！");
	document.postart.searchkeys.focus();
	return false;
  }

  
}
</script>
<style type="text/css">
<!--
.STYLE2 {
	font-size: 14;
	color: #000000;
	font-weight: bold;
}
.STYLE3 {font-family: Arial, Helvetica, sans-serif}
-->
.table_1
{
    BORDER: 1PX #5C609E SOLID ; 
    FONT: 12PX;
    WIDTH:95%;
}
.STYLE4 {
	color: #0000FF;
	font-size: 14px;
	font-weight: bold;
}
-->
</style>
</head>


<body>
<div align="center">

  <table border="0" cellspacing="1" align="center" class="list">
    <tr>
      <th ><div align="center">查找修改的信息</div></th>
    </tr>
    <tr>
      <td ><table width="80%" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td><form name="postart" method="post" action="searchlist.asp" onSubmit="return checkform()">
              <br>
              查找信息
			  
			<script language = "JavaScript">
			  function typechange()
			{ choiceid=postart.selecttype.selectedIndex
   		 
				if(postart.selecttype.options[choiceid].value=="2"){
					
					postart.se_ClassName.disabled=true;
					document.all("idh").style.display="inline"  
					document.all("gjz").style.display="none"
					}
				if(postart.selecttype.value=="1"){
					
					postart.se_ClassName.disabled=false;
					document.all("idh").style.display="none" 
					document.all("gjz").style.display="inline"
				}
		
			 }
			 </script>
                          <select name="selecttype" onChange="typechange()">
                            <option value="1" selected>标题</option>
                            <option  value="2">ID号</option>
                          </select>
                          
                所属大类
				
                <select name="se_ClassName" size="1" id="seClassName" onChange="dlchange(document.postart.se_ClassName.options[document.postart.se_ClassName.selectedIndex].value)">
                            <option value="" selected>全部类别</option>
                            <%set rs=conn.execute("select * from class")
if rs.eof or rs.bof then
response.write "<option value=''>没有分类</option>"
else
do until rs.eof
%>
                            <option value="<%=rs("classname")%>"><%=rs("ClassName")%></option>
                            <%   rs.movenext
    loop
	
end if
rs.close
set rs = nothing
%>
                </select>
                          
                          <br>
                          <br>
                <div  style="display:inline" id="gjz">关键字&nbsp;：</div><div  style="display:none" id="idh">ID &nbsp;号&nbsp;：</div>
  <input name="searchkeys" type="text" id="searchkeys" size="40">
            <input type="submit" name="Submit" value="提交">
            </form>            </td>
          </tr>
          
        </table>
          <br></td>
    </tr>
  </table>
  <p>&nbsp;</p>
  <p><a href="moban_add.asp"></a></p>
  <p><br>
    <br>
  </p>
</div>
</body>
<%
conn.close
set conn=nothing
%>
</html>
