<?php defined('PHPNEW_STATIC_TPL') === false && exit(URL_HOST);?>
<style type="text/css">
    .ptitle{height: 30px; line-height: 30px; font-weight: bolder; font-size: 13px; color: #353939; border-bottom: 1px solid #D8D8D8;}
    .thread_date{font-size:12px; margin-left: 8px; font-weight: normal;}
    .ptitle a:hover{ color: #FF8040;}
    .mytable{line-height: 2em; border-collapse: collapse; margin-bottom: 20px; font-size: 12px; width: 100%;}
    .mytable td{ border-bottom: 1px solid silver; line-height: 33px; height: 33px; text-align: center;}
    .mytable th{ border-bottom: 2px solid #FF8040; color: #FF8040; font-weight: bolder; text-align: center;}
    .mytable th a{color: #FF8040;}
    .cat_header_user{vertical-align: middle;}
</style>
<script type="text/javascript">
    var ne = 0;
    $(function (){
           $('.list_tr').each(function (){
                ne ++;
                if(ne % 2 == 0)
                    $(this).find('td').css('background-color','#fff');
            })
    })
</script>
<table class="mytable">
    <tr>
    <td colspan="6" style="text-align: left; padding: 12px;">
    <form method="get" action="./index.php" enctype="application/x-www-form-urlencoded">
    <input type="hidden" name="admincp" value="useradmin" />
    　关键字: <input style="border: none; border: 1px solid silver;" name="search" value="{$search}" /> (支持用户id,email,用户名) <input type="submit" value="搜索" />
    </form>
    </td>
    </tr>
    <tr>
        <th style="width:8%"><a href="./index.php?admincp=useradmin&search={$search}&sort=user_id">用户ID</a></th>
         <th style="width:20%">用户名</th>
         <th style="width:10%">积分</th>
          <th style="width:25%">用户邮件</th>
           <th style="width:20%">权限</th>
            <th>操作</th>
    </tr>
    <!--{loop $user_list $val}-->
    <tr class="list_tr">
        <td>{$val[user_id]}</td>
         <td> <img class="cat_header_user" src="{$val[logo]}" /> {$val[user_name]}</td>
         <td>{$val[user_exp]}</td>
          <td>{$val[user_email]}</td>
           <td><span><a style="{$val[user_admin]}" href="./index.php?admincp=useradmin&search=admin-1.html">管理员</a></span> / <span><a style="{$val[user_posts]}" href="./index.php?admincp=useradmin&search=posts-1.html">发表</a></span> / <span><a style="{$val[user_app]}" href="./index.php?admincp=useradmin&search=app-1.html">待审核</a></span></td>
            <td> <a href="./index.php?admincp=useredit&{$val[user_id]}.html">用户更改</a>, <a href="javascript:;" onclick="alert('{$val[openid]}')">USER_ID</a></td>
    </tr>
    <!--{/loop}-->
    <tr>
    <td colspan="6" style="text-align: left; line-height: 20px; padding-left: 12px;">
    {$page_list}<br />
    
<strong>说明</strong>: <br />
        蓝色部分代表用户申请了权限,可通过待审核链接过滤.<br />
        所有注册用户均有回复权限<br />        
    </td>
    </tr>
</table>