| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107 |
- <include file="Public:header"/>
- <div id="main-content">
- <div id="top-alert" class="fixed alert alert-error" style="display: none;">
- <button class="close fixed" style="margin-top: 4px;">×</button>
- <div class="alert-content">警告内容</div>
- </div>
- <div id="main" class="main">
- <div class="main-title-h">
- <span class="h1-title">矿机管理</span>
- <span class="h2-title">>><a href="{:U('Kuangm/kjlist')}">运行中的矿机</a></span>
- </div>
- <div class="cf">
- <div class="fl">
- <button class="btn ajax-post btn-info " url="{:U('Kuangm/userkjStatus',array('type'=>'1','mobile'=>'Admin'))}" target-form="ids">启动收益</button>
- <button class="btn ajax-post btn-warning " url="{:U('Kuangm/userkjStatus',array('type'=>'2','mobile'=>'Admin'))}" target-form="ids">禁止收益</button>
- <button class="btn ajax-post confirm btn-danger " confirm-msg="批量删除不可恢复,确定删除?" url="{:U('Kuangm/userkjStatus',array('type'=>'3','mobile'=>'Admin'))}" target-form="ids">删除矿机</button>
- </div>
- <div class="search-form fr cf" style="43px;float: none !important;">
- <div class="sleft">
- <form name="formSearch" id="formSearch" method="get" name="form1">
- <input type="text" name="username" class="search-input form-control" value="" placeholder="输入用户账号" />
- <a class="sch-btn" href="javascript:;" id="search"> <i class="btn-search"></i> </a>
- </form>
- <script>
- //搜索功能
- $(function () {
- $('#search').click(function () {
- $('#formSearch').submit();
- });
- });
- //回车搜索
- $(".search-input").keyup(function (e) {
- if (e.keyCode === 13) {
- $("#search").click();
- return false;
- }
- });
- </script>
- </div>
- </div>
- </div>
- <div class="data-table table-striped">
- <table class="">
- <thead>
- <tr>
- <th class="row-selected row-selected"><input class="check-all" type="checkbox"/></th>
- <th class="">ID</th>
- <th class="">会员账号</th>
- <th class="">类型</th>
- <th class="">名称</th>
- <th class="">图片</th>
- <th class="">购买时间</th>
- <th class="">过期时间</th>
- <th class="">矿机状态</th>
- <th class="">收益次数</th>
- <th class="">产出币种</th>
- </tr>
- </thead>
- <tbody>
- <notempty name="list">
- <volist name="list" id="vo">
- <tr>
- <td><input class="ids" type="checkbox" name="id[]" value="{$vo.id}"/></td>
- <td>{$vo.id}</td>
- <td>{$vo.username}</td>
- <td>
- <if condition="$vo.type eq 1">
- 独资
- <elseif condition="$vo.type eq 2" />
- <span>共享</span>
- <br />
- {$vo.sharebl}%
- </if>
- </td>
- <td>{$vo.kjtitle}</td>
- <td><img src="/Upload/public/{$vo.imgs}" style="height:50px;"></td>
- <td><?php echo date("m-d H:i",strtotime($vo['addtime']));?></td>
- <td><?php echo date("m-d H:i",strtotime($vo['endtime']));?></td>
- <td>
- <if condition="$vo.status eq 1">
- <span style="color:green;">正常</span>
- <elseif condition="$vo.status eq 2" />
- <span style="color:red;">停止</span>
- </if>
- </td>
- <td><?php echo ($vo['cycle'] - $vo['synum']);?>次</td>
- <td><?php echo strtoupper($vo['outcoin']);?></td>
- </tr>
- </volist>
- <else/>
- <td colspan="12" class="text-center empty-info"><i class="glyphicon glyphicon-exclamation-sign"></i>暂无数据</td>
- </notempty>
- </tbody>
- </table>
- <div class="page">
- <div>{$page}</div>
- </div>
- </div>
- </div>
- </div>
- <include file="Public:footer"/>
- <block name="script">
- <script type="text/javascript" charset="utf-8">
- //导航高亮
- highlight_subnav("{:U('Kuangm/kjlist')}");
- </script>
- </block>
|