<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>代理管理</title>
    <meta name="description" content="">
    <meta name="keywords" content="index">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <link rel="icon" type="image/png" href="/public/static/amz/i/favicon.png">
    <link rel="apple-touch-icon-precomposed" href="/public/static/amz/i/app-icon72x72@2x.png">
    <meta name="apple-mobile-web-app-title" content="Amaze UI" />
    <link rel="stylesheet" href="/public/static/amz/css/amazeui.min.css" />
    <link rel="stylesheet" href="/public/static/amz/css/admin.css">
    <link rel="stylesheet" href="/public/static/amz/css/app.css">
    <script src="/public/static/amz/js/echarts.min.js"></script>

    <!--old  下-->

    <link rel="stylesheet" href="/public/static/assets/css/fonts/linecons/css/linecons.css">

    <link rel="stylesheet" href="/public/static/assets/css/fonts/fontawesome/css/font-awesome.min.css">
    <link rel="stylesheet" href="/public/static/assets/css/bootstrap.css">
    <link rel="stylesheet" href="/public/static/assets/css/xenon-core.css">
    <link rel="stylesheet" href="/public/static/assets/css/xenon-forms.css">
    <link rel="stylesheet" href="/public/static/assets/css/xenon-components.css">
    <link rel="stylesheet" href="/public/static/assets/css/xenon-skins.css">
    <link rel="stylesheet" href="/public/static/assets/css/custom.css">

    <script src="/public/static/assets/js/jquery-1.11.1.min.js"></script>


    <!--old  上-->


    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
    <script src="/public/static/assets/js/html5shiv.min.js"></script>
    <script src="/public/static/assets/js/respond.min.js"></script>
    <![endif]-->

    <link rel="stylesheet" href="/public/static/assets/css/fonts/elusive/css/elusive.css">
    <link rel="stylesheet" href="/public/static/assets1/css/layui.css">
    <link rel="stylesheet" href="/public/static/assets1/css/view.css"/>
    <script src="/public/static/assets1/layui.all.js"></script>

</head>
<style>
    .pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
        background-color: #1E9FFF !important;
        border-color: #1E9FFF !important;
    }
</style>
<body data-type="index">

<div class="tpl-page-container">

<!-- Responsive Table -->
<div class="row">
    <div class="col-md-12">

        <div class="panel panel-default">
            <div class="panel-heading">
              
               <div class="caption font-green bold">
                   开通记录
       		  </div>

            </div>
            <div class="panel-body">
                <div style="text-align: center">
                    <form class="validate" method="get" action="{:url('user/xlog')}">
                       操作日期 <br><input class="form-control layui-input"  type="date" name="start" >-<input type="date" name="end" class="form-control" >
                        <?php if(session('power')=='0'){?>
                        <span class="layui-clear" style="margin-bottom: 10px;display: block"></span>
                        <input placeholder="&nbsp;代理账户关键词" type="text" name="user" class="form-control layui-input" >
                        <?php }?>
                        <span class="layui-clear" style="margin-bottom: 10px;display: block"></span>
                        <input placeholder="&nbsp;用户账户关键词" type="text" name="vip" class="form-control layui-input" >
                        <span class="layui-clear" style="margin-bottom: 10px;display: block"></span>
                        <select name="day" class="form-control layui-input">
                            <option value=""}>所有</option>
                            <option value="0.5"}>七天</option>
                             <option value="1.5"}>一个月</option>
                             <option value="2.5"}>三个月</option>
                             <option value="7"}>一年</option>
                             <option value="11"}>永久</option>
                        </select>
                        <button type="submit" class="layui-btn layui-btn-danger pull-left" style="height: 38px;margin-top: 7px;">搜索</button>
                    </form>

                </div>
                <span class="layui-clear" style="margin-bottom: 10px;display: block"></span>

                <div class="table-responsive" data-pattern="priority-columns" data-focus-btn-icon="fa-asterisk"
                     data-sticky-table-header="true" data-add-display-all-btn="true" data-add-focus-btn="true" style="border: none;">
                    <table cellspacing="0" class="layui-table">
                        <thead>
                        <tr>

                            <th>充值代理</th>
                            <th>操作时间</th>
                            <th>充值人</th>
                            <th>花费金额</th>
                            <th>总充值天数</th>


                        </tr>
                        </thead>
                        <tbody>
                        {volist name="list" id="vo"}
                        <tr>

                            <td>{:gui($vo.uid)}</td>

                            <td>{$vo.ctime|date="Y-m-d H:i:s",###}</td>
                            <td>{:gui($vo.cid)}</td>
                            <td>{$vo.money}</td>
                            <td><?php if($vo['day']=='all'){echo '永久';}else{
                            echo $vo['day'];
                            }?></td>


                        </tr>
                        {/volist}
                        </tbody>
                    </table>
                    {$list->render()}
                </div>

            </div>


        </div>

    </div>


</div>
</div>
</body>

</html>
