<!--{include file="<!--{$oetplpath}-->widget_header.tpl"}-->
<div class="oemarry_main">
  <!--{include file="<!--{$oetplpath}-->widget_menu.tpl"}-->
  <div class="oem_uright">
  
    <div class="oem_uright_topmenu">
      当前位置：<a href="<!--{$oefile}-->">会员中心</a> &gt;&gt; 站内消息
    </div>
	
	<div class="oe_widget_center">
	  
	  <!--{if $a == "run"}-->
	  <h3 class="oe_f_title">站内消息<span><i>|</i>收到系统发送的消息</span></h3>

	  <!--{if $total > 0}-->
	  <div class="oe_manage_but">
		<span><a href="javascript:;" f="multidel" data-idname="id[]" data-a="del" data-form="myform">批量删除</a></span>
	  </div>
	  <!--{/if}-->
	  
	  <form id="myform" action="<!--{$oefile}-->&c=<!--{$c}-->" method="post" />
	  <input type="hidden" name="a" id="a" value="" />
	  <input type="hidden" name="oeform" id="oeform" value="myform" />
	  <table class="oe_table_list_3 table_cs">
		<tr>
	      <th width="8%"><input type="checkbox" id="selAll" onclick="oemarrySelectAll(this, 'selall');" class="icon-checkbox-unchecked" /></th>
		  <th>消息</th>
		  <th width="20%">时间</th>
		  <th width="10%">状态</th>
		  <th width="10%">操作</th>
	    </tr>
		<!--{if empty($msg)}-->
		<tr>
		  <td class="text_center" colspan="5">没有您要查找的信息</td>
		</tr>
		<!--{else}-->
		<!--{foreach $msg as $volist}-->
		<tr>
		  <td class="text_center"><input class="selall" type="checkbox" name="id[]" id="id[]" value="<!--{$volist.msgid}-->" /></td>
		  <td><!--{$volist.content}--></td>
		  <td><!--{$volist.sendtime|date_format:"%Y-%m-%d %H:%M:%S"}--></td>
		  <td>
		  <span id="msg_status_<!--{$volist.msgid}-->">
		  <!--{if $volist.readflag == '0'}-->
		  <font color="gray">未读</font>
		  <!--{else}-->
		  <font color="green">已读</font>
		  <!--{/if}-->
		  </span>
		  </td>
		  <td class="text_center">
		    <span id="msg_btn_<!--{$volist.msgid}-->">
			  <!--{if $volist.readflag == '0'}-->
			  <a href="javascript:;" f="readmsg" data-value="<!--{$volist.msgid}-->">阅读</a>
			  <!--{else}-->
			  ~~
			  <!--{/if}-->
			</span>
		  </td>
		</tr>
		<!--{/foreach}-->
		<!--{/if}-->
	  </table>
	  </form>

	  <!--{if $total > 0}-->
	  <div class="oe_manage_but">
		<span><a href="javascript:;" f="multidel" data-idname="id[]" data-a="del" data-form="myform">批量删除</a></span>
	  </div>
	  <!--{/if}-->

	  <div class="oe_page_layout">
	    <!--{$showpage}-->
	  </div>
	  <!--{/if}-->

	</div>
	<!--//oe_widget_center End-->

  </div>
  <!--//oem_uright End-->
  <div class="clear"></div>

</div>
<!--{include file="<!--{$oetplpath}-->widget_footer.tpl"}-->
</body>
</html>