<%if {newpmcount}>0 && {showpmhint}%>
<!--短信息 area start-->
<div class="mainbox">
	<%if {pmsound}>0%>
		<bgsound src="{forumurl}sound/pm{pmsound}.wav" />
	<%/if%>
	<span class="headactions"><a href="{forumurl}usercpinbox.aspx" target="_blank">查看详情</a> <a href="###" onclick="document.getElementById('frmnewpm').submit();">不再提示</a></span>
	<h3>您有 {newpmcount} 条新的短消息</h3>
	<table cellpadding="0" cellspacing="0" border="0" width="100%">
	<%loop (PrivateMessageInfo) pm pmlist%>
	<tbody>
		<tr>
			<td style="width:53px;text-align:center; height:18px; line-height:18px; padding:2px 0;"><img src="{forumurl}templates/{templatepath}/images/message_{pm.new}.gif" alt="短信息"/></td>
			<th><a href="{forumurl}usercpshowpm.aspx?pmid={pm.pmid}">{pm.subject}</a></th>
			<td width="15%">
			    <%if {pm.msgfromid}>0%>
				    <a href="{forumurl}userinfo.aspx?userid={pm.msgfromid}" target="_blank">{pm.msgfrom}</a>
				<%else%>
				    {pm.msgfrom}
				<%/if%>
			</td>
			<td width="15%">
				<span class="fontfamily">{pm.postdatetime}</span>
			</td>
		</tr>
	</tbody>
	<%/loop%>
	</table>
	<form id="frmnewpm" name="frmnewpm" method="post" action="#">
		<input id="ignore" name="ignore" type="hidden" value="yes" />
	</form>
</div>
<!--短信息 area end-->
<%/if%>