<div class="mainL">
	<!--{template "topic_publish"}-->
<div style="width:540px; margin:0 auto 8px; overflow:hidden">
<script language="Javascript">
function listTopic( s , lh ) {	
	var s = 'undefined' == typeof(s) ? 0 : s;
	var lh = 'undefined' == typeof(lh) ? 1 : lh;
	if(lh) {
		window.location.hash="#listTopicArea";
	}
	$("#listTopicMsgArea").html("<div><center><span class='loading'>内容正在加载中，请稍候……</span></center></div>");
	var myAjax = $.post(
		"ajax.php?mod=topic&code=list",
		{
			<!--{loop $params $k $v}-->
			{$k}:"{$v}",
			<!--{/loop}-->
			start:s
		},
		function (d) {
			$("#listTopicMsgArea").html('');
			$("#listTopicArea").html(d);			
		}
	); 
}
</script>
<!--{if in_array($this->Code,array('myhome','tag','qun','recd','other','bbs','cms','department')) || $this->Get[gid] !=''}-->
<!--幻灯广告-->
{if $this->Config[slide_enable] && ($slide_config=ConfigHandler::get('slide')) && $slide_config[enable] && $slide_config[list]}
	<script src="js/kinslideshow.js" type="text/javascript"></script>
	<script type="text/javascript">
	$(function(){
		$("#KinSlideshow").KinSlideshow({
		moveStyle:"down",			//切换方向 可选值：【 left | right | up | down 】
		intervalTime:3,   			//设置间隔时间为5秒 【单位：秒】 [默认为5秒]
		moveSpeedTime:400 , 		//切换一张图片所需时间，【单位：毫秒】[默认为400毫秒]
		isHasTitleFont:false,		//是否显示标题文字 可选值：【 true | false 】
		isHasTitleBar:false,		//是否显示标题背景 可选值：【 true | false 】[默认为true]	
		isHasBtn:true,
		//标题文字样式，(isHasTitleFont = true 前提下启用)  
		//titleBar:{titleBar_height:30,titleBar_bgColor:"#08355c",titleBar_alpha:0.3},
		//titleFont:{TitleFont_size:12,TitleFont_color:"#FFFFFF",TitleFont_weight:"normal"},
		//按钮样式设置，(isHasBtn = true 前提下启用) 
		btn:{btn_bgColor:"#FFFFFF",btn_bgHoverColor:"#1072aa",btn_fontColor:"#000000",btn_fontHoverColor:"#FFFFFF",btn_borderColor:"#cccccc",btn_borderHoverColor:"#1188c0",btn_borderWidth:1}
		});
	})
	</script>
	<div id="KinSlideshow" style="overflow:hidden; height:80px;">
	{loop $slide_config[list] $_v}
	<!--{if $_v[enable] == 1}-->
		<li><a href="{$_v[href]}" target="_blank"><img src="{$_v[src]}" alt="" width="540" height="80" /></a></li>
	<!--{/if}-->
	{/loop}
	</div>
{/if}
<!--幻灯广告-->
<!--{/if}-->
</div>

 <div class="listBox">
	 <!--{if in_array($this->Code,array('myhome','tag','qun','recd','other','bbs','cms','department','channel','nedu')) || $this->Get[gid] !=''}-->
	<div class="TopicMan s_fixed">
		<div class="nfTagB">
			<ul> 
				<!--#if NEDU#-->
				<!--{if defined('NEDU_MOYO')}-->
					<!--{echo nui('jsg')->hook('topic.common.middle.tabs.first');}-->
				<!--{/if}-->
				<!--#endif#-->
				<!--我关注的人 Begin--> 
				<!--{eval if($this->Code == 'myhome') $myhome= "current";}-->
				<li class="{$myhome}">
					<span id="follow_menu_wp">
						<a href="index.php?mod=topic&code=myhome" title="我和我关注人的微博">关注的人</a>
					</span>
				</li>
				<!--我关注的人 End-->

				<!--我关注的频道 Begin--> 
				<!--{if $channel_enable}-->
				<!--{eval if($this->Code == 'channel') $mychan= "current";}-->
				<li class="{$mychan}">
					<span>
						<a href="index.php?mod=topic&code=channel" title="我关注的频道微博">我的频道</a>
					</span>
				</li>
				<!--{/if}-->
				<!--我关注的频道 End-->

				<!--{if $this->Config[department_enable]}-->
				<!--{eval if($this->Code == 'department') $department= "current";}-->
				<li class="{$department}">
					<span>
						<a href="index.php?mod=topic&code=department" title="我的{$d_d_name}及我关注的{$d_d_name}的微博">{$d_d_name}微博</a>
					</span>
				</li>
				<!--{/if}-->
				
				<!--{if $this->Config['qun_setting']['qun_open']}-->
				<!--我的微群 Begin-->
				<!--{eval if($this->Code == 'qun') $qun= "current";}-->
				<li class="{$qun}">
					<span id="qun_menu_wp">
							<a href="index.php?mod=topic&code=qun" title="我加入微群的微博" class="wp_id">我的微群</a>
					</span>
				</li>
				<!--我的微群 End-->
				<!--{/if}-->
				
				<!--{eval if($this->Code == 'tag') $tag= "current w90";}-->
				<li class="{$tag}">
					<span><a href="index.php?mod=topic&code=tag" title="我关注话题相关的微博">关注的话题</a></span>
				</li>
				
				<!--{eval if($this->Code == 'recd') $recd= "current";}-->
				<li class="{$recd}">
					<span><a href="index.php?mod=topic&code=recd" title="官方推荐的内容">官方推荐</a>
					<!--{if !($this->Config[dzbbs_enable] || ($this->Config[phpwind_enable] && $this->Config[pwbbs_enable]) || $this->Config[dedecms_enable])}--><em class="navNew"></em><!--{/if}--></span>
				</li>

				<!--{if ($this->Config['dedecms_enable'] == 1)}-->
				<!--{eval if($this->Code == 'cms') $cms= "current";}-->
				<li class="{$cms}">
					<span><a href="index.php?mod=topic&code=cms" title="我收藏的资讯分类的内容">我的资讯</a>
					<!--{if !($this->Config[dzbbs_enable] || ($this->Config[phpwind_enable] && $this->Config[pwbbs_enable]))}--><em class="navNew"></em><!--{/if}--></span>
				</li>
				<!--{/if}-->

				<!--{if $this->Config[dzbbs_enable] || ($this->Config[phpwind_enable] && $this->Config[pwbbs_enable])}-->
				<!--{eval if($this->Code == 'bbs') $bbs= "current";}-->
				<li class="{$bbs}">
					<span><a href="index.php?mod=topic&code=bbs" title="我收藏的论坛版块的帖子">我的论坛</a><em class="navNew"></em></span>
				</li>
				<!--{/if}-->
				<!--#if NEDU#-->
				<!--{if defined('NEDU_MOYO')}-->
					<!--{echo nui('jsg')->hook('topic.common.middle.tabs.last');}-->
				<!--{/if}-->
				<!--#endif#-->
				<script type="text/javascript">
				 $(document).ready(function(){
				 $("#follow_m_1").mouseover(function(){$("#follow_morelist").show();});
				 $("#follow_m_1").mouseout(function(){$("#follow_morelist").hide();});
				 $("#follow_m_2").mouseover(function(){$("#sel_morelist").show();});
				 $("#follow_m_2").mouseout(function(){$("#sel_morelist").hide();});
				 });
				</script>
				<!--{hook/global_index_extra1}-->
			</ul>
			<div class="clear"></div>
		</div>
		<div class="nfBox index_m">
		  <div class="left">
			  <!--{if $this->Code=='qun' || $this->Code=='tag'}-->
				  <!--群和话题筛选 Begin-->
				  <a title="查看最近更新的微博" href="index.php?mod=topic&code={$this->Code}&view=new" class="{$active['new']}">最新微博</a>
				  <a title="查看最新的评论" href="index.php?mod=topic&code={$this->Code}&view=new_reply" class="{$active['new_reply']}">最新评论</a>
				  <a title="官方推荐" href="index.php?mod=topic&code={$this->Code}&view=recd" class="{$active['recd']}">官方推荐</a>
				  <!--群和话题筛选 End-->
			  <!--{elseif $this->Code=='cms'}-->
				  <a href="index.php?mod=topic&code=cms" class="{$active['all']}">全部</a>
			  <!--{elseif $this->Code=='myhome'}-->
				  <!--我关注的 Begin-->
				  <a href="index.php?mod=topic&code=myhome" title="" class="{$active['all']}">全部</a>
				  <!--{if !empty($grouplist2)}-->
					  <!--{if $grouplist2}-->
						<!--{loop $grouplist2 $group}-->
							<a title="{$group['group_name']}" href="index.php?mod=topic&code={$this->Code}&gid={$group['id']}" class="{$active[$group['id']]}">{$group['group_name']}</a>
						<!--{/loop}-->
					  <!--{/if}-->
					  <!--{if $group_count <= $cut_num}-->
								<a href="javascript:;" onclick="showFollowGroupAddDialog();" title="">添加分组</a>
					  <!--{else}-->
							  <span id="follow_m_1"><a href="index.php?mod=topic&code=myhome" >更多</a>
							  <ul class="index_ml" id="follow_morelist">
								<!--{eval $__no_del_group=true;}-->
						<li><!--{template "topic_group_ajax"}--></li>
								<li class="B_linedot"></li>
								<li class="slA"><a href="javascript:void(0)" onclick="showFollowGroupAddDialog();">添加分组</a></li>
								<li class="slM"><a href="index.php?mod={$member[username]}&code=follow">管理分组</a></li>
							  </ul>
							  </span>
					  <!--{/if}--> 
				  <!--{else}-->
					  <a href="javascript:;" onclick="showFollowGroupAddDialog();" title="">添加分组</a>
				  <!--{/if}-->
				  <!--我关注的 End-->
			  <!--{elseif $this->Code=='recd'}-->
				<a title="查看官方推荐" href="index.php?mod=topic&code=recd&view=all" class="{$active['all']}">全部</a>
				<a title="查看最新的评论" href="index.php?mod=topic&code=recd&view=new_reply" class="{$active['new_reply']}">最新评论</a>
			  <!--{elseif $this->Code=='department'}-->
				<a title="查看所有我的{$d_d_name}及我关注的{$d_d_name}微博" href="index.php?mod=topic&code=department&view=all" class="{$active['all']}">全部</a>
				<a title="查看我的{$d_d_name}微博" href="index.php?mod=topic&code=department&view=my" class="{$active['my']}">我的{$d_d_name}</a>
				<a title="查看我关注的{$d_d_name}微博" href="index.php?mod=topic&code=department&view=other" class="{$active['other']}">我关注的{$d_d_name}</a>
			  <!--{elseif $this->Code=='bbs'}-->
				<!--{if $this->Config[dzbbs_enable]}-->
				<a title="查看我收藏的版块帖子" href="index.php?mod=topic&code=bbs&view=favorites" class="{$active['favorites']}">收藏的版块</a>
				<!--{/if}-->
				<a title="查看我收藏的帖子" href="index.php?mod=topic&code=bbs&view=favorite" class="{$active['favorite']}">收藏的帖子</a>
				<a title="查看我发布的主题帖子" href="index.php?mod=topic&code=bbs&view=thread" class="{$active['thread']}">我发布的</a>
				<a title="查看我回复的帖子" href="index.php?mod=topic&code=bbs&view=reply" class="{$active['reply']}">我回复的</a>
				<a title="查看论坛所有版块帖子" href="index.php?mod=topic&code=bbs&view=all" class="{$active['all']}">全部版块</a>
			  <!--{elseif $this->Code=='channel'}-->
				<a title="查看我所关注的全部频道微博" href="index.php?mod=topic&code=channel" class="{$active['all']}">全部</a>
				<!--{if $my_buddy_channel}-->
				<!--{loop $my_buddy_channel $channel}-->
				<a title="查看“{$channel['ch_name']}”频道的微博" href="index.php?mod=topic&code=channel&chid={$channel['ch_id']}" class="{$active[$channel['ch_id']]}">{$channel['ch_name']}</a>
				<!--{/loop}-->
				<!--{/if}-->
			  <!--{/if}-->
			  <!--#if NEDU#-->
			  <!--{if defined('NEDU_MOYO')}-->
				<!--{echo nui('jsg')->hook('topic.common.middle.subtabs.load');}-->
			  <!--{/if}-->
			  <!--#endif#-->
		  </div>
		  <!--{hook/global_index_extra2}-->
		  <!--{eval 
			$filter_ary = array(
				'all' => array('name'=>'全部','tips' => '查看全部微博'),
				'pic' => array('name'=>'图片','tips' => '含图片'),
				'video' => array('name'=>'视频','tips' => '含视频'),
				'music' => array('name'=>'音乐','tips' => '含音乐'),
				'vote' => array('name'=>'投票','tips' => '含投票'),
				'event' => array('name'=>'活动','tips' => '含活动'),
			);
			}-->
			<!--{eval if($this->Config['vote_open'] != 1)unset($filter_ary['vote']);}-->
			<!--{eval if($this->Config['event_open'] != 1)unset($filter_ary['event']);}-->
			<!--{eval if($this->Config['fenlei_open'] != 1)unset($filter_ary['fenlei']);}-->
			<!--{eval $_fkey = empty($this->Get['type']) ? 'all' : $this->Get['type'];}-->
			<!--{eval !isset($filter_ary[$_fkey]) && $_fkey = 'all';}-->
			<!--{if !in_array($this->Code,array('cms','bbs','department','channel'))}-->
		  <div class="right">
			<div style="float:left">筛选：</div>
			  <span id="follow_m_2"><a href="{$type_url}&type={$_fkey}" >{$filter_ary[$_fkey]['name']}</a>
			  <ul class="index_ml index_ml_2" id="sel_morelist">
				<!--{loop $filter_ary $key $f}-->
					<!--{if $key != $_fkey}-->
						<li><a title="{$f['tips']}" href="{$type_url}&type={$key}" >{$f['name']}</a></li>
					<!--{/if}-->
				<!--{/loop}-->
			  </ul>
			  </span>
			<div class="clear"></div>
		  </div>
		  <!--{/if}-->

		  <div class="clear"></div>
		</div>		
	</div>
	<!--{/if}-->
	<!--{eval if(MEMBER_ID == $member[uid]) $_my = '我'; else $_my = $member[nickname];}-->
	  <!--{if in_array($this->Code,array('myfavorite','favoritemy'))}-->
	  <div class="listBoxNav">
	  <ul class="nleftL2">
		<!--{if 'myfavorite'==$this-> Code}-->
		<li class="current"><a href="index.php?mod=topic&code=myfavorite" class="cWhite">我的收藏</a></li>
		<!--{else}-->
		<li><a href="index.php?mod=topic&code=myfavorite" >我的收藏</a></li>
		<!--{/if}-->
		<!--{if 'favoritemy'==$this-> Code}-->
		<li class="current"><a href="index.php?mod=topic&code=favoritemy" class="cWhite">收藏我的</a></li>
		<!--{else}-->
		<li><a href="index.php?mod=topic&code=favoritemy">收藏我的</a></li>
		<!--{/if}-->
	  </ul>
	  <!--{hook/global_index_extra3}-->
	  </div>
	  <!--{/if}-->
	  <!--{if in_array($this->Code,array('mycomment','tocomment'))}-->
	  <div class="listBoxNav">
	   <ul class="nleftL2">
	   <!--{if 'mycomment' == $this->Code}-->
		<li class="current"><a href="index.php?mod=topic&code=mycomment" class="cWhite">评论我的</a></li>
		<!--{else}-->
		<li><a href="index.php?mod=topic&code=mycomment" >评论我的</a></li>
		<!--{/if}-->
		<!--{if 'tocomment'== $this->Code}-->
		<li class="current"><a href="index.php?mod={$member[username]}&type=my_reply" class="cWhite">我的评论</a></li>
		<!--{else}-->
		<li><a href="index.php?mod={$member[username]}&type=my_reply">我的评论</a></li>
		<!--{/if}-->
	   </ul>
	   <!--{hook/global_index_extra4}-->
	   </div>
	   <!--{/if}-->

		
	  <div id="ajax_reminded"></div>
	
	 <div id="listTopicMsgArea"></div>
		<!--#if NEDU#-->
		<!--{if defined('NEDU_MOYO')}-->
			<!--{echo nui('jsg')->hook('topic.common.middle.dsp.load');}-->
		<!--{/if}-->
		<!--#endif#-->
	  <div id="listTopicArea"<!--#if NEDU#--><!--{if defined('NEDU_MOYO')}--><!--{echo nui('jsg')->cssstyle('topic.common.middle.list.topic.area');}--><!--{/if}--><!--#endif#-->>
		<!--微博列表 Begin-->
		<!--{eval $pagehtml_not = true;}-->
		<!--{subtemplate topic_list_ajax}-->
		<!--微博列表 End-->
		<div id="ajaxtopic"></div>
		  <div id="pageinfo"></div>
		  <div id="pagehtml">
		  <!--{if $page_arr[html]}-->
          <div class="pageStyle">
            <li>{$page_arr[html]}</li>
          </div>
          <!--{/if}-->
		  </div>
	  </div>
	</div>
  </div>
  <script type="text/javascript">
  <!--{if $isloading}-->var isLoading = true;<!--{else}-->var isLoading = false;<!--{/if}-->
  if(isLoading){$('#pageinfo').html('');$("#pagehtml").hide();}var ajaxkeys = new Array();var onloading = false;var ajaxnum = 0;
  <!--{loop $ajaxkey $key $val}-->
  ajaxkeys[{$key}] = '{$val}';
  <!--{/loop}-->
  $(window).bind('scroll resize',function(event){if(isLoading && !onloading){var bodyTop = document.documentElement.scrollTop + document.body.scrollTop;if(bodyTop+$(window).height() >= ($('#listTopicArea').height()+300)){loadtopic(ajaxkeys[ajaxnum]);}}});
  </script>