📄 photo_class.asp
字号:
<!--#include file="Inc/func_Photo.asp"-->
<%
'请勿改动下面这三行代码
const ChannelID=4
Const ShowRunTime="Yes"
MaxPerPage=20
strFileName="Photo_Class.asp?ClassID=" & ClassID
Set rsPhoto= Server.CreateObject("ADODB.Recordset")
Set rsPic= Server.CreateObject("ADODB.Recordset")
SkinID=0
%>
<html>
<head>
<title><%=strPageTitle%></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<!--#include file="inc/Skin_CSS.asp"-->
<%call MenuJS()%>
</head>
<body <%=Body_Label%> onmousemove='HideMenu()'>
<!--#include file="Top.asp"-->
<%
dim sqlRoot,rsRoot,trs,arrClassID,TitleStr
sqlRoot="select C.ClassID,C.ClassName,C.RootID,L.LayoutFileName,L.LayoutID,C.Child,C.ParentPath From PhotoClass C inner join Layout L on C.LayoutID=L.LayoutID where C.ParentID=" & ClassID & " or C.ParentPath like '%" & ParentPath & "," & ClassID & "%' and C.IsElite=True and C.LinkUrl='' and C.BrowsePurview>=" & UserLevel & " order by C.OrderID"
Set rsRoot= Server.CreateObject("ADODB.Recordset")
rsRoot.open sqlRoot,conn,1,1
arrClassID=ClassID
do while not rsRoot.eof
arrClassID=arrClassID & "," & rsRoot(0)
rsRoot.movenext
loop
rsRoot.close
set rsRoot=nothing
%>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="border2">
<tr>
<td width="186" rowspan="2" style='padding:10px,10px,10px,10px'><table border="0" cellpadding="0" cellspacing="0" class="border186">
<tr>
<td class="title_txt_left"> </td>
<td class="title_txt_center"><%=ClassName%>分类</td>
<td class="title_txt_right"> </td>
</tr>
</table>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0" class="border186">
<tr>
<td valign="top" class="border4"><%call ShowChildClass(1)%></td>
</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="10"></td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="border186">
<tr>
<td class="title_txt_left"> </td>
<td class="title_txt_center">最 新 热 门</td>
<td class="title_txt_right"> </td>
</tr>
</table>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0" class="border186">
<tr>
<td valign="top" class="border4"><%call ShowHot(10,100)%></td>
</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="10"></td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="border186">
<tr>
<td class="title_txt_left"> </td>
<td class="title_txt_center">最 新 推 荐</td>
<td class="title_txt_right"> </td>
</tr>
</table>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0" class="border186">
<tr>
<td valign="top" class="border4"><%call ShowElite(10,100)%></td>
</tr>
</table>
</td>
<td width="592" valign="top" style='padding:10px,10px,10px,0px'><table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="title_bg_left"> </td>
<td class="title_bg_center"><%=ClassName%>图片列表</td>
<td class="title_bg_right"> </td>
</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td valign="top" class="border4"><%call ShowPhoto(100,arrClassID)%></td>
</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="10"><%
if totalput>0 then
call showpage(strFileName,totalput,MaxPerPage,false,true," 张图片")
end if
%></td>
</tr>
</table>
</td>
</tr>
<tr>
<td valign="bottom" style='padding:10px,0px,10px,0px'><table width="100%" border="0" cellpadding="0" cellspacing="0" class="title" style="border-top:solid #999999 1px">
<tr>
<td width="100" align="center"><img src="Images/checkphoto.gif" width="15" height="15" align="absmiddle"> 图片搜索:</td>
<td><%call ShowSearchForm("Photo_Search.asp",2)%></td>
</tr>
</table></td>
</tr>
</table>
<% call Bottom() %>
<% call PopAnnouceWindow(400,300) %>
</body>
</html>
<script>
mtDropDown.initialize();
</script>
<%
set rsPhoto=nothing
set rsPic=nothing
call CloseConn()
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -