1.WeiboTopļзŵ/addons/plugins/
2.޸apps/home/Tpl/default/User/index.html
170ңһд룬бע
 <div class="feedBox">
      <div id="countNew"></div>
      {:Addons::hook('home_index_middle_weibotop')}<!-- ΢ö-->
      <php>if($gid){</php>

232JS
//ر΢ö
function close_weibo_top() {
	$('#weibo_top').hide('slow');
	$.post("{:U('home/User/closeWeiboTop')}",{},function(res){});
}

3.΢رղapps/home/Lib/Action/UserAction.class.php
 //ر΢ö
public function closeWeiboTop() {
       $weibo_top = model ( 'Xdata' )->where ( '`list`="addons_weibo_top"' )->findAll ();
       $ctime = strtotime ( $weibo_top ['0'] ['mtime'] );
       cookie ( "weibo_top_closed_{$this->mid}",  $ctime );
}
4.̨->->װ->΢öвװ

5.װԽ΢öֻд΢IDöޣֶ֧ʱö΢IDȡ΢ö