<!--<?php
$index = 0 ;
$listCount = count($smsList);
foreach($smsList as $key => $value){
$value[created_time] = get_date($value[created_time]);
$_linkUrl = "{$db_userurl}{$value['create_uid']}";
$index++;
if($index == 1){
print <<<EOT
-->
		<table width="100%">
        	<tr class="tr2">
            	<td class="fn">
<!--
EOT;
if($subtype != 'search'){
print <<<EOT
-->
				   <a class="adel" href="javascript:;" onclick="pwConfirm('确定要删除该消息?', this, function(){MC.del('{$message[rid]}','$subtype','$deltype','$page','showmessageTip')})">删除</a>
<!--
EOT;
}if($listCount > 10){
print <<<EOT
-->
                	<a class="fr fn mr10" href="javascript:;" onclick="MC.showDetailMsg('','all')" id="openAll">全部展开</a>
<!--
EOT;
}
print <<<EOT
-->
					参与者：{$userListHtml}
        		</td>
            </tr>
        </table>
		<table width="100%" class="mb20" id="smsListTable" style="table-layout:fixed;">
				<tr class="tr3 vt">
                     <td class="face"><a href="{$_linkUrl}" class="img_50"><i><img src="{$value[face]}" height="48" width="48"></i></a></td>
                     <td class="name" style="vertical-align:top;width:120px;">
                     	<p>
<!--
EOT;
if(checkOnline($value['thisvisit']) && $value[create_uid] != $winduid){
$gender = getDefaultGender($value['gender']);
print <<<EOT
-->
							<span class="{$gender}_ol mr5" title="在线" alt="在线">在线</span>
<!--
EOT;
}print <<<EOT
-->
											<a href="{$_linkUrl}">{$value[create_username]}</a>
<!--
EOT;
if($value[create_uid] != $winduid){
print <<<EOT
-->
							<a class="send_message w" href="$baseUrl?type=post&username={$value[create_username]}">[发消息]</a>
<!--
EOT;
}print <<<EOT
-->
                     	 </p>
                         <em><span title="$value[created_time]">{$value[created_time_format]}</span></em>
                     </td>
                     <td>
                         <div class="textMes">
                         	<h1>{$value[title]}</h1>
							{$value[content]}
                         </div>
                     </td>
										 <td width="60">&nbsp;</td>
                 </tr>
<!--
EOT;
}}print <<<EOT
-->
	  	</table>
<!--
EOT;
?>-->