玩家公告板

  • 2008.08.21 旅游官方博客新增“热推”功能!在编辑日志状态下选择“推荐”按钮。该日志将在您的博客内置顶,并会被推送到官博首页“商家推荐”栏目,推荐数为一条。
  • 2008.08.15
    官博用户个性化域名推出。[详细]
  • 2008.07.11
    玩家空间增加了常用标签和最新评论。
    [详细]
  • 24小时最活跃官方博客

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

    星光之旅的官方博客
  • 星光之旅的官方博客
  • 10-13 17:24
  • 24小时日志:1篇
  • 中旅遨游的官方博客
  • 中旅遨游的官方博客
  • 10-08 18:50
  • 24小时日志:0篇
  • 中唐广安门的官方博客
  • 中唐广安门的官方博客
  • 10-07 13:27
  • 24小时日志:0篇
  • 北青旅朝阳营业部官方
  • 北青旅朝阳营业部官方
  • 09-27 23:38
  • 24小时日志:0篇
  • 成都光大国旅的官方博
  • 成都光大国旅的官方博
  • 09-27 09:11
  • 24小时日志:0篇
  • 凤凰国旅的官方博客
  • 凤凰国旅的官方博客
  • 09-26 17:31
  • 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 (30473,30529,30379,30347,30431,30427,30552,30547,30480,30557) 
    					 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 (30473,30529,30379,30347,30431,30427,30552,30547,30480,30557) 
    					 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 (30346,30386,30373,30289,30383,30381,30291,30375,29980,30331,30241,30344,21808,30315)				
    					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 (30346,30386,30373,30289,30383,30381,30291,30375,29980,30331,30241,30344,21808,30315)				
    					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 (30473,30529,30379,30347,30431,30427,30552,30547,30480,30557,30346,30386,30373,30289,30381,30383,30375,30331,30291,30241,29980,30344,30315,21808) 
    					 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 (30473,30529,30379,30347,30431,30427,30552,30547,30480,30557,30346,30386,30373,30289,30381,30383,30375,30331,30291,30241,29980,30344,30315,21808) 
    					 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,29825,29543,30025,29369,29803,29537,29587,29502,30295)				
    					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,29825,29543,30025,29369,29803,29537,29587,29502,30295)				
    					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 (30473,30529,30379,30347,30431,30427,30552,30547,30480,30557) 
    					 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 (30473,30529,30379,30347,30431,30427,30552,30547,30480,30557) 
    					 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 (30346,30386,30373,30289,30383,30381,30291,30375,29980,30331,30241,30344,21808,30315)				
    					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 (30346,30386,30373,30289,30383,30381,30291,30375,29980,30331,30241,30344,21808,30315)				
    					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 (30530,30529,30547,30554,30546,30561,30431)				
    					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 (30530,30529,30547,30554,30546,30561,30431)				
    					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
    					;

    境内

    境外及港、澳、台