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

📄 main.asp

📁 一个功能强大的搜索系统
💻 ASP
字号:
<!--#include file="../setup.asp"-->
<!--#include file="login_admin.asp"-->
<!--#include file="conn.asp"-->
<%
'================================================================================
'Product:K-Search Version 2.1
'本“软件产品”受《中华人民共和国著作权法》和《中华人民共和国计算机软件保护条例》 
'和国际条约的保护。如未经授权而擅自复制或传播本程序(或其中任何部分),将受到严厉
'的刑事及民事制裁,并将在法律许可的范围内受到最大可能的起诉!
'Homepage:http://www.lucoo.com/
'--------------------------------------------------------------------------------
'Copyright(c) 2005 lucoo.com All Rights Reserved 绿色互联 版权所有
'================================================================================
%>
<title>管理中心</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" type="text/css" href="css/style.css">
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<!--#include file="top.asp"--><table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC">
        <tr> 
          <td width="60" height="24" valign="bottom" bgcolor="#e1e1e1"> <table border="0" align="center" cellpadding="0" cellspacing="0">
              <tr align="center"> 
                <td width="55" height="23">网站查询</td>
              </tr>
            </table></td>
          <td bgcolor="#e1e1e1"><table border="0" cellpadding="0" cellspacing="0">
              <form name="search" method="get" action="search.asp">
                <tr> 
                  <td width="150" align="center"><input name="keyword" type="text" id="keyword"></td>
                  <td width="250"><input name="sort" type="radio" value="title" checked>
                    网站标题 
                    <input type="radio" name="sort" value="url">
                    网站网址 
                    <input type="radio" name="sort" value="content">
                    网站描述</td>
                  <td width="45"><input type="submit" value="查询"></td>
                </tr>
              </form>
            </table></td>
        </tr>
</table><table height="100%" border="0" cellpadding="0" cellspacing="5">
        <tr> 
          <td valign="top"> <% 
dim rs
set rs=conn.execute("select id,sort,sort_id,move_id from sort where sort_id=0")
if rs.eof and rs.bof then
'
else
do while not rs.eof
%>
            <table border="0" align="center" cellpadding="0" cellspacing="0">
              <tr> 
                <td width="250" height="35" bgcolor="#FFFFFF"> <%if not rs.eof then
                  response.write "· "
                        if rs("move_id")>0 then
                        response.write "<a href='list.asp?sort_id="&rs("move_id")&"' target='_blank'><b>"&rs("sort")&"@</b></a>"
                        response.write "<br>[<a href='create_html_ok.asp?id="&rs("move_id")&"' target='_blank'>生成本页</a>][<a href='create_html.asp?sort_id="&rs("move_id")&"' target='_blank'>生成本类</a>]"
						else
                        response.write "<a href='list.asp?sort_id="&rs("id")&"'><b>"&rs("sort")&"</b></a>"
                        response.write "<br>[<a href='create_html_ok.asp?id="&rs("id")&"' target='_blank'>生成本页</a>][<a href='create_html.asp?sort_id="&rs("id")&"' target='_blank'>生成本类</a>]"
						end if
rs.movenext
end if
%></td>
                <td width="250" bgcolor="#FFFFFF"> <%if not rs.eof then
                  response.write "· "
                        if rs("move_id")>0 then
                        response.write "<a href='list.asp?sort_id="&rs("move_id")&"' target='_blank'><b>"&rs("sort")&"@</b></a>"
                        response.write "<br>[<a href='create_html_ok.asp?id="&rs("move_id")&"' target='_blank'>生成本页</a>][<a href='create_html.asp?sort_id="&rs("move_id")&"' target='_blank'>生成本类</a>]"
						else
                        response.write "<a href='list.asp?sort_id="&rs("id")&"'><b>"&rs("sort")&"</b></a>"
                        response.write "<br>[<a href='create_html_ok.asp?id="&rs("id")&"' target='_blank'>生成本页</a>][<a href='create_html.asp?sort_id="&rs("id")&"' target='_blank'>生成本类</a>]"
						end if
rs.movenext
end if
%></td>
                <td width="250" bgcolor="#FFFFFF"> <%if not rs.eof then
                  response.write "· "
                        if rs("move_id")>0 then
                        response.write "<a href='list.asp?sort_id="&rs("move_id")&"' target='_blank'><b>"&rs("sort")&"@</b></a>"
                        response.write "<br>[<a href='create_html_ok.asp?id="&rs("move_id")&"' target='_blank'>生成本页</a>][<a href='create_html.asp?sort_id="&rs("move_id")&"' target='_blank'>生成本类</a>]"
						else
                        response.write "<a href='list.asp?sort_id="&rs("id")&"'><b>"&rs("sort")&"</b></a>"
                        response.write "<br>[<a href='create_html_ok.asp?id="&rs("id")&"' target='_blank'>生成本页</a>][<a href='create_html.asp?sort_id="&rs("id")&"' target='_blank'>生成本类</a>]"
						end if
rs.movenext
end if
%></td>
              </tr>
            </table>
            <%
loop
end if
rs.close 
set rs=nothing

dim web_count
dim web_countrs
set web_countrs=conn.execute("select count(id) from web")
if web_countrs.eof or web_countrs.bof Then 
web_count=0 
Else 
web_count=web_countrs(0) 
end If 
web_countrs.close
set web_countrs = nothing
conn.close
set conn=nothing
%>
          </td>
        </tr>
        <tr>
          <td height="25" align="center">本系统共有 <strong><%=web_count%></strong> 个网站 <a href="web.asp" target="_blank">[管理全部网站]</a></td>
        </tr>
      </table>
	  <!--#include file="bottom.asp"-->

⌨️ 快捷键说明

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