📄 config_other.bak.asp
字号:
response.write kong&format_bar("<font class=end><b>"&t1&"</b></font>",t2,14,0,0,"||",t3)
if t4=1 then response.write "</td></tr></table>"
end sub
sub main_gallery_picv(nnhead,dsql,nt,n_num,c_num,w,h)
dim sk_bar,sk_class,temp1,temp2,nid,cid,sid,name,uname,tim,pic,spic,nhead:nhead=nnhead:sk_bar=11:sk_class="end"
temp1="<table border=0 width='100%' cellspacing=0 cellpadding=2><tr align=center valign=top>"
sql="select top "&n_num&" * from gallery where hidden=1 and types='"&nt&"'"&dsql
select case nt
case "paste"
sql=sql&" order by id desc"
if nhead="" then nhead="最新贴图"
end select
set rs=conn.execute(sql)
do while not rs.eof
name=rs("name"):nid=rs("id"):cid=rs("c_id"):sid=rs("s_id"):uname=rs("username"):tim=rs("tim")
pic=rs("pic"):spic=rs("spic")
temp1=temp1&vbcrlf&"<td width='"&int(100\n_num)&"%'>"
if nt="paste" then
temp2="<table border=0 cellspacing=0 cellpadding=2 width='100%' class=tf><tr><td align=center><a href='gallery.asp?types=view&action=paste&c_id="&cid&"&s_id="&sid&"&id="&nid&"'"&atb&"><img src='"&url_true(web_var(web_upload,1),pic)&"' border=0 width='"&w&"' height='"&h&"' alt='图片名称:"&code_html(name,1,0)&" <br>发 布 人:"&rs("username")&"<br>整理时间:"&time_type(tim,33)&"'></a></td></tr>" & _
vbcrlf&"<tr><td align=center class=bw><a href='gallery.asp?types=view&action=paste&c_id="&cid&"&s_id="&sid&"&id="&nid&"'"&atb&" class=red_3><b>"&code_html(name,1,c_num)&"</b></a></td></tr></table>"
temp1=temp1&vbcrlf&format_k(temp2,1,5,w+7,h+30)&"</td>"
else
end if
rs.movenext
loop
temp1=temp1&"</tr></table>"
response.write kong&table1%>
<tr<%response.write table2%>><td class=end> <%response.write img_small(us)%> 精彩贴图</td></tr>
<tr<%response.write table3%>><td align=center>
<table border=0 width='98%' cellspacing=0 cellpadding=0>
<tr><td align=center><% response.write temp1%></td></tr>
</table>
</td></tr>
</table>
<%
end sub
sub main_flash_picv(nnhead,dsql,nt,n_num,c_num,w,h)
dim sk_bar,sk_class,temp1,temp2,nid,cid,sid,name,uname,tim,pic,spic,nhead:nhead=nnhead:sk_bar=11:sk_class="end"
temp1="<table border=0 width='100%' cellspacing=0 cellpadding=2><tr align=center valign=top>"
sql="select top "&n_num&" * from flash where hidden=1 and types='"&nt&"'"&dsql
select case nt
case "flash"
sql=sql&" order by id desc"
if nhead="" then nhead="最新Flash"
end select
set rs=conn.execute(sql)
do while not rs.eof
name=rs("name"):nid=rs("id"):cid=rs("c_id"):sid=rs("s_id"):uname=rs("username"):tim=rs("tim")
pic=rs("pic"):spic=rs("spic")
temp1=temp1&vbcrlf&"<td width='"&int(100\n_num)&"%'>"
if nt="flash" then
temp2="<table border=0 cellspacing=0 cellpadding=2 width='100%' class=tf><tr><td align=center><a href='flash.asp?types=view&action=flash&c_id="&cid&"&s_id="&sid&"&id="&nid&"'"&atb&"><img src='"&url_true(web_var(web_upload,1),spic)&"' border=0 width="&w&" height="&h&"></a></td></tr>" & _
"<tr><td align=center class=blue><b>"&code_html(name,1,10)&"</b></td></tr>" & _
"<tr><td align=center>"&m_unit&":<font class=red_3>"&rs("emoney")&"</font> 人气:<font class=red>"&rs("counter")&"</font></td></tr>" & _
"<tr><td align=center>"&power_pic(0,rs("power"),0)&"</td></tr>" & _
"</table>"
temp1=temp1&vbcrlf&format_k(temp2,1,5,w+10,h+30)&"</td>"
else
end if
rs.movenext
loop
temp1=temp1&"</tr></table>"
response.write kong&table1%>
<tr<%response.write table2%>><td class=end> <%response.write img_small(us)%> 精彩动画</td></tr>
<tr<%response.write table3%>><td align=center>
<table border=0 width='98%' cellspacing=0 cellpadding=0>
<tr><td align=center><% response.write temp1%></td></tr>
</table>
</td></tr>
</table>
<%
end sub
sub main_web_sitenew(nh,n_jt,nnhead,nmore,nsql,nt,n_num,c_num,et,tt)
dim temp1,nid,name,tim,counter,nhead:nhead=nnhead
if n_jt<>"" then n_jt=img_small(n_jt)
temp1=vbcrlf&"<table border=0 width='100%' cellspacing=0 cellpadding=2 class=tf>"
sql="select top "&n_num&" id,c_id,s_id,name,username,url,tim,isgood,counter from website where hidden=true"&nsql
select case nt
case "hot"
sql=sql&" order by counter desc,id desc"
if nhead="" then nhead="热门站点"
case "good"
sql=sql&" and isgood=true order by id desc"
if nhead="" then nhead="推荐站点"
case else
sql=sql&" order by id desc"
if nhead="" then nhead="最新站点"
end select
set rs=conn.execute(sql)
do while not rs.eof
name=rs("name"):tim=rs("tim"):counter=rs("counter")
temp1=temp1&vbcrlf&"<tr onmouseover=""javascript:this.bgColor='"&c1&"';"" onmouseout=""javascript:this.bgColor='"&c2&"';""><td class=bw>"&n_jt&"<a href='website.asp?c_id="&rs("c_id")&"&s_id="&rs("s_id")&"&action=view&id="&rs("id")&"' target=_blank title='站点名称:"&code_html(name,1,0)&"<br>发 布 人:"&rs("username")&"<br>网站人气:"&counter&"<br>整理时间:"&time_type(tim,88)&"'>"&code_html(name,1,c_num)&"</a>"
if tt>0 then temp1=temp1&format_end(et,time_type(tim,tt)&",<font class=blue>"&counter&"</font>")
temp1=temp1&"<tr><td height=1 background='images/bg_dian.gif'></td></tr>"
rs.movenext
loop
temp1=temp1&"</tr></table>"
response.write kong&table1%>
<tr<%response.write table2%>><td class=end> <%response.write img_small(us)%> 最新站点</td></tr>
<tr<%response.write table3%>><td align=center>
<table border=0 width='98%' cellspacing=0 cellpadding=0>
<tr><td align=center><% response.write temp1%></td></tr>
</table>
</td></tr>
</table>
<%
end sub
sub main_web_sitehot(nh,n_jt,nnhead,nmore,nsql,nt,n_num,c_num,et,tt)
dim temp1,nid,name,tim,counter,nhead:nhead=nnhead
if n_jt<>"" then n_jt=img_small(n_jt)
temp1=vbcrlf&"<table border=0 width='100%' cellspacing=0 cellpadding=2 class=tf>"
sql="select top "&n_num&" id,c_id,s_id,name,username,url,tim,isgood,counter from website where hidden=true"&nsql
select case nt
case "hot"
sql=sql&" order by counter desc,id desc"
if nhead="" then nhead="热门站点"
case "good"
sql=sql&" and isgood=true order by id desc"
if nhead="" then nhead="推荐站点"
case else
sql=sql&" order by id desc"
if nhead="" then nhead="最新站点"
end select
set rs=conn.execute(sql)
do while not rs.eof
name=rs("name"):tim=rs("tim"):counter=rs("counter")
temp1=temp1&vbcrlf&"<tr onmouseover=""javascript:this.bgColor='"&c1&"';"" onmouseout=""javascript:this.bgColor='"&c2&"';""><td class=bw>"&n_jt&"<a href='website.asp?c_id="&rs("c_id")&"&s_id="&rs("s_id")&"&action=view&id="&rs("id")&"' target=_blank title='站点名称:"&code_html(name,1,0)&"<br>发 布 人:"&rs("username")&"<br>网站人气:"&counter&"<br>整理时间:"&time_type(tim,88)&"'>"&code_html(name,1,c_num)&"</a>"
if tt>0 then temp1=temp1&format_end(et,time_type(tim,tt)&",<font class=blue>"&counter&"</font>")
temp1=temp1&"<tr><td height=1 background='images/bg_dian.gif'></td></tr>"
rs.movenext
loop
temp1=temp1&"</tr></table>"
response.write kong&table1%>
<tr<%response.write table2%>><td class=end> <%response.write img_small(us)%> 热门站点</td></tr>
<tr<%response.write table3%>><td align=center>
<table border=0 width='98%' cellspacing=0 cellpadding=0>
<tr><td align=center><% response.write temp1%></td></tr>
</table>
</td></tr>
</table>
<%
end sub
sub main_web_sitegood(nh,n_jt,nnhead,nmore,nsql,nt,n_num,c_num,et,tt)
dim temp1,nid,name,tim,counter,nhead:nhead=nnhead
if n_jt<>"" then n_jt=img_small(n_jt)
temp1=vbcrlf&"<table border=0 width='100%' cellspacing=0 cellpadding=2 class=tf>"
sql="select top "&n_num&" id,c_id,s_id,name,username,url,tim,isgood,counter from website where hidden=true"&nsql
select case nt
case "hot"
sql=sql&" order by counter desc,id desc"
if nhead="" then nhead="热门站点"
case "good"
sql=sql&" and isgood=true order by id desc"
if nhead="" then nhead="推荐站点"
case else
sql=sql&" order by id desc"
if nhead="" then nhead="最新站点"
end select
set rs=conn.execute(sql)
do while not rs.eof
name=rs("name"):tim=rs("tim"):counter=rs("counter")
temp1=temp1&vbcrlf&"<tr onmouseover=""javascript:this.bgColor='"&c1&"';"" onmouseout=""javascript:this.bgColor='"&c2&"';""><td class=bw>"&n_jt&"<a href='website.asp?c_id="&rs("c_id")&"&s_id="&rs("s_id")&"&action=view&id="&rs("id")&"' target=_blank title='站点名称:"&code_html(name,1,0)&"<br>发 布 人:"&rs("username")&"<br>网站人气:"&counter&"<br>整理时间:"&time_type(tim,88)&"'>"&code_html(name,1,c_num)&"</a>"
if tt>0 then temp1=temp1&format_end(et,time_type(tim,tt)&",<font class=blue>"&counter&"</font>")
temp1=temp1&"<tr><td height=1 background='images/bg_dian.gif'></td></tr>"
rs.movenext
loop
temp1=temp1&"</tr></table>"
response.write kong&table1%>
<tr<%response.write table2%>><td class=end> <%response.write img_small(us)%> 推荐站点</td></tr>
<tr<%response.write table3%>><td align=center>
<table border=0 width='98%' cellspacing=0 cellpadding=0>
<tr><td align=center><% response.write temp1%></td></tr>
</table>
</td></tr>
</table>
<%
end sub
sub top_flea(utt,ijt,sh,n_num)
dim temp1
temp1=vbcrlf&"<table border=0 width='99%' cellspacing=2 cellpadding=0 align=center class=tf><tr height=0><td width='75%'></td><td width='25%'></td></tr>"
sql="select top "&n_num&" name,id,c_id,s_id,"&utt&" from business order by "&utt&" desc,id"
set rs=conn.execute(sql)
do while not rs.eof
temp1=temp1&vbcrlf&"<tr><td height="&space_mod&" class=bw>"&img_small(ijt)&format_flea_view(rs("name"),1,"")&"</td><td align=center class=red_3>"&rs(utt)&"</td></tr>"
rs.movenext
loop
rs.close
temp1=temp1&"</table>"
call left_type(temp1,utt,sh)
end sub
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -