{if $v['bid']!=5}
<div class="hy-box" style="margin-bottom: 20px;
    border: 1px solid rgb(227, 227, 227);
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.2);" >
<!--{hook t_m_thread_list_1}-->
	<div class="thread">
		<!--{hook t_m_thread_list_2}-->
		<a href="{php HYBBS_URL('my',$v['user']);}" class="avatar">
			{if !$v['top'] && $v['posts'] > 3 && !$v['state']}<span class="icon-fire badge badge-danger"></span>{/if}
			{if $v['state']}<span class="icon-lock badge badge-z"></span>{/if}
			{if $v['top']==2}<span class="icon-thumb-tack badge badge-blue"></span>{elseif $v['top']==1}<span class="icon-thumb-tack badge badge-warning"></span>{/if}
			<img src="{#WWW}{$v.avatar.b}" class="">
		</a>
		<!--{hook t_m_thread_list_3}-->

		<a class="list-title" href="{php HYBBS_URL('my',$v['user']);}" ajax="true" pos="right">
			<h3 style="
    margin: 0;
">{$v.user}</h3>
<span class="touxian"><?php
//用户组GID转用户组名称
$usergid=M("User")->read($v['uid']);
//取得用户组id
$group=$usergid['gid'];
//实例UsergroupModel对象
$Usergroup = M("Usergroup");
echo $Usergroup->gid_to_name($group);
?></span><!--{hook hy_ryxz}-->
		</a>
		<li class="blt">
		<span class="postsf" title="" ><i class="month">{php echo date("Y-m-d",$v['atime']);}</i>&nbsp<i class="day">{php echo date('H-i',$v['atime']);}</i></span>
	            <span class="icon-reply"></span>
	            {if ACTION_NAME != 'My'}
	            {if $v['posts']}
	            <span class="user">{$v.buser}</span>
	            {$_LANG['回复于']}
	            {else}
	            <span class="user">{$v.user}</span>
	            {$_LANG['发表于']}
	            {/if}
	            {else}
	            {$_LANG['发表于']}
	            {/if}
	            <span class="time">{if $v['posts']}{php echo humandate($v['btime']);}{else}{php echo humandate($v['atime']);}{/if}</span>
	        </li>
			<?php
	            	$Friend = M("Friend");
					//获取 当前登录者  与 ID为1 的用户 关系
					$Friend = $Friend->get_state(NOW_UID,$v['uid']);
	            ?>
	            

	            <div class="add">
	            	{if $Friend != '1'}
	            	{if NOW_UID==$v['uid']}{else}<a class="guanzhu" {if !IS_LOGIN}href="{php HYBBS_URL('user','login')}"{else}onclick="friend({$v['uid']},this)"{/if}><i class="iconfont icon-tianjia-copy"></i>关注</a>{/if}
	            	{/if}
	            	{if $Friend == '1'}
	            	<a class="liaotian" onclick="open_lt('{$v.user}','{$v.uid}','upload/avatar/21232f297a57a5a743894a0e4a801fc3-b.jpg');ys_header();"><i class="iconfont icon-reyi"></i>聊天</a>
	            	{/if}
	            </div>
		<!--{hook t_m_thread_list_4}-->
		<!--{hook t_m_thread_list_10}-->
	</div>
	<div class="mobile_article_title">
	<a class="list-title" href="{php HYBBS_URL('thread',$v['tid']);}" >
			<h3>{$v.title}</h3>
		</a>
	</div>
		<ul class="hy-lable-group">
			{if $forum[$v['fid']]['fid'] != -1}
			<!--{hook t_m_thread_list_5}-->
	        <li style="word-spacing: -0.35em;">
	            <a style="    font-size: 12px;
    color: rgba(0, 0, 0, 0.71);
    top: 1px;
    position: relative;
    display: inline;
    border-radius: 55px;
    padding: 3px 7px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);background:{php echo forum($forum,$forum[$v['fid']]['fid'],'background');};color:{php echo forum($forum,$forum[$v['fid']]['fid'],'color');};" iframe="true" ajax="true" href="{php HYBBS_URL('forum',$forum[$v['fid']]['fid'])}" class="hy-lable hy-lable-zz">#{php echo forum($forum,$forum[$v['fid']]['fid'],'name');}#</a>
	        </li>
	        <!--{hook t_m_thread_list_6}-->
	        {/if}
	        <!--{hook t_m_thread_list_7}-->
	        <li>
	            <a style="    font-size: 12px;
    color: rgba(0, 0, 0, 0.71);
    top: 1px;
    position: relative;
    display: inline;
    border-radius: 55px;
    padding: 3px 7px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);background:{php echo forum($forum,$v['fid'],'background');};color:{php echo forum($forum,$v['fid'],'color');};border-bottom-right-radius: 3px;" iframe="true" ajax="true" href="{php HYBBS_URL('forum',$v['fid'])}" class="hy-lable hy-lable-zz">#{php echo forum($forum,$v['fid'],'name');}#</a>
	        </li>
	<a href="{php HYBBS_URL('thread',$v['tid']);}" >
			<span class="userp">{$v.summary}</span>
			</a>
	        <!--{hook t_m_thread_list_8}-->
			
	        <!--{hook t_m_thread_list_9}-->
	    </ul>
		<a href="{php HYBBS_URL('thread',$v['tid']);}" >
		{if $v['img']}
		<?php $tmp = explode(",", trim($v['img'],","));$i=0; ?>
		<ul class="{if count($tmp) >= 3}image{else}image1{/if} tlimg" style="
			<?php
if (count($tmp)=="1") {
  echo "height: 140px; margin-bottom: 10px;";
} elseif (count($tmp)=="2") {
  echo "height: 100px;margin-bottom: 10px;";
} else {
  echo "height: 56px;margin-bottom: 10px;";
}
?>" >
			{foreach $tmp as $vv}
			<li class="tl-image" style="
			<?php
if (count($tmp)=="1") {
  echo "width: 100%;height: 140px;";
} elseif (count($tmp)=="2") {
  echo "width: 50%;height: 100px;";
} else {
  echo "width: 33.33%;height: 56px;";
}
?>" ><div style="background-image:url('{$vv}');
			<?php
if (count($tmp)=="1") {
  echo "width: 100%;height: 140px;    
  background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    -webkit-background-size: cover;    border-radius: 3px;";
} elseif (count($tmp)=="2") {
  echo "height: 100px;    
  background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    -webkit-background-size: cover;    border-radius: 3px;";
} else {
  echo "width: 100%;height: 100%;    
  background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    -webkit-background-size: cover;    border-radius: 3px;";
}
?>"></div></li>
			
			{php $i++;}
			{if $i >= 3}
			{php break;}
			{/if}
			{/foreach}
		</ul>
		{/if}
		</a>
		<div class="t-ul">
			<ul>
				{hook t_m_thread_list_7}
				<li class="left">
		        <a onclick="">
			    <i class="iconfont">&#xe699;</i>
			    <span style="color: #bdbdbd;">{$v.goods}</span></a></li>
				
				<li class="left">
				<a href="{php HYBBS_URL('thread',$v['tid']);}">
					<i class="iconfont">&#xe60f;</i>
					 <span style="color: #bdbdbd;">{$v.posts}</span></a>
				</li>
				<li class="right">
					<i class="iconfont"></i>共有 {$v.views} 人查看</li>
			</ul>
		</div>
	<!--{hook t_m_thread_list_11}-->
</div>
   {else}
   {if $v['sex']==1}
   {include boy}
   {elseif $v['sex']==2 }
   {include gir}
   {else}
   {include dtheme} 
  {/if}
  {/if}