<style>
.panel-heading-boy {
    padding: 10px 15px;
    border-bottom: 1px solid transparent;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    background-color: rgba(255, 255, 255, 0);
}
.t-ul-boy {
    padding-bottom: 5px;
    border-top: 1px solid rgba(0, 0, 0, 0);
    margin-top: 5px;
    border-top-left-radius: 60px;
    background-color: rgba(255, 255, 255, 0);
    border-bottom-right-radius: 15px;
    border-bottom-left-radius: 15px;    
	border-bottom-left-radius: 15px;
}
.t-ul-boy ul {
    width: 100%;
    height: 20px;
    list-style: none;
    margin-top: 5px;
}
.t-ul-boy li i {
    color: #fff !important;
    font-size: 14px;
    padding-right: 5px;
}
li.left-boy {
    top: 1px;
    position: relative;
    display: inline;
    left: 10px;
	    border-radius: 55px;
    padding: 1px 7px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
    background-color: #9e5bf6;
}
li.right-boy {
    float: right !important;
    margin-right: 10px;
    width: initial !important;
    color: #f65d5b;
    border-radius: 55px;
    padding: 0 7px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
    background-color: #ffffff;
}
em.shijian {
    display: block;
    text-align: right;
    color: rgb(227, 227, 227);
}
.panel-info-boy {
            margin: 0px 15px;
    margin-bottom: 20px;
    background: initial;
    box-shadow: 0px 2px 15px #f65d5b;
    border-top-right-radius: 15px;
    border-top-left-radius: 15px;
    border-bottom-right-radius: 15px;
    border-bottom-left-radius: 15px;
    background-color: #f65d5b;
}
strong.toboy {
    font-weight: 400;
        color: #fff;
    text-shadow: 0 0px 5px rgba(0, 0, 0, 0.71);
}
img.qimg {
    width: 32px;
    height: 32px;
    border-radius: 32px;
    line-height: 32px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
    border: 2px solid #fff;
}
</style>
    
	{php $q=$v['title']}
   <div class="panel panel-info-boy">
	    	<div class="panel-heading-boy">
			{if is_numeric($q)}<img class="qimg" src="http://q1.qlogo.cn/g?b=qq&nk={if is_numeric($q)}{php echo $q}{/if}&s=100" class="">{/if}
			<strong class="toboy">
			TO ：
			{if is_numeric($q)}
		<?php 
$contents = file_get_contents('https://h5.qzone.qq.com/webapp/json/friendSetting/getMainPage?uin='.$q.'&visituin='.$q); 
$arr = json_decode($contents,true)['data']['profile'];
echo $arr['nickname'];
?> 

{else}{$v.title}{/if}
			</strong>
	    </div>
		
	    <div class="panel-body">
			{if $forum[$v['fid']]['fid'] != -1}
			<!--{hook t_m_thread_list_5}-->
	        <li style="display: inline;word-spacing: -0.35em;">
	            <a style="    font-size: 12px;
    top: 1px;
    position: relative;
    display: inline;
	background: #fff !important;
    border-radius: 55px;
    padding: 1px 7px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
    color: rgba(0, 0, 0, 0.71);background:{php echo forum($forum,$forum[$v['fid']]['fid'],'background');};color:#f65d5b !important;" 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 style="display: inline;text-indent: 25px;">
	            <a style="font-size: 12px;
        font-size: 12px;
    color: rgba(0, 0, 0, 0.71);
    top: 1px;
	background: #fff !important;
    position: relative;
    display: inline;
    border-radius: 55px;
    padding: 1px 7px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);background:{php echo forum($forum,$v['fid'],'background');};color:#f65d5b !important;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 class="biaobaiurl" href="{php HYBBS_URL('thread',$v['tid']);}" >
	      	<p class="tl-content">{$v.content}</p>
		</a>
	        <span class="tl-me">
			FROM ：
			{php $qm=$v['me']}
			{if is_numeric($qm)}
<?php 
$contents = file_get_contents('https://h5.qzone.qq.com/webapp/json/friendSetting/getMainPage?uin='.$qm.'&visituin='.$qm); 
$arry = json_decode($contents,true)['data']['profile'];
echo $arry['nickname'];
?> 
{else}{$v.me}{/if}</span>
	       
<em class="shijian">{$v['ctime'];}</em></a>
		</div>
		<div class="t-ul-boy">
			<ul>
				{hook t_m_thread_list_7}
				<li class="left-boy">
		        <a onclick="">
			    <i class="iconfont">&#xe699;</i>
			    <span style="color: #fff;">{$v.goods}</span></a></li>
				
				<li class="left-boy">
				<a href="{php HYBBS_URL('thread',$v['tid']);}">
					<i class="iconfont">&#xe60f;</i>
					 <span style="color: #fff;">{$v.posts}</span></a>
				</li>
				<li class="right-boy">
					<i class="iconfont"></i>共有 {$v.views} 人查看</li>
			</ul>
		</div>
	    </div>