文章列表类别(80)
strHits = "AllHits"
Case Else
foundsql = foundsql & "ORDER BY A.AllHits DESC ,A.flashid DESC"
strHits = "AllHits"
End Select
SQL = " A.flashid,A.ClassID,A.ColorMode,A.FontMode,A.title,A.AllHits,A.addTime,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_FlashList] 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"""
Else
divstyle = " class=""" & Trim(styles) & "2"""
End If
End If
NewsTitle = Newasp.GotTopic(Rs("title"), CInt(maxlen))
内容版权声明:除非注明,否则皆为本站原创文章。