<div class="clear10"></div>
<div class="blockb">
	<div class="blockcontent">
		<ul class="ullist">
			{?section name=i loop=$messagerows?}<li>
			<div class="cf"><a href="{?$messagerows[i].detail?}"><h4>{?$messagerows[i].title?}{?if $messagerows[i].toid > 0 && $messagerows[i].isread == 0?}&nbsp;<span class="hot">[未读]</span>{?/if?}</h4></a><em><a href="{?$url_delete?}&checkid[]={?$messagerows[i].messageid?}" onclick="return confirm('确定要删除这条消息吗？')">删除</a></em></div>
			<div class="gray"><em>{?$messagerows[i].postdate|date:'Y-m-d H:i'?}</em>{?if $messagerows[i].uid == 0?}<span class="red">系统消息</span>{?else?}{?$messagerows[i].uname?}{?/if?}</div>
			</li>{?/section?}
		</ul>
	</div>
</div>
<div class="clear10"></div>
<div class="pagelink">
	<a href="{?$saxue_page_prevurl?}" class="prev btn btn-primary">上一页</a>
	<a href="{?$url_empty?}" class="cent btn btn-primary" onclick="return confirm('确定要清空{?$boxname?}所有消息吗？')">清空{?$boxname?}</a>
	<a href="{?$saxue_page_nexturl?}" class="next btn btn-primary">下一页</a>
</div>