法律桥(LawBridge.org)---中国最早、最有影响力的原创法律网站
法律桥(LawBridge.org)---中国最早、最有影响力的原创法律网站
|
法律桥之法律网址大全 |
法律网址登录 |
<%
urlname=trim(request.form("urlname"))
urlvalue=trim(request.form("urlvalue"))
urldate=date()
urlinfo=trim(request.form("urlinfo"))
kinds=trim(request("kinds"))
if request.form("cool")="" then
cool=0
else
cool=request.form("cool")
end if
if request.form("urlhide")="" then
urlhide=0
else
urlhide=request.form("urlhide")
end if
if kinds<>"" then
if Instr(kinds,"|")=0 then
kindid1=kinds
kindid2=0
else
kindid1=cint(left(kinds,Instr(kinds,"|")-1))
kindid2=cint(right(kinds,len(kinds)-Instr(kinds,"|")))
end if
end if
set rs=server.CreateObject("adodb.recordset")
if urlname<>"" and urlvalue<>"" and kindid1<>"" then
rs.open"select urlname,urlvalue from urls where urlname='"&urlname&"' or urlvalue='"&urlvalue&"' and urlkindid1="&kindid1&"",conn,1,1
if not rs.eof then
response.write errmsg(3)
response.end
end if
rs.close
rs.open "select * from urls",conn,3,3
'conn.execute ("insert into urls(urlid,urlkindid1,urlkindid2,urlname,urlvalue,cool,urlhide,urltype) values("&urlid&","&kinds1&","&kinds2&",'"&urlname&"','"&urlvalue&"',"&cool&",'"&urlhide&"',"&urltype&")")
rs.addnew
rs("urlid")=rs.recordcount+1
rs("urlkindid1")=kindid1
rs("urlkindid2")=kindid2
rs("urlname")=urlname
rs("urlvalue")=urlvalue
rs("urlinfo")=urlinfo
rs("urldate")=urldate
if session("adminname")<>"" and session("grade")<=2 then
rs("cool")=cool
rs("urlhide")=urlhide
rs("urltype")=1
else
rs("urltype")=2
end if
rs.update
rs.close
response.write " 网址添加成功!谢谢您的支持,审核通过后将在本站显示! <- 继续添加 ->
您所添加的信息:
名称:"&urlname&" 网址:"&urlvalue&" 说明:"&urlinfo&"
"
response.write ref("url_add.asp?kinds="&kindid1&"|"&kindid2&"",2)
response.end
end if
%>
登录说明:
1、本站只收录法律网站。非法律类网站请勿登录,PR>=3的请点此提交。
2、本站不收录含有六合彩、色情或者政治性内容以及其他不良内容(包括链接)的网站。 3、本站不收录含有病毒、恶意代码和改变他人浏览器设置(如自动或强行加入收藏、设置为主页等)的网站以及有超过一个弹出窗口的网站。
4、本站保留是否收录贵站的权利。
免费登录说明:
1、为保证贵站能够成功登录,请先在贵站的明显位置做好本站的文字链接后再来申请加入。 2、凡在首页链接本站且PR值在3以上的法律网站,可以直接登录在各大类下。 3、凡在首页链接本站且PR值在5以上的法律网站,除可以在相关类别登录外,还可以在法律论坛发帖,我们将在法律网址首页推荐贵站。
|
本站文字链接式样:法律网址大全 (请直接将下面的代码复制到贵站源码相应位置)
|
|
|
法律桥(LawBridge.org)---中国最早、最有影响力的原创法律网站
法律桥(LawBridge.org)---中国最早、最有影响力的原创法律网站
|