文章列表类别(75)


            strHits = "WeekHits"
        Case 3
            foundsql = foundsql & " ORDER BY A.MonthHits DESC ,A.Articleid DESC"
            strHits = "MonthHits"
        Case 4
            foundsql = foundsql & " And A.isBest>0 ORDER BY A.AllHits DESC ,A.Articleid DESC"
            strHits = "AllHits"
        Case Else
            foundsql = foundsql & "ORDER BY A.AllHits DESC ,A.Articleid DESC"
            strHits = "AllHits"
        End Select
        SQL = " A.ArticleID,A.ClassID,A.ColorMode,A.FontMode,A.title,A.BriefTopic,A.AllHits,A.WriteTime,A.HtmlFileDate,A.isBest,A.DayHits,A.WeekHits,A.MonthHits,"
        SQL = "SELECT TOP " & CInt(maxline) & SQL & " C.ClassName,C.ColorModes,C.FontModes,C.HtmlFileDir FROM [NC_Article] A INNER JOIN [NC_Classify] C ON A.ClassID=C.ClassID WHERE A.isAccept>0 And A.ChannelID=" & chanid & " " & foundsql
        Set Rs = Newasp.Execute(SQL)
        i = 0
        strContent = ""
        If Rs.BOF And Rs.EOF Then
            strContent = "还没有找到任何软件!"
        Else
            Do While Not Rs.EOF
                If Trim(styles) <> "" And Trim(styles) <> "0" Then
                    If (i Mod 2) = 0 Then
                        divstyle = " class=""" & Trim(styles) & "1"""

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:http://www.heiqu.com/3583.html