|
| <% call ShowUserLogin() %> |
|
|
<%if Child>0 then%>
|
| <% call ShowChildClass(1) %> |
|
|
<%end if%>
|
| <% call ShowSpecial(10) %> |
|
|
|
| <% call ShowHot(10,16) %> |
|
|
|
| <% call ShowElite(10,16) %> |
|
|
|
| <% call ShowPicArticle(ClassID,2,10,1,2,70,60,200,true,false) %> |
|
|
|
|
<%
if rsRoot.bof and rsRoot.eof then
%>
<%
if totalput>0 then
call showpage(strFileName,totalput,MaxPerPage,false,true,"篇文章")
end if
%>
<%
else
do while not rsRoot.eof
%>
| |
<%
arrClassID=rsRoot(0)
response.write "" & rsRoot(1) & ""
if rsRoot(5)>0 then
response.write ":"
set trs=conn.execute("select top 4 C.ClassID,C.ClassName,C.RootID,L.LayoutFileName,L.LayoutID From ArticleClass C inner join Layout L on C.LayoutID=L.LayoutID where C.ParentID=" & rsRoot(0) & " and C.IsElite=True and C.LinkUrl='' and C.BrowsePurview>=" & UserLevel & " order by C.OrderID")
do while not trs.eof
response.write " " & trs(1) & ""
trs.movenext
loop
set trs=conn.execute("select ClassID from ArticleClass where ParentID=" & rsRoot(0) & " or ParentPath like '%" & rsRoot(6) & "," & rsRoot(0) & ",%' and Child=0 and LinkUrl='' and BrowsePurview>=" & UserLevel)
do while not trs.eof
arrClassID=arrClassID & "," & trs(0)
trs.movenext
loop
end if
%> |
<%response.write "more..."%>
|
|
<%
sql="select top 1 A.ArticleID,A.ClassID,L.LayoutID,L.LayoutFileName,A.Title,A.Key,A.Author,A.CopyFrom,A.UpdateTime,A.Editor,A.TitleFontColor,A.TitleFontType,"
sql=sql & "A.Hits,A.OnTop,A.Hot,A.Elite,A.Passed,A.IncludePic,A.Stars,A.PaginationType,A.ReadLevel,A.ReadPoint,A.DefaultPicUrl from Article A"
sql=sql & " inner join Layout L on A.LayoutID=L.LayoutID where A.Deleted=False and A.Passed=True and A.ClassID in (" & arrClassID & ") and DefaultPicUrl<>'' order by A.ArticleID desc"
rsPic.open sql,conn,1,1
if rsPic.bof and rsPic.eof then
response.write " 没有任何图片文章"
else
strPic=""
call GetPicArticleTitle(20,135,100)
response.write strPic
end if
rsPic.close
%> |
|
<%
sql="select top 5 A.ArticleID,A.ClassID,L.LayoutID,L.LayoutFileName,A.Title,A.Key,A.Author,A.CopyFrom,A.UpdateTime,A.Editor,A.TitleFontColor,A.TitleFontType,"
sql=sql & "A.Hits,A.OnTop,A.Hot,A.Elite,A.Passed,A.IncludePic,A.Stars,A.PaginationType,A.ReadLevel,A.ReadPoint,A.DefaultPicUrl from Article A"
sql=sql & " inner join Layout L on A.LayoutID=L.LayoutID where A.Deleted=False and A.Passed=True and A.ClassID in (" & arrClassID & ") order by A.ArticleID desc"
rsArticle.open sql,conn,1,1
if rsArticle.bof and rsArticle.eof then
response.write "没有任何文章"
else
call ArticleContent(30,True,True,True,1,True,True)
end if
rsArticle.close
%> |
|
<%
rsRoot.movenext
loop
end if
rsRoot.close
set rsRoot=nothing
%>
|
|
<% call ShowPicArticle(0,4,20,1,4,130,90,200,true,false) %>
|
|
 站内文章搜索: |
<% call ShowSearchForm("Article_Search.asp",2) %>
|
|
|