?? c_boaisc.asp
字號:
<!--#include file="D_lj.asp" --><!--#include file="D_boaisc.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")
hanshi=boai
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 + -