📄 relink.asp
字号:
<!--#include file="inc/config.asp"-->
<!--#include file="mdb.asp"-->
<!--#include file="inc/format.asp"-->
<!--#include file="inc/error.asp"-->
<%
dim founderr,errmsg,isimage
isimage=true
founderr=false
errmsg=""
sql="select * from friendlink"
set rs=server.createobject("adodb.recordset")
rs.open sql,conn,1,3
rs.addnew
if trim(request.form("fl_name"))="" then
founderr=true
errmsg=errmsg+"<br>"+"<li>站点名称未填写!"
else
if strLength(trim(request.form("fl_name")))>50 then
founderr=true
errmsg=errmsg+"<br>"+"<li>站点名称太长,不可以超过50个字符!"
else
rs("fl_name")=trim(request.form("fl_name"))
end if
end if
if trim(request.form("fl_url"))="" then
founderr=true
errmsg=errmsg+"<br>"+"<li>站点地址未填写!"
else
if strLength(trim(request.form("fl_url")))>150 then
founderr=true
errmsg=errmsg+"<br>"+"<li>站点地址太长,不可以超过150个字符!"
else
rs("fl_url")=trim(request.form("fl_url"))
end if
end if
if cint(request.Form("flcat_id"))<1 then
founderr=true
errmsg=errmsg+"<br>"+"<li>请选择分类!"
else
sql="select isimage from flcat where flcat_id="&cint(request.Form("flcat_id"))
set rs2=server.createobject("adodb.recordset")
rs2.open sql,conn,1,1
if rs2("isimage")=1 then
isimage=false
end if
rs2.close
set rs2=nothing
rs("flcat_id")=cint(request.Form("flcat_id"))
end if
if trim(request.form("fl_logo"))<>"" then
if strLength(trim(request.form("fl_logo")))>100 then
founderr=true
errmsg=errmsg+"<br>"+"<li>站点logo地址太长,不可以超过150个字符!"
else
rs("fl_logo")=trim(request.form("fl_logo"))
end if
else
if isimage then
founderr=true
errmsg=errmsg+"<br>"+"<li>该分类不是文本链接分类,请输入logo地址!"
end if
end if
rs("passed")=1
if founderr then
call diserror()
response.end
end if
rs.update
rs.close
set rs=nothing%><HTML>
<HEAD>
<title>提交成功</title>
<META content="text/html; charset=gb2312" http-equiv=Content-Type>
<META name="keywords" content="子宜..Design Online..,LooRi,源码下载,黑客程序,系统资源,网页特效, 粗口舞曲, 中文舞曲, 街舞录象,MTV, 音乐, FLASH, 教程, 舞曲, 交友,社区,聊天,照片,酷站,连接,留言,统计,日记,文章,开发工具,免费,软件,合作,黑客,代码,ASP,PHP,主机,交流,免费留言本,免费日记,免费投票,免费下载,免费查询,IP查询,手机查询,身份证查询,网吧,电影,DJ">
<meta name="description" content="子宜..Design Online..,LooRi,源码下载,黑客程序,系统资源,网页特效, 粗口舞曲, 中文舞曲, 街舞录象,MTV, 音乐, FLASH, 教程, 舞曲, 交友,社区,聊天,照片,酷站,连接,留言,统计,日记,文章,开发工具,免费,软件,合作,黑客,代码,ASP,PHP,主机,交流,免费留言本,免费日记,免费投票,免费下载,免费查询,IP查询,手机查询,身份证查询,网吧,电影,DJ">
<style type="text/css">
A{TEXT-DECORATION: none}
A:link {COLOR: #666666; FONT-FAMILY: 宋体; TEXT-DECORATION: none}
A:visited {COLOR: #666666; FONT-FAMILY: 宋体; TEXT-DECORATION: none}
A:active {FONT-FAMILY: 宋体; TEXT-DECORATION: none}
A:hover {BORDER-BOTTOM: 1px dotted; BORDER-LEFT-WIDTH: 1px; BORDER-RIGHT-WIDTH: 1px; BORDER-TOP-WIDTH: 1px; COLOR: #ff6600; TEXT-DECORATION: none}
BODY {
FONT-SIZE: 12px;
COLOR: #666666;
FONT-FAMILY: 宋体;
background-color: #ffffff;
background-image: url(img/bg.gif);
SCROLLBAR-FACE-COLOR: #e8e7e7;
SCROLLBAR-HIGHLIGHT-COLOR: #ffffff;
SCROLLBAR-SHADOW-COLOR: #ffffff;
SCROLLBAR-3DLIGHT-COLOR: #cccccc;
SCROLLBAR-ARROW-COLOR: #ff6600;
SCROLLBAR-TRACK-COLOR: #EFEFEF;
SCROLLBAR-DARKSHADOW-COLOR: #b2b2b2;
SCROLLBAR-BASE-COLOR: #000000
}
TABLE {BORDER-COLLAPSE: collapse; FONT-FAMILY: 宋体; FONT-SIZE: 9pt}
.button{height:18px;width:50px;background:#f6f6f9 url(img/ButtonBg.gif); border:solid 1px #5589AA;color: #000000 ;FONT-SIZE: 9pt}
.lanyu{border:solid 1px #5589AA;color: #000000 ; font-size: 12px;}
.font { filter: DropShadow(Color=#cccccc, OffX=2, OffY=1, Positive=2); text-decoration: none; font-size: 9pt}
</style>
</HEAD>
<BODY leftMargin=10 topMargin=15 MARGINHEIGHT="0" MARGINWIDTH="0" onclick="JavaScript:window.close()">
<table align="center" border="0" cellspacing="0" style="border-collapse: collapse" width="98%" cellpadding="0" height="1">
<tr>
<td width="7" height="1">
<img border="0" src="img/Site_Top_Left.gif"></td>
<td width="543" height="1" background="img/Site_Top_Bg.gif"></td>
<td width="13" height="1"><img border="0" src="img/Site_Top_Right.gif"></td>
</tr>
<tr>
<td width="7" height="17" background="img/Site_Left_Bg.gif"></td>
<td width="543" height="17" bgcolor="#F2F2F2"><font color=red>已经成功提交,请等待批准。谢谢您!</font><p align=right>---小武..小武网络.. </p></td>
<td width="13" height="17" background="img/Site_Right_Bg.gif"></td>
</tr>
<tr>
<td width="7" height="1"><img border="0" src="img/Site_Down_Left.gif"></td>
<td width="543" height="1" background="img/Site_Down_Bg.gif"></td>
<td width="13" height="1"><img border="0" src="img/Site_Down_Right.gif"></td>
</tr>
</table>
</body></html>
<%closedatabase%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -