📄 down_cx_add1.asp
字号:
<%Admin="DownAdd"%>
<!--#include file="check.asp"-->
<%
if request("addok")="" then
if request("k")="" then
response.write "请输入查找内容"
response.end
else
if request("d")<>"add" then
response.redirect "down_sort.asp?k="&request("k")&"&id="&request("id")&""
response.end
end if
%>
<!--#include file="mdb_path_down.asp"-->
<%
set rs=server.CreateObject("ADODB.RecordSet")
rs.open "select id,cxn,cxv,reg from down where cxn like '%"&request("k")&"%' order by date desc",conn,1,1
if not rs.eof then
do while not rs.EOF
oldcx=oldcx&"[<a target=""_blank"" href=""../soft/"&rs("id")&".htm"">HTM页</a>][<a href=""javascript:makeHTML("&rs("id")&")"">生成</a>]·<a href=down_cx_edit.asp?id="&rs("id")&">"&rs("cxn")&" "&rs("cxv")&"</a>"
if rs("reg")<>"" then
oldcx=oldcx&"<font color=""#FF0000"">(有注册连接)</font>"
end if
oldcx=oldcx&"<br>"
rs.MoveNext
loop
else
rs.close
set rs=nothing
conn.close
set conn=nothing
response.redirect "down_cx_add.asp?cxn="&request("k")&"&id="&request("id")&""
end if
rs.close
set rs=nothing
conn.close
set conn=nothing
end if
end if
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta copy="程序制作 [惊云,网址www.65658.com] ; 盗版必究!">
<title>添加</title>
<style>
td{font-size:9pt;line-height:140%}
body{font-size:9pt;line-height:140%}
a:link { color: #0033CC; text-decoration: none }
a:visited { color: #0033CC; text-decoration: none }
a:active { color: #FF0000; text-decoration: none }
a:hover { color: #000000; text-decoration: underline}
</style>
<script language="javascript">
function makeHTML(id)
{window.open("down_makesoft.asp?type=page&id="+id,"","width=200,height=100,resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no");}
</script>
</head>
<body topmargin="1" leftmargin="1">
<p align="center">
<form action="down_cx_add1.asp?d=add&id=<%=request("id")%>" method=post>
<%if request("addok")<>"" then%>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="100%">·<font color="#FF0000"><b><%=request("addok")%></b></font></td>
</tr>
</table>
<%end if%>
<table border="0" width="100%" cellspacing="1" style="border-collapse: collapse" bgcolor="#555555">
<tr>
<td width="200%" nowrap bgcolor="#6A6A6A"><font color="#FFFFFF"><b>添加软件
1/2</b></font></td>
</tr>
<tr>
<td width="200%" align="right" bgcolor="#FFFFFF">
<p align="center">软件名称:<input type="text" size=40 name="k" value="<%=request("k")%>">
<input name="change" value="重新查找" type="submit"> <input type="button" onclick="location.href='down_cx_add.asp?cxn=<%=request("k")%>&id=<%=request("id")%>'" value="添加软件"></td>
</tr>
<%if oldcx<>"" then%>
<tr>
<td width="200%" bgcolor="#F4F4F4"><font color="#000080"><b>查找到数据库中已有相同的软件名</b></font></td>
</tr>
<tr>
<td width="200%" bgcolor="#FFFFFF"><%=oldcx%></td>
</tr>
<%end if%>
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -