123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108 |
- <div class="pageContent">
- <div id="account_jbsxBox" class="unitBox">
- <form id="pagerForm" onsubmit="return divSearch(this, 'account_jbsxBox');"
- action="<!--{echo $domain_prefix}-->/?m=acp&c=account&a=run"
- method="post">
- <input type="hidden" name="pageNum" value="1"/>
- <input type="hidden" name="numPerPage" value="${model.numPerPage}"/>
- <input type="hidden" name="orderField" value="${param.orderField}"/>
- <input type="hidden" name="orderDirection" value="${param.orderDirection}"/>
- <div class="pageContent" style="border-left:1px #B8D0D6 solid;border-right:1px #B8D0D6 solid">
- <div class="panelBar">
- <ul class="toolBar">
- <li>
- <a class="add" href="<!--{echo $domain_prefix}-->/index.php?m=acp&c=account&a=add"
- target="dialog"
- height="365" width="490" mask="true">
- <span>添加</span>
- </a>
- </li>
- <li>
- <a href="<!--{echo $domain_prefix}-->/?m=acp&c=account&a=delete" title="确定要移除吗?"
- target="selectedTodo" rel="ids" postType="string" class="delete">
- <span>批量移除</span>
- </a>
- </li>
- </ul>
- </div>
- <table class="table" width="99%" layoutH="75" rel="account_jbsxBox">
- <thead>
- <tr>
- <th width="5"><input type="checkbox" group="ids" class="checkboxCtrl"></th>
- <th width="80">ID</th>
- <th>账号</th>
- <th>管理员</th>
- <th>创建时间</th>
- <th>状态</th>
- <th>操作</th>
- </tr>
- </thead>
- <tbody>
- <!--{if(!empty($data)){}-->
- <!--{foreach ($data as $k => $v){}-->
- <tr target="user_id" rel="<!--{echo $v['id'];}-->">
- <td>
- <!--{if(!$v['is_founder']){}-->
- <input name="ids" value="<!--{echo $v['id'];}-->" type="checkbox">
- <!--{}else{}-->
-
- <!--{}}-->
- </td>
- <td><!--{echo $v['id'];}--></td>
- <td><!--{echo $v['username'];}--></td>
- <td><!--{echo $v['is_founder']?'超级管理员':($v['is_admin']?'管理员':'');}--></td>
- <td><!--{echo $v['created'];}--></td>
- <td><!--{echo $v['is_public']==1?'正常':($v['is_public']==0?'冻结':'');}--></td>
- <td>
- <!--{if(!$v['is_founder']){}-->
- <!--{if($v['is_public']){}-->
- <a title="冻结" target="ajaxTodo" rel="apply_disable"
- href="<!--{echo $domain_prefix}-->/?m=acp&c=account&a=disable&id=<!--{echo $v['id'];}-->"
- class="">
- 冻结
- </a>
- <!--{}else{}-->
- <a title="解冻" target="ajaxTodo" rel="apply_enable"
- href="<!--{echo $domain_prefix}-->/?m=acp&c=account&a=enable&id=<!--{echo $v['id'];}-->"
- class="">
- 解冻
- </a>
- <!--{}}-->
- <!--{}}-->
- <a title="编辑" target="dialog" rel="news_edit" mask="true" height="365" width="490"
- href="<!--{echo $domain_prefix}-->/?m=acp&c=account&a=edit&id=<!--{echo $v['id'];}-->"
- class="">
- 编辑
- </a>
- </td>
- </tr>
- <!--{}}-->
- <!--{}}-->
- </tbody>
- </table>
- <div class="panelBar">
- <div class="pages">
- <span>显示</span>
- <select class="combox" name="numPerPage"
- onchange="navTabPageBreak({numPerPage:this.value}, 'account_jbsxBox')">
- <option value="10"
- <!--{echo $limit==10?'selected':''}-->>10</option>
- <option value="20"
- <!--{echo $limit==20?'selected':''}-->>20</option>
- <option value="50"
- <!--{echo $limit==50?'selected':''}-->>50</option>
- <option value="100"
- <!--{echo $limit==100?'selected':''}-->>100</option>
- </select>
- <span>共<!--{echo $counts}-->条</span>
- </div>
- <div class="pagination" rel="account_jbsxBox" totalCount="<!--{echo $counts}-->"
- numPerPage="<!--{echo $limit}-->" pageNumShown="5"
- currentPage="<!--{echo $page}-->">
- </div>
- </div>
- </div>
- </form>
- </div>
- </div>
|