?? down_cx_add1.asp
字號(hào):
<%Admin="DownAdd"%>
<!--#include file="check.asp"-->
<%
if request("addok")="" then
if request("k")="" then
response.write "請(qǐng)輸入查找內(nèi)容"
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=""../flash/"&rs("id")&".shtml"">HTM頁(yè)</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=""#4D9CC8"">(有注冊(cè)連接)</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="作品制作 2Flash.Net">
<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: #4D9CC8; text-decoration: none }
a:hover { color: #4D9CC8; 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="#4D9CC8"><b><%=request("addok")%></b></font></td>
</tr>
</table>
<%end if%>
<table border="0" width="100%" cellspacing="1" style="border-collapse: collapse" bgcolor="#cococo">
<tr>
<td width="200%" nowrap bgcolor="#4D9CC8"><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>查找到數(shù)據(jù)庫(kù)中已有相同的作 品名</b></font></td>
</tr>
<tr>
<td width="200%" bgcolor="#FFFFFF"><%=oldcx%></td>
</tr>
<%end if%>
</table>
</form>
</body>
</html>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -