📄 auto_add.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 绿色互联 版权所有
'================================================================================
dim rs
dim sort_id
sort_id=Request.QueryString("sort_id")
if sort_id<>"" then
set rs=server.createobject("adodb.recordset")
rs.open "select id,sort,sort_id from sort where id="&sort_id,conn,1,1
if rs.eof and rs.bof then
'
else
dim iid,ssort,ssort_id
iid=rs("id")
ssort=rs("sort")
ssort_id=rs("sort_id")
end if
rs.close
set rs = nothing
dim path_id,locality
path_id="/"&iid&"/"
locality=" >> "&ssort
if ssort_id<>0 then
for i=1 to 8 step 1
set rs=conn.execute("select id,sort,sort_id from sort where id="&ssort_id)
if rs.eof and rs.bof then
'
else
ssort_id=rs("sort_id")
path_id="/"&rs("id")&""& path_id
locality=" >> "&rs("sort")&""&locality
end if
rs.close
set rs = nothing
next
end if
end if
conn.close
set conn = nothing
%>
<title>管理中心</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" type="text/css" href="css/style.css">
</head>
<body 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 width="100%" border="0" cellpadding="0" cellspacing="5">
<tr>
<td height="20">
<script language=JavaScript>
function check()
{
if (document.form.url.value == ""){
alert ("请输入网址!");
document.form.url.focus();
return false;
}
}
</script>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<form name="form" onsubmit=return(check()) method="post" action="auto_add_ok.asp">
<tr>
<td width="65" height="25">分类目录:</td>
<td><%=locality%></td>
</tr>
<tr>
<td height="25">网站网址:</td>
<td><input name="url" type="text" id="textarea2" value="http://" size="75">
* </td>
</tr>
<tr>
<td height="30"></td>
<td><input type="submit" value="自动添加">
<input name="sort_id" type="hidden" id="sort_id" value="<%=sort_id%>">
<input name="sort_path" type="hidden" id="sort_path" value="<%=path_id%>">
<font color="#FF0000"> </font></td>
</tr>
</form>
</table></td>
</tr>
<tr>
<td height="20"></td>
</tr>
</table>
<!--#include file="bottom.asp"-->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -