如何修改评论的显示顺序
   
lan988 级别:管理员    + 关注TA 支持(0) | 反对(0)原内容


2.0版本的话 在 KS_Cls/kesion.label.commoncls.asp中
129行   

If PostId<>0 Then
     RSC.Open "Select " & TopStr &" b.userface,0 as anonymous,a.* From " & PostTable & " a left join KS_User b on a.username=b.username Where a.Verific=1 And a.TopicID=" & PostId & " and a.deltf=0 and a.parentid<>0 Order By ID Desc",conn,1,1
     Else
        RSC.Open "Select " & TopStr &" b.userface,b.userid,a.* From " & PostTable &" a left join KS_User b on a.username=b.username Where ProjectID=0 and a.Verific=1 And a.ChannelID=" & ModelID & " And a.InfoID=" & ItemID & " Order By ID Desc",conn,1,1
    End If

回到顶部顶端 回到底部底部