📄 c_boaisc.asp
字号:
<!--#include file="d_boaisc.asp" --><!--#include file="d_lj.asp" -->
<%
set sc=new boaisc
for each shuju in sc.file
set wj=sc.file(shuju)
mingzi=request.Cookies("mingzi")
kzm=lcase(right(wj.filename,4))
set youke=lj.execute("select youkefatie from luntan")
if youke("youkefatie")<>0 and mingzi="" then
response.Redirect("b_boaisc.asp?fanhui=yk")
end if
set dx=lj.execute("select shangchuan from luntan")
if wj.filesize>(dx("shangchuan")*1000) then
response.Redirect("b_boaisc.asp?fanhui=da")
end if
if kzm<>".rar" and kzm<>".zip" and kzm<>".jpg" and kzm<>".gif" and kzm<>"rent" then
response.Redirect("b_boaisc.asp?fanhui=lx")
end if
if kzm="rent" then kzm=".torrent"
wjm="boaisc/"&year(now)&month(now)&day(now)&hour(now)&minute(now)&second(now)&int(rnd)&kzm
wj.saveas server.MapPath(wjm)
next
if kzm=".jpg" or kzm=".gif" then
%>
<html><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script language=JavaScript>
function image_success()
{
parent.fa.neirong.value+="[img]<%=wjm%>[/img]";
window.location="b_boaisc.asp?fanhui=cg&wjm=<%=wjm%>";
}
</script></head><body leftmargin="0" topmargin="0" onload="image_success()"></body></html>
<%
else
%>
<html><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script language=JavaScript>
function image_success()
{
parent.fa.neirong.value+="[url]<%=wjm%>[/url]";
window.location="b_boaisc.asp?fanhui=cg&wjm=<%=wjm%>";
}
</script></head><body leftmargin="0" topmargin="0" onload="image_success()"></body></html>
<%
end if
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -