玩家公告板

  • 2008.10.10
    玩家杂志首页全新改版上线。新版内容分为旅游、吃喝、时尚消费和娱乐四大版块,为您呈现更多精彩内容。
  • 2008.10.06
    玩家空间日志分类调整。[详细]
  • 2008.08.21
    旅游官方博客新增“热推”功能![详细]
  • 2008.08.15
    官博用户个性化域名推出。[详细]
  • 24小时最活跃官方博客

    试用官方博客 | 开通官方博客

    北京壹加陆国旅的官方
  • 北京壹加陆国旅的官方
  • 10-16 01:28
  • 24小时日志:1篇
  • 成都光大国旅的官方博
  • 成都光大国旅的官方博
  • 10-15 09:22
  • 24小时日志:0篇
  • 丽星邮轮的官方博客
  • 丽星邮轮的官方博客
  • 10-14 14:45
  • 24小时日志:0篇
  • 星光之旅的官方博客
  • 星光之旅的官方博客
  • 10-13 17:24
  • 24小时日志:0篇
  • 中旅遨游的官方博客
  • 中旅遨游的官方博客
  • 10-08 18:50
  • 24小时日志:0篇
  • 中唐广安门的官方博客
  • 中唐广安门的官方博客
  • 10-07 13:27
  • 24小时日志:0篇
    • 出发地
    • 市/县
    • 目的地
    • 市/地区
    • 出发地
    • 市/县
    • 目的地
    • 国家/地区
    • 城市
    • 地区
    • 地标
    迷你三亚,彻底自助游
    三亚归来,彻底自助游-连载
    :	select  
    					item.itemid,
    					min(truncate((unix_timestamp()-comments.dateline)/(24*60*60),0)+1) as time_margin,
    					count(comments.cid) as rateNum
    				from 
    					discuz40.supe_userspaces bloger, 
    					discuz40.supe_spaceitems item,
    					discuz40.supe_spacecomments comments,
    					discuz40.cdb_members mem ,gootrip.mdd_cat cat
    				where 
    					1=1
    					and mem.uid=item.uid
    					and item.itemid=comments.itemid
    					and bloger.uid = item.uid
    					 
    					 and mem.groupid in (1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25) 
    					 and item.catid in (107,108,109,115,116,117) 
    					 and item.itemid not in (30529,31062,30552,31063,30427,31087,30346,31096,31093,31092) 
    					 and item.type='blog' 
    					
    					 and substring(item.destination, 1, instr(replace(replace(item.destination, '/', '#'), '|', '#'), '#')-1) = cat.catname 
    					and comments.dateline >= unix_timestamp() -  24*60*60*7
    					and comments.dateline <= unix_timestamp() -  24*60*60*0.04
    					and comments.rates > 0
    					and comments.message = ''
    					and bloger.islock = 0 
    					and item.folder = 1 
    					and discuz40.space_ifhide(item.itemtypeid)=0
    				group by 
    					item.itemid		
    				order by 
    					rateNum desc,
    					time_margin asc,
    					item.replynum desc,
    					item.dateline desc  			
    				limit 
    					0,14
     ,the final sql is :	select  
    					item.itemid,
    					min(truncate((unix_timestamp()-comments.dateline)/(24*60*60),0)+1) as time_margin,
    					count(comments.cid) as rateNum
    				from 
    					discuz40.supe_userspaces bloger, 
    					discuz40.supe_spaceitems item,
    					discuz40.supe_spacecomments comments,
    					discuz40.cdb_members mem ,gootrip.mdd_cat cat
    				where 
    					1=1
    					and mem.uid=item.uid
    					and item.itemid=comments.itemid
    					and bloger.uid = item.uid
    					 
    					 and mem.groupid in (1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25) 
    					 and item.catid in (107,108,109,115,116,117) 
    					 and item.itemid not in (30529,31062,30552,31063,30427,31087,30346,31096,31093,31092) 
    					 and item.type='blog' 
    					
    					 and substring(item.destination, 1, instr(replace(replace(item.destination, '/', '#'), '|', '#'), '#')-1) = cat.catname 
    					and comments.dateline >= unix_timestamp() -  24*60*60*7
    					and comments.dateline <= unix_timestamp() -  24*60*60*0.04
    					and comments.rates > 0
    					and comments.message = ''
    					and bloger.islock = 0 
    					and item.folder = 1 
    					and discuz40.space_ifhide(item.itemtypeid)=0
    				group by 
    					item.itemid		
    				order by 
    					rateNum desc,
    					time_margin asc,
    					item.replynum desc,
    					item.dateline desc  			
    				limit 
    					0,14
    :	select  
    					item.itemid as itemid,
    					item.subject as subject,
    					from_unixtime(item.dateline, '%m-%d %H:%i') as dateline,
    					from_unixtime(item.dateline, '%y-%m-%d %H:%i') as date_1,
    					from_unixtime(item.lastpost, '%y-%m-%d %H:%i') as lastpost,
    					item.dateline as alldate,
    					item.destination as destination,
    					item.replynum as replynum,
    					bloger.uid as uid, 
    					bloger.spacename as username, 
    					bloger.spacename as spacename, 
    					bloger.photo as photo,				
    					count(comments.cid) as rateNum,
    					left(blogs.message,4000) as message,
    					category.name as categoryName,
    					item.catid as catid,
    					item.type as type 
    				from 
    					discuz40.supe_spaceblogs blogs,
    					discuz40.supe_userspaces bloger,
    					discuz40.supe_categories category,
    					discuz40.supe_spaceitems item
    					left join
    					discuz40.supe_spacecomments comments
    					on item.itemid=comments.itemid
    					and comments.rates > 0
    					and comments.message = ''
    					and comments.dateline >= unix_timestamp() -  24*60*60*7
    					and comments.dateline <= unix_timestamp() -  24*60*60*0.04
    				where 
    					1=1
    					and blogs.itemid=item.itemid
    					and bloger.uid = item.uid
    					and item.catid=category.catid
    					and item.itemid in (30473,31121,30431,30480,31122,31059,30347,31065,16890,20497,30386,30302,31090,25483)				
    					and bloger.islock = 0 
    					and item.folder = 1 
    					and discuz40.space_ifhide(item.itemtypeid)=0
    				group by 
    					item.itemid 
    					
    				union all
    				
    				select  
    					item.itemid as itemid,
    					item.subject as subject,
    					from_unixtime(item.dateline, '%m-%d %H:%i') as dateline,
    					from_unixtime(item.dateline, '%y-%m-%d %H:%i') as date_1,
    					from_unixtime(item.lastpost, '%y-%m-%d %H:%i') as lastpost,
    					item.dateline as alldate,
    					item.destination as destination,
    					item.replynum as replynum,
    					bloger.uid as uid, 
    					bloger.spacename as username, 
    					bloger.spacename as spacename, 
    					bloger.photo as photo,								
    					count(comments.cid) as rateNum,
    					left(images.message,2000) as message,
    					category.name as categoryName,
    					item.catid as catid,
    					item.type as type    
    				from 
    					discuz40.supe_spaceimages images,
    					discuz40.supe_userspaces bloger,
    					discuz40.supe_categories category,
    					discuz40.supe_spaceitems item
    					left join
    					discuz40.supe_spacecomments comments
    					on item.itemid=comments.itemid
    					and comments.rates > 0
    					and comments.message = ''
    					and comments.dateline >= unix_timestamp() -  24*60*60*7
    					and comments.dateline <= unix_timestamp() -  24*60*60*0.04
    				where 
    					1=1
    					and images.itemid=item.itemid
    					and bloger.uid = item.uid
    					and item.catid=category.catid
    					and item.itemid in (30473,31121,30431,30480,31122,31059,30347,31065,16890,20497,30386,30302,31090,25483)				
    					and bloger.islock = 0 
    					and item.folder = 1 
    					and discuz40.space_ifhide(item.itemtypeid)=0
    					
    				group by 
    					item.itemid 
    				order by 
    						rateNum desc,
    							alldate desc,
    							replynum desc
    					;
    :	select  
    					item.itemid,
    					min(truncate((unix_timestamp()-comments.dateline)/(24*60*60),0)+1) as time_margin,
    					count(comments.cid) as rateNum
    				from 
    					discuz40.supe_userspaces bloger, 
    					discuz40.supe_spaceitems item,
    					discuz40.supe_spacecomments comments,
    					discuz40.cdb_members mem ,gootrip.mdd_cat cat
    				where 
    					1=1
    					and mem.uid=item.uid
    					and item.itemid=comments.itemid
    					and bloger.uid = item.uid
    					 
    					 and mem.groupid in (1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25) 
    					 and item.catid in (107,108,109,115,116,117) 
    					 and item.itemid not in (30529,31062,30552,31063,30427,31087,30346,31096,31093,31092,30473,31121,30431,30480,31122,31059,30347,31065,30386,20497,16890,31090,30302,25483) 
    					 and item.type='blog' 
    					
    					 and substring(item.destination, 1, instr(replace(replace(item.destination, '/', '#'), '|', '#'), '#')-1) = cat.catname 
    					and comments.dateline >= unix_timestamp() -  24*60*60*30
    					and comments.dateline <= unix_timestamp() -  24*60*60*0.04
    					and comments.rates > 0
    					and comments.message = ''
    					and bloger.islock = 0 
    					and item.folder = 1 
    					and discuz40.space_ifhide(item.itemtypeid)=0
    				group by 
    					item.itemid		
    				order by 
    					rateNum desc,
    					time_margin asc,
    					item.replynum desc,
    					item.dateline desc  			
    				limit 
    					0,10
     ,the final sql is :	select  
    					item.itemid,
    					min(truncate((unix_timestamp()-comments.dateline)/(24*60*60),0)+1) as time_margin,
    					count(comments.cid) as rateNum
    				from 
    					discuz40.supe_userspaces bloger, 
    					discuz40.supe_spaceitems item,
    					discuz40.supe_spacecomments comments,
    					discuz40.cdb_members mem ,gootrip.mdd_cat cat
    				where 
    					1=1
    					and mem.uid=item.uid
    					and item.itemid=comments.itemid
    					and bloger.uid = item.uid
    					 
    					 and mem.groupid in (1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25) 
    					 and item.catid in (107,108,109,115,116,117) 
    					 and item.itemid not in (30529,31062,30552,31063,30427,31087,30346,31096,31093,31092,30473,31121,30431,30480,31122,31059,30347,31065,30386,20497,16890,31090,30302,25483) 
    					 and item.type='blog' 
    					
    					 and substring(item.destination, 1, instr(replace(replace(item.destination, '/', '#'), '|', '#'), '#')-1) = cat.catname 
    					and comments.dateline >= unix_timestamp() -  24*60*60*30
    					and comments.dateline <= unix_timestamp() -  24*60*60*0.04
    					and comments.rates > 0
    					and comments.message = ''
    					and bloger.islock = 0 
    					and item.folder = 1 
    					and discuz40.space_ifhide(item.itemtypeid)=0
    				group by 
    					item.itemid		
    				order by 
    					rateNum desc,
    					time_margin asc,
    					item.replynum desc,
    					item.dateline desc  			
    				limit 
    					0,10
    :	select  
    					item.itemid as itemid,
    					item.subject as subject,
    					from_unixtime(item.dateline, '%m-%d %H:%i') as dateline,
    					from_unixtime(item.dateline, '%y-%m-%d %H:%i') as date_1,
    					from_unixtime(item.lastpost, '%y-%m-%d %H:%i') as lastpost,
    					item.dateline as alldate,
    					item.destination as destination,
    					item.replynum as replynum,
    					bloger.uid as uid, 
    					bloger.spacename as username, 
    					bloger.spacename as spacename, 
    					bloger.photo as photo,				
    					count(comments.cid) as rateNum,
    					left(blogs.message,4000) as message,
    					category.name as categoryName,
    					item.catid as catid,
    					item.type as type 
    				from 
    					discuz40.supe_spaceblogs blogs,
    					discuz40.supe_userspaces bloger,
    					discuz40.supe_categories category,
    					discuz40.supe_spaceitems item
    					left join
    					discuz40.supe_spacecomments comments
    					on item.itemid=comments.itemid
    					and comments.rates > 0
    					and comments.message = ''
    					and comments.dateline >= unix_timestamp() -  24*60*60*30
    					and comments.dateline <= unix_timestamp() -  24*60*60*0.04
    				where 
    					1=1
    					and blogs.itemid=item.itemid
    					and bloger.uid = item.uid
    					and item.catid=category.catid
    					and item.itemid in (29848,30331,29825,29543,30379,29980,30025,30291,29803,29537)				
    					and bloger.islock = 0 
    					and item.folder = 1 
    					and discuz40.space_ifhide(item.itemtypeid)=0
    				group by 
    					item.itemid 
    					
    				union all
    				
    				select  
    					item.itemid as itemid,
    					item.subject as subject,
    					from_unixtime(item.dateline, '%m-%d %H:%i') as dateline,
    					from_unixtime(item.dateline, '%y-%m-%d %H:%i') as date_1,
    					from_unixtime(item.lastpost, '%y-%m-%d %H:%i') as lastpost,
    					item.dateline as alldate,
    					item.destination as destination,
    					item.replynum as replynum,
    					bloger.uid as uid, 
    					bloger.spacename as username, 
    					bloger.spacename as spacename, 
    					bloger.photo as photo,								
    					count(comments.cid) as rateNum,
    					left(images.message,2000) as message,
    					category.name as categoryName,
    					item.catid as catid,
    					item.type as type    
    				from 
    					discuz40.supe_spaceimages images,
    					discuz40.supe_userspaces bloger,
    					discuz40.supe_categories category,
    					discuz40.supe_spaceitems item
    					left join
    					discuz40.supe_spacecomments comments
    					on item.itemid=comments.itemid
    					and comments.rates > 0
    					and comments.message = ''
    					and comments.dateline >= unix_timestamp() -  24*60*60*30
    					and comments.dateline <= unix_timestamp() -  24*60*60*0.04
    				where 
    					1=1
    					and images.itemid=item.itemid
    					and bloger.uid = item.uid
    					and item.catid=category.catid
    					and item.itemid in (29848,30331,29825,29543,30379,29980,30025,30291,29803,29537)				
    					and bloger.islock = 0 
    					and item.folder = 1 
    					and discuz40.space_ifhide(item.itemtypeid)=0
    					
    				group by 
    					item.itemid 
    				order by 
    						rateNum desc,
    							alldate desc,
    							replynum desc
    					;

    月度玩家空间TOP10榜

    :	select  
    					item.itemid,
    					min(truncate((unix_timestamp()-comments.dateline)/(24*60*60),0)+1) as time_margin,
    					count(comments.cid) as rateNum
    				from 
    					discuz40.supe_userspaces bloger, 
    					discuz40.supe_spaceitems item,
    					discuz40.supe_spacecomments comments,
    					discuz40.cdb_members mem ,gootrip.mdd_cat cat
    				where 
    					1=1
    					and mem.uid=item.uid
    					and item.itemid=comments.itemid
    					and bloger.uid = item.uid
    					 
    					 and mem.groupid in (1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25) 
    					 and item.catid in (107,108,109,115,116,117) 
    					 and item.itemid not in (30529,31062,30552,31063,30427,31087,30346,31096,31093,31092) 
    					 and item.type='blog' 
    					
    					 and substring(item.destination, 1, instr(replace(replace(item.destination, '/', '#'), '|', '#'), '#')-1) = cat.catname 
    					and comments.dateline >= unix_timestamp() -  24*60*60*7
    					and comments.dateline <= unix_timestamp() -  24*60*60*0.04
    					and comments.rates > 0
    					and comments.message = ''
    					and bloger.islock = 0 
    					and item.folder = 1 
    					and discuz40.space_ifhide(item.itemtypeid)=0
    				group by 
    					item.itemid		
    				order by 
    					rateNum desc,
    					time_margin asc,
    					item.replynum desc,
    					item.dateline desc  			
    				limit 
    					0,14
     ,the final sql is :	select  
    					item.itemid,
    					min(truncate((unix_timestamp()-comments.dateline)/(24*60*60),0)+1) as time_margin,
    					count(comments.cid) as rateNum
    				from 
    					discuz40.supe_userspaces bloger, 
    					discuz40.supe_spaceitems item,
    					discuz40.supe_spacecomments comments,
    					discuz40.cdb_members mem ,gootrip.mdd_cat cat
    				where 
    					1=1
    					and mem.uid=item.uid
    					and item.itemid=comments.itemid
    					and bloger.uid = item.uid
    					 
    					 and mem.groupid in (1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25) 
    					 and item.catid in (107,108,109,115,116,117) 
    					 and item.itemid not in (30529,31062,30552,31063,30427,31087,30346,31096,31093,31092) 
    					 and item.type='blog' 
    					
    					 and substring(item.destination, 1, instr(replace(replace(item.destination, '/', '#'), '|', '#'), '#')-1) = cat.catname 
    					and comments.dateline >= unix_timestamp() -  24*60*60*7
    					and comments.dateline <= unix_timestamp() -  24*60*60*0.04
    					and comments.rates > 0
    					and comments.message = ''
    					and bloger.islock = 0 
    					and item.folder = 1 
    					and discuz40.space_ifhide(item.itemtypeid)=0
    				group by 
    					item.itemid		
    				order by 
    					rateNum desc,
    					time_margin asc,
    					item.replynum desc,
    					item.dateline desc  			
    				limit 
    					0,14
    :	select  
    					item.itemid as itemid,
    					item.subject as subject,
    					from_unixtime(item.dateline, '%m-%d %H:%i') as dateline,
    					from_unixtime(item.dateline, '%y-%m-%d %H:%i') as date_1,
    					from_unixtime(item.lastpost, '%y-%m-%d %H:%i') as lastpost,
    					item.dateline as alldate,
    					item.destination as destination,
    					item.replynum as replynum,
    					bloger.uid as uid, 
    					bloger.spacename as username, 
    					bloger.spacename as spacename, 
    					bloger.photo as photo,				
    					count(comments.cid) as rateNum,
    					left(blogs.message,4000) as message,
    					category.name as categoryName,
    					item.catid as catid,
    					item.type as type 
    				from 
    					discuz40.supe_spaceblogs blogs,
    					discuz40.supe_userspaces bloger,
    					discuz40.supe_categories category,
    					discuz40.supe_spaceitems item
    					left join
    					discuz40.supe_spacecomments comments
    					on item.itemid=comments.itemid
    					and comments.rates > 0
    					and comments.message = ''
    					and comments.dateline >= unix_timestamp() -  24*60*60*7
    					and comments.dateline <= unix_timestamp() -  24*60*60*0.04
    				where 
    					1=1
    					and blogs.itemid=item.itemid
    					and bloger.uid = item.uid
    					and item.catid=category.catid
    					and item.itemid in (30473,31121,30431,30480,31122,31059,30347,31065,16890,20497,30386,30302,31090,25483)				
    					and bloger.islock = 0 
    					and item.folder = 1 
    					and discuz40.space_ifhide(item.itemtypeid)=0
    				group by 
    					item.itemid 
    					
    				union all
    				
    				select  
    					item.itemid as itemid,
    					item.subject as subject,
    					from_unixtime(item.dateline, '%m-%d %H:%i') as dateline,
    					from_unixtime(item.dateline, '%y-%m-%d %H:%i') as date_1,
    					from_unixtime(item.lastpost, '%y-%m-%d %H:%i') as lastpost,
    					item.dateline as alldate,
    					item.destination as destination,
    					item.replynum as replynum,
    					bloger.uid as uid, 
    					bloger.spacename as username, 
    					bloger.spacename as spacename, 
    					bloger.photo as photo,								
    					count(comments.cid) as rateNum,
    					left(images.message,2000) as message,
    					category.name as categoryName,
    					item.catid as catid,
    					item.type as type    
    				from 
    					discuz40.supe_spaceimages images,
    					discuz40.supe_userspaces bloger,
    					discuz40.supe_categories category,
    					discuz40.supe_spaceitems item
    					left join
    					discuz40.supe_spacecomments comments
    					on item.itemid=comments.itemid
    					and comments.rates > 0
    					and comments.message = ''
    					and comments.dateline >= unix_timestamp() -  24*60*60*7
    					and comments.dateline <= unix_timestamp() -  24*60*60*0.04
    				where 
    					1=1
    					and images.itemid=item.itemid
    					and bloger.uid = item.uid
    					and item.catid=category.catid
    					and item.itemid in (30473,31121,30431,30480,31122,31059,30347,31065,16890,20497,30386,30302,31090,25483)				
    					and bloger.islock = 0 
    					and item.folder = 1 
    					and discuz40.space_ifhide(item.itemtypeid)=0
    					
    				group by 
    					item.itemid 
    				order by 
    						rateNum desc,
    							alldate desc,
    							replynum desc
    					;

    7日玩家空间排行

    发表最多日志:		select  
    				bloger.uid, 
    				bloger.username, 
    				left(bloger.spacename,11) as spacename, 
    				bloger.photo,
    				count(comments.cid) as rateNum,
    				max(item.itemid) as itemid  
    				
    				from 
    				discuz40.supe_userspaces bloger, 
    				discuz40.supe_spacecomments comments,
    				discuz40.cdb_members mem,
    				discuz40.supe_spaceitems item
    				
    				where 
    				1=1
    				and mem.uid=bloger.uid
    				and item.uid = bloger.uid
    				and bloger.uid = comments.uid
    				and mem.groupid  in (1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25)
    				and comments.dateline <= unix_timestamp() -  24*60*60*0.04 
    				and comments.dateline >= unix_timestamp() -  24*60*60*1 
    				and comments.rates > 0
    				and comments.message = ''
    				and bloger.islock = 0 
    				
    				group by 
    				bloger.uid
    				
    				order by 
    				rateNum desc 
    				
    				limit 0,7
    :	select  
    					item.itemid as itemid,
    					item.subject as subject,
    					from_unixtime(item.dateline, '%m-%d %H:%i') as dateline,
    					from_unixtime(item.dateline, '%y-%m-%d %H:%i') as date_1,
    					from_unixtime(item.lastpost, '%y-%m-%d %H:%i') as lastpost,
    					item.dateline as alldate,
    					item.destination as destination,
    					item.replynum as replynum,
    					bloger.uid as uid, 
    					bloger.spacename as username, 
    					bloger.spacename as spacename, 
    					bloger.photo as photo,				
    					count(comments.cid) as rateNum,
    					left(blogs.message,4000) as message,
    					category.name as categoryName,
    					item.catid as catid,
    					item.type as type 
    				from 
    					discuz40.supe_spaceblogs blogs,
    					discuz40.supe_userspaces bloger,
    					discuz40.supe_categories category,
    					discuz40.supe_spaceitems item
    					left join
    					discuz40.supe_spacecomments comments
    					on item.itemid=comments.itemid
    					and comments.rates > 0
    					and comments.message = ''
    					and comments.dateline >= unix_timestamp() -  24*60*60*1
    					and comments.dateline <= unix_timestamp() -  24*60*60*0.04
    				where 
    					1=1
    					and blogs.itemid=item.itemid
    					and bloger.uid = item.uid
    					and item.catid=category.catid
    					and item.itemid in (31062,31121,31096,31137,31059,31135,31141)				
    					and bloger.islock = 0 
    					and item.folder = 1 
    					and discuz40.space_ifhide(item.itemtypeid)=0
    				group by 
    					item.itemid 
    					
    				union all
    				
    				select  
    					item.itemid as itemid,
    					item.subject as subject,
    					from_unixtime(item.dateline, '%m-%d %H:%i') as dateline,
    					from_unixtime(item.dateline, '%y-%m-%d %H:%i') as date_1,
    					from_unixtime(item.lastpost, '%y-%m-%d %H:%i') as lastpost,
    					item.dateline as alldate,
    					item.destination as destination,
    					item.replynum as replynum,
    					bloger.uid as uid, 
    					bloger.spacename as username, 
    					bloger.spacename as spacename, 
    					bloger.photo as photo,								
    					count(comments.cid) as rateNum,
    					left(images.message,2000) as message,
    					category.name as categoryName,
    					item.catid as catid,
    					item.type as type    
    				from 
    					discuz40.supe_spaceimages images,
    					discuz40.supe_userspaces bloger,
    					discuz40.supe_categories category,
    					discuz40.supe_spaceitems item
    					left join
    					discuz40.supe_spacecomments comments
    					on item.itemid=comments.itemid
    					and comments.rates > 0
    					and comments.message = ''
    					and comments.dateline >= unix_timestamp() -  24*60*60*1
    					and comments.dateline <= unix_timestamp() -  24*60*60*0.04
    				where 
    					1=1
    					and images.itemid=item.itemid
    					and bloger.uid = item.uid
    					and item.catid=category.catid
    					and item.itemid in (31062,31121,31096,31137,31059,31135,31141)				
    					and bloger.islock = 0 
    					and item.folder = 1 
    					and discuz40.space_ifhide(item.itemtypeid)=0
    					
    				group by 
    					item.itemid 
    				order by 
    						rateNum desc,
    							alldate desc,
    							replynum desc
    					;

    境内

    境外及港、澳、台