博客类 sql_sysquery False searchType sql.int 1 搜索类型 1.标题 2.作者 3.标签 4.内容 keyword supersql 关键字 titleLength int 50 标题长度 contentLength int 200 内容长度 displayUpdateTime bool true 是否显示时间 displayBlogName bool true 是否显示来源 displayTag bool true 是否显示标签 ouputQty sql.int 10 输出数量 linkOpenType string 链接打开方式 listOrderType sql.int 5 排序方式 True true true SELECT TOP @pagesize PE_BG_log.*,PE_BG_Blog.BlogName FROM PE_BG_log INNER JOIN PE_BG_Blog ON PE_BG_log.BlogID = PE_BG_Blog.BlogID WHERE PE_BG_log.LogID Not In (SELECT TOP @startrow PE_BG_log.LogID FROM PE_BG_log INNER JOIN PE_BG_Blog ON PE_BG_log.BlogID = PE_BG_Blog.BlogID Where PE_BG_log.State=1 AND PE_BG_log.Title like '%%' AND PE_BG_Blog.Nickname like '%%' AND PE_BG_log.Tags like '%%' AND PE_BG_log.Content like '%%' ORDER BY PE_BG_log.EliteLevel DESC ORDER BY PE_BG_log.EliteLevel ASC ORDER BY PE_BG_log.LogID DESC ORDER BY PE_BG_log.LogID ASC ORDER BY PE_BG_log.UpdateTime DESC ORDER BY PE_BG_log.UpdateTime ASC ORDER BY PE_BG_log.Hits DESC ORDER BY PE_BG_log.Hits ASC ORDER BY PE_BG_log.MonthHits DESC ORDER BY PE_BG_log.MonthHits ASC ORDER BY PE_BG_log.WeekHits DESC ORDER BY PE_BG_log.WeekHits ASC ORDER BY PE_BG_log.DayHits DESC ORDER BY PE_BG_log.DayHits ASC ) And PE_BG_log.State=1 AND PE_BG_log.Title like '%%' AND PE_BG_Blog.Nickname like '%%' AND PE_BG_log.Tags like '%%' AND PE_BG_log.Content like '%%' ORDER BY PE_BG_log.EliteLevel DESC ORDER BY PE_BG_log.EliteLevel ASC ORDER BY PE_BG_log.LogID DESC ORDER BY PE_BG_log.LogID ASC ORDER BY PE_BG_log.UpdateTime DESC ORDER BY PE_BG_log.UpdateTime ASC ORDER BY PE_BG_log.Hits DESC ORDER BY PE_BG_log.Hits ASC ORDER BY PE_BG_log.MonthHits DESC ORDER BY PE_BG_log.MonthHits ASC ORDER BY PE_BG_log.WeekHits DESC ORDER BY PE_BG_log.WeekHits ASC ORDER BY PE_BG_log.DayHits DESC ORDER BY PE_BG_log.DayHits ASC SELECT Count(PE_BG_log.LogID) FROM PE_BG_log INNER JOIN PE_BG_Blog ON PE_BG_log.BlogID = PE_BG_Blog.BlogID WHERE PE_BG_log.State=1 AND PE_BG_log.Title like '%%' AND PE_BG_Blog.Nickname like '%%' AND PE_BG_log.Tags like '%%' AND PE_BG_log.Content like '%%' ]]> 标记之间写分页SQL查询语句 select count(id) from database]]>
  • 暂时没有信息!
  • Blog/Item.aspx?Id=&LogId=

    来源: Blog/UserIndex.aspx?Id=  标签 {PE.Label id="自定义Tag显示" filed="" linkOpenType="1" /}
  • ]]>