⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 info_bylaw.asp

📁 适用于网络/信息企业
💻 ASP
字号:
<!--#include file="../INC/Conn.asp"-->
<!--#include file="inc/Check.asp"-->
<!--#include file="inc/public.asp"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>亿博尔</title>
</head>
<link href="Images/Admin.css" rel="stylesheet" type="text/css">
<body>
<%
select case Makking
case ""

dim Searchkey,sqlk

Searchkey    = Request.QueryString("Key")
nextkey      = replace(searchkey," ","+")
key          = replace(Searchkey,"'","’")
key          = Rtrim(LTrim(Searchkey))
Searchkeytmp = split(Searchkey," ")
max          = ubound(Searchkeytmp)

Session("Searchkey") = Searchkey

if nextkey<>"" then

if max=0 then
		   
sqlk = sqlk & "(Title like '%"&Searchkey&"%' or Content like '%"&Searchkey&"%') "

else
		   
			   for i=0 to max
			   
				     if i < max then
					 
sqlk = sqlk & "(Title like '%"&searchkeytmp(i)&"%' or Content like '%"&searchkeytmp(i)&"%') and "
				  		
					 else
					 
sqlk = sqlk & "(Title like '%"&searchkeytmp(i)&"%' or Content like '%"&searchkeytmp(i)&"%') "

		           	end if
		           	
	           next '循环结束
	           
end if

end if

if isNull(sqlk) or sqlk = "" then
	sqlk = "Title <> ''"
end if

%>

<table width="98%" height="40"  border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td><table width="100%"  border="0" align="center" cellpadding="2" cellspacing="1" bgcolor="#D8D8D8">
        <tr>
          <td height="30" align="left" bgcolor="ffffff"><table width="100%" height="100%"  border="0" cellpadding="3" cellspacing="0">
              <tr bgcolor="eeeeee">
                <td width="5%" align="center"><img src="Images/1.gif" width="13" height="12"></td>
                <td width="45%"><span class="style2">管理中心 &gt;&gt;&gt; 规章制度</span></td>
                <td width="50%" align="right"></td>
              </tr>
          </table></td>
        </tr>
    </table></td>
  </tr>
</table>
<table width="98%" height="90%"  border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#D8D8D8">
  <tr>
    <td valign="top" bgcolor="ffffff"><table width="100%"  border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td align="center" bgcolor="ffffff">          <table width=100% border=0 align='center' cellpadding=3 cellspacing=0 bordercolordark=#ffffff bgcolor="eaeaea">
              <tr align="left" bgcolor="ffffff" background="Images/box_bg.gif"> 
                <td height="20" background="Images/box_bg.gif" class='color01'>标题</td>
                <td width="30%" height="20" background="Images/box_bg.gif" class='color01'>更新时间</td>
              </tr>
              <%
sql    ="SELECT * from News where Class = '001002' and "& sqlk &" order by DateTime desc"
set rs =server.CreateObject("adodb.recordset")
rs.open sql,conn,1,1
if not(rs.bof and rs.eof) then
	'==============================page
	rs.PageSize =15
	%>
              <!--#include file="../inc/page.asp"-->
              <tr align="left" bgcolor="ffffff" onmouseout="this.style.backgroundColor=''" onmouseover="this.style.backgroundColor='#F5F5F5'"> 
                <td height="25">·<a href="javascript:News_Content('<%=Rs("ID")%>')"><%=rs("Title")%></a></td>
                <td height="25"><%=rs("DateTime")%></td>
              </tr>
              <%   
			rs.movenext
			next
			end if
           %>
            </table></td>
        </tr>
    </table>
      <table width="100%"  border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="50%" height="24" align="left" background="Images/box_bg_1.gif">
            <%Call Page_See()%>
          </td>
          <td width="50%" height="24" align="right" valign="top" background="Images/box_bg_1.gif">
		    <%Page_links="Key="& Searchkey &"&"
			call PageControl(iCount,maxpage,page)
			rs.close
			set rs=nothing%></td>
        </tr>
      </table>
	  <table width="100%"  border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td height="1" bgcolor="#E2E1E1"></td>
        </tr>
      </table><table width="50%" height="30" border="0" align="right" cellpadding="0" cellspacing="0">
		<form name="form" method="get" action="Info_Bylaw.asp">
	    <tr valign="bottom"> 
            <td align="right" valign="middle"> 
        <input name="key" type="text" class="box3" id="key" value="<%=Session("Searchkey")%>" size="30"> 
            </td>
            <td width="50" align="center" valign="middle"><input name="imageField" type="image" src="Images/see.gif" width="36" height="21" border="0"></td>
        </tr>
		</form>
      </table>
      
    </td>
  </tr>
</table>
<table width="98%"  border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="6"></td>
  </tr>
</table>
<%
end select
Conn.Close
Set Conn = Nothing
%>
</body>
</html>
<script language="javascript">
<!--
    function News_Content(id){
        window.open("News_Content.asp?id="+id+"","","width=550,height=500,scrollbars=yes");
    }
//-->
</script>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -