<!--{include file="<!--{$oetplpath}-->block_head.tpl"}-->
<!--{if $a == "run"}-->
<div class="layui-fluid oe_fluid">
  <form class="layui-form" id="mysearch" action="<!--{$oefile}-->&c=<!--{$c}-->" method="post">
  <div class="oe_breadcrumb_box clearfix">
    <div class="layui-breadcrumb fl" lay-filter="breadcrumb" style="visibility: visible;">
      <a href="javascript:;">会员管理</a><span lay-separator="">/</span>
      <a href="javascript:;">信件管理</a><span lay-separator="">/</span>
      <a><cite>通信解锁</cite></a>
    </div>
  </div>
  <!--//top end -->
  
  <div class="oe_searchbar layui-form">
    <div class="more_search_open"></div>
    <div class="layui-form-item">
      <div class="layui-inline">
        <div class="layui-form-label">通信SID：</div>
        <div class="layui-input-inline input-150">
          <input type="text" name="sbgsid" id="sbgsid" class="layui-input" value="<!--{$sbgsid}-->" />
        </div>
      </div>
      <div class="layui-inline">
        <div class="layui-form-label">会员1UID：</div>
        <div class="layui-input-inline input-100">
          <input type="text" name="suid1" id="suid1" class="layui-input" value="<!--{if $suid1 > 0}--><!--{$suid1}--><!--{/if}-->" />
        </div>
      </div>
      <div class="layui-inline">
        <div class="layui-form-label">会员2UID：</div>
        <div class="layui-input-inline input-100">
          <input type="text" name="suid2" id="suid2" class="layui-input" value="<!--{if $suid2 > 0}--><!--{$suid2}--><!--{/if}-->" />
        </div>
      </div>
      <div class="layui-inline">
        <div class="layui-form-label">解锁状态：</div>
        <div class="layui-input-inline input-100">
          <select name="sfree" id="sfree">
            <option value="">不限</option>
            <option value="1"<!--{if $sfree == '1'}--> selected<!--{/if}-->>已解锁</option>
            <option value="2"<!--{if $sfree == '2'}--> selected<!--{/if}-->>未解锁</option>
          </select>
        </div>
      </div>
      
      <div class="layui-inline">
        <button class="layui-btn layui-btn-sm search" id="but_submit_search2" lay-submit lay-filter="searchform2">
          <i class="layui-icon layui-icon-search"></i>
          搜索
          <span class="oe_btn_loading layui-anim layui-icon layui-anim-rotate layui-anim-loop" style="display:none;">&#xe63d;</span>
        </button>
      </div>
          
    </div>
  </div>
  <!--//search End -->
  </form>

  <div class="oe_table_wrap layui-form">
    <form id="myform" action="<!--{$oefile}-->&c=<!--{$c}-->&a=del" method="post">
    <input type="hidden" name="a" id="a" value="" />
    <table class="layui-table">
      <thead>
        <tr>
          <th width="14%">SID</th>
          <th width="5%">头像1</th>
          <th width="14%">会员1</th>
          <th width="5%">头像2</th>
          <th width="14%">会员2</th>
          <th width="15%">创建时间</th>
          <th width="8%">通信解锁</th>
          <th width="8%">通信总数</th>
          <th width="15%">解锁时间</th>
          <th style="min-width:100px;">操作</th>
        </tr>
      </thead>
      <!--{if empty($msglink)}-->
      <tr>
        <td class="text_center" colspan="10">没有符合条件的信息</td>
      </tr>
      <!--{else}-->
      <!--{foreach $msglink as $volist}-->
      <tr>
        <td class="text_center"><!--{$volist.bgsid}--></td>
      <td class="text_center drop">
        <!--{if !empty($volist.user1.headimg)}-->
        <div class="down">
          <div><img src="<!--{$urlpath}-->tpl/static/images/loading_img.png" data-src="<!--{$volist.user1.headimg_0}-->" width="20px" height="20px" preload="0" f="zoom_avatar" /></div>
          <div class="sub">
            <img src="<!--{$urlpath}-->tpl/static/images/loading_img.png" data-src="<!--{$volist.user1.headimg}-->" preload="0" f="viewimg" />
          </div>
        </div>
        <!--{/if}-->
      </td>
      <td class="text_center">
        UID:<!--{$volist.user1.userid}-->/<!--{$volist.user1.username}--><br />
        <!--{hook mod="var" item="gender" type="text" value=$volist.user1.gender}--> <!--{$volist.user1.age}-->岁 <!--{area type="text" value=$volist.user1.dist2}-->
      </td>
      <td class="text_center drop">
        <!--{if !empty($volist.user2.headimg)}-->
        <div class="down">
          <div><img src="<!--{$urlpath}-->tpl/static/images/loading_img.png" data-src="<!--{$volist.user2.headimg_0}-->" width="20px" height="20px" preload="0" f="zoom_avatar" /></div>
          <div class="sub">
            <img src="<!--{$urlpath}-->tpl/static/images/loading_img.png" data-src="<!--{$volist.user2.headimg}-->" preload="0" f="viewimg" />
          </div>
        </div>
        <!--{/if}-->
      </td>
      <td class="text_center">
        UID:<!--{$volist.user2.userid}-->/<!--{$volist.user2.username}--><br />
        <!--{hook mod="var" item="gender" type="text" value=$volist.user2.gender}--> <!--{$volist.user2.age}-->岁 <!--{area type="text" value=$volist.user2.dist2}-->
      </td>
      <td class="text_center"><!--{$volist.addtime|date_format:"%Y-%m-%d %H:%M:%S"}--></td>

      <td class="text_center">
        <!--{if $volist.freelock == '1'}-->
        <font color="green">已解锁</font>
        <!--{else}-->
        <font color="red">未解锁</font>
        <!--{/if}-->
      </td>
      <td class="text_center"><!--{$volist.msgnums}--></td>
      <td class="text_center">
        <!--{if $volist.freelock == '1'}-->
        <!--{if $volist.freetime > 0}-->
        <!--{$volist.freetime|date_format:"%Y-%m-%d %H:%M:%S"}-->
        <!--{else}-->
        --
        <!--{/if}-->
        <!--{if !empty($volist.remark)}-->
        <br />
        <!--{$volist.remark}-->
        <!--{/if}-->
        <!--{else}-->
        --
        <!--{/if}-->
      </td>
      <td class="text_center">
        <div class="oe_manager_btn">
          <div class="layui-nav">
            <div class="layui-nav-item">
              <!--//9.10.29 -->
              <a href="javascript:;">发信<span class="layui-nav-more"></span></a>
              <dl class="layui-nav-child layui-anim layui-anim-upbit" style="width:120px; left:-30px;">
                <dd><a href="<!--{$oefile}-->&c=msglog&sid=<!--{$volist.bgsid}-->&userid=<!--{$volist.uid1}-->&<!--{$urlitem}-->&from=msglink">给会员2发信</a></dd>
                <dd><a href="<!--{$oefile}-->&c=msglog&sid=<!--{$volist.bgsid}-->&userid=<!--{$volist.uid2}-->&<!--{$urlitem}-->&from=msglink">给会员1发信</a></dd>
              </dl>
            </div>
          </div>
        </div>
      </td>
      </tr>
      <!--{/foreach}-->
      <!--{/if}-->
    </table>
    </form>
    
    <div class="oe_page_box"><!--{$showpage}--></div>
    
  </div>
</div>
<script type="text/javascript">
$(function(){
    layui.use(['layer', 'element'], function(){

    });
    
    //预载图片 9.10.12
    preload_img();
});
</script>
<!--{/if}-->
</body>
</html>