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

📄 messagesearch.asp

📁 软件介绍:国内最完善功能最齐全的多级会员程序.主要功能涵盖所有多级会员管理所需,超强大会员自定义编辑功能
💻 ASP
📖 第 1 页 / 共 2 页
字号:
<!--#include file="conn.asp"-->
<%
user=session("user")
admin=session("admin")
if user="" and admin="" then
%>
<script language="javascript">
alert("登陆超时,请重新登陆!")

document.location="../index.asp?id=mm1"
</script>
<%
response.end
end if
if pagenum="" or pagenum<1 then
pagenum=1
else
pagenum=cint(pagenum)
end if
search=request("关键词")
Set rs=Server.CreateObject("ADODB.recordset")
rs.cachesize=30
rs.cursortype=1
mysq="select * from bbs where (titl like '%"&search&"%') or (bbstxt like '%"&search&"%') order by titl desc"
rs.open mysq,cn,3,2
%>
<HTML><HEAD><TITLE>黄金时代商务信息网络!</TITLE>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<SCRIPT language=JavaScript><!-- Begin
function checkRequired(f){
for(var j=0;j<f.elements.length;j++){
if(f.elements[j].value=="") {alert(f.elements[j].name+"不能为空。");return false;break;}
}
return true;
}
// End -->
</SCRIPT>
<LINK href="images/index.css" rel=stylesheet>
</HEAD>
<BODY leftMargin=0 topMargin=1 background="images/mybk2.gif">
<table width="770" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td width="190" height="80"><img src="images/logo.gif" width="190" height="80"></td>
    <td width="10"><img src="images/jiao5.gif" width="10" height="80"></td>
    <td>
      <table border=0 cellpadding=0 cellspacing=0 width="100%">
        <tr> 
          <td colspan="2" align="right"><img border=0 height=10 src="images/jiao2t.gif" width=10></td>
        </tr>
        <tr> 
          <td background=images/dot.gif height=70 width="478" align="center"><img src="images/banner.gif" width="468" height="60"> 
          </td>
          <td background=images/dot.gif height=70 width="92" align="center"> 
            <table width="82" border="0" cellspacing="0" cellpadding="1" height="60" bgcolor="#FF5908">
              <tr>
                <td>
                  <table width="100%" border="0" cellspacing="0" cellpadding="1" bgcolor="#FFEBE7" height="58">
                    <tr>
                      <td align="center"><font color="0000FF">内部资料!<br>严禁外泄!<br>一经发现!<br>严惩不怠!</font></td>
                    </tr>
                  </table>
                </td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table width="770" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#000000">
  <tr>
    <td height="1"></td>
  </tr>
</table>
<TABLE align=center border=0 cellPadding=0 cellSpacing=0 width=770>
  <TBODY>
  <TR>
    <TD bgColor=#ffba8c vAlign=top width=186>
      <TABLE border=0 cellPadding=0 cellSpacing=0 width="100%">
        <TR> 
          <TD background=images/dot.gif height=24 
          width="100%"> 
            <table border=0 cellpadding=0 cellspacing=0 width="100%">
              <tbody> 
              <tr> 
                <td width="19%" align=center><img border=0 height=11 src="images/title.gif" width=12></td>
                <td width="81%"><font color="#ffffff">论 坛 搜 索</font></td>
              </tr>
              </tbody> 
            </table>
          </TD>
        </TR>
        <TR> 
          <TD vAlign=top width="100%"><img src="images/jiao1t.gif" width="10" height="10"></TD>
        </TR>
        <TR> 
          <TD width="100%" align="center"> 
            <TABLE background=images/dot.gif border=0 cellPadding=0 cellSpacing=0 width="90%">
              <TR> 
                <TD width="100%"> 
                  <TABLE border=0 cellPadding=0 cellSpacing=0 width="100%">
                    <TR> 
                      <TD vAlign=top width="100%"><img src="images/jiao2.gif" width="10" height="10"></TD>
                    </TR>
                    <TR> 
                      <TD width="100%"><FORM action=messagesearch.asp method=post  onsubmit="return checkRequired(this)">
                          <TABLE border=0 cellPadding=0 cellSpacing=0 width="100%">
                            <TR align="center">
                              <TD>&nbsp;</TD>
                            </TR>
                            <TR align="center"> 
                              <TD><font color="#ffffff">输入关键词后开始查找</font></TD>
                            </TR>
                            <TR> 
                              <TD height="26" align="center"> 
                                <INPUT name=关键词 size=20>
                              </TD>
                            </TR>
                            <TR> 
                              <TD height="26" align="center"> 
                                <input type="image" border="0" name="imageField2" src="images/search.gif" width="31" height="19" align="middle">
                              </TD>
                            </TR>
                          </TABLE>
                        </FORM>
                      </TD>
                    </TR>
                    <TR> 
                      <TD width="100%" align="right"><img src="images/jiao1.gif" width="10" height="10"></TD>
                    </TR>
                  </TABLE>
                </TD>
              </TR>
            </TABLE>
          </TD>
        </TR>
        <TR> 
          <TD vAlign=bottom width="100%" align=right><IMG border=0 height=10 src="images/jiao2t.gif" width=10></TD>
        </TR>
        <TR> 
          <TD background=images/dot.gif height=24 width="100%"> 
            <TABLE border=0 cellPadding=0 cellSpacing=0 width="100%">
              <TBODY> 
              <TR> 
                <TD width="18%" align=center><IMG border=0 height=11 src="images/title.gif" width=12></TD>
                <TD width="82%"><font color="#ffffff"><a style="cursor:hand;" onclick="window.open('banzhu.asp','','toolbar=no,location=no,menubar=no,scrollbars=no,status=no,resizable=no,directories=no,width=500,height=300,left=85,top=60')">论 坛 公 告 栏</a></font></TD>
              </TR>
              </TBODY>
            </TABLE>
          </TD>
        </TR>
        <TR> 
          <TD vAlign=top width="100%"><IMG border=0 height=10 src="images/jiao1t.gif" width=10></TD>
        </TR>
        <TR> 
          <TD align="center" width="100%" height="13"> 
            <table width="167" border="0" cellspacing="0" cellpadding="1" bgcolor="#FF5908"">
              <tr> 
                <td> 
                  <table width="100%" border="0" cellspacing="0" cellpadding="5" bgcolor="#FFFFFF" style="word-break:break-all;">
                    <tr> 
  					<%
					mysqs="select * from gong where user='admin'"
Set rs1=Server.CreateObject("ADODB.recordset")
set rs1=cn.execute(mysqs)
gong=rs1("gong")
rs1.close
set rs1=nothing
%>
                      <td><marquee scrollamount="1" scrolldelay="1" direction="up" height="150" onmouseover=this.stop() onmouseout=this.start()><img src="images/face.gif" width="25" height="25"><font color="FF5908">
                       <%=gong%>                      </font></marquee></td>
                    </tr>
                  </table>

⌨️ 快捷键说明

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