| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106 |
- <?php include Doo::conf()->SITE_PATH . Doo::conf()->PROTECTED_FOLDER . "viewc//admin-header.php"; ?>
- <div class="mainWrap">
- <?php include Doo::conf()->SITE_PATH . Doo::conf()->PROTECTED_FOLDER . "viewc//admin-leftWrap.php"; ?>
- <div class="mainContent">
- <div class="page-header pageHeader">
- <h3>用户列表
- <div class="input-group fR" style="width:400px;">
- <form method="post" action="<?php echo $data['rootUrl']; ?>m/userinfo" class="form-horizontal" style="display: inherit" onsubmit="return backtourl();" >
- <input type="text" class="form-control" name="search" id="search" placeholder="请输入账户/姓名/身份证后6位号">
- <div class="input-group-btn">
- <!--<a href="" class="btn btn-primary" type="button"><span class="glyphicon glyphicon-search"></span></a>-->
- <button class="btn btn-primary" type="submit"><span class="glyphicon glyphicon-search"></span></button>
- </div>
- </form>
- </div>
- </h3>
- </div>
- <div class="shopContent clearfix">
- <!--<div class="year fL">-->
- <!--<select class="form-control">-->
- <!--<option>年份</option>-->
- <!--<option>2016</option>-->
- <!--<option>2015</option>-->
- <!--<option>2014</option>-->
- <!--<option>2013</option>-->
- <!--</select>-->
- <!--</div>-->
- <!--<div class="month fL">-->
- <!--<select class="form-control">-->
- <!--<option>月份</option>-->
- <!--<option>1月</option>-->
- <!--<option>2月</option>-->
- <!--<option>3月</option>-->
- <!--<option>4月</option>-->
- <!--<option>5月</option>-->
- <!--<option>6月</option>-->
- <!--<option>7月</option>-->
- <!--<option>8月</option>-->
- <!--<option>9月</option>-->
- <!--<option>10月</option>-->
- <!--<option>11月</option>-->
- <!--<option>12月</option>-->
- <!--</select>-->
- <!--</div>-->
- <div class="sort fL">
- <select class="form-control" id="statuschange">
- <option value="id" <?php if( isset($data['status']) && $data['status'] == 'id' ): ?>selected<?php endif; ?>>ID</option>
- <option value="class" <?php if( isset($data['status']) && $data['status'] == 'class' ): ?>selected<?php endif; ?>>课程</option>
- <option value="cost" <?php if( isset($data['status']) && $data['status'] == 'cost' ): ?>selected<?php endif; ?>>消费金额</option>
- </select>
- </div>
- </div>
- <div class="tableContent clearfix">
- <table class="table table-hover">
- <thead>
- <tr>
- <th>ID</th>
- <th>账号</th>
- <th>姓名</th>
- <!--<th>手机号</th>-->
- <!--<th>邮箱</th>-->
- <th>身份证号</th>
- <th>报名课程(门)</th>
- <th>消费总金额(元)</th>
- </tr>
- </thead>
- <?php if( isset($data['userlist']) && !empty($data['userlist']) ): ?>
- <?php foreach($data['userlist'] as $k1=>$v1): ?>
- <tr>
- <td><?php echo $v1['userid']; ?></td>
- <td><?php echo $v1['username']; ?></td>
- <td><?php echo $v1['realname']; ?></td>
- <!--<td><?php echo $v1['mobile']; ?></td>-->
- <!--<td><?php echo $v1['useremail']; ?></td>-->
- <td><?php echo $v1['idcard']; ?></td>
- <td><?php echo $v1['cnum']; ?></td>
- <td>¥<?php echo $v1['allprice']; ?></td>
- </tr>
- <?php endforeach; ?>
- <?php endif; ?>
- </table>
- </div>
- <nav style="padding-top: 10px;padding-left: 10px">
- <?php echo $data['pager']; ?>
- </nav>
- </div>
- </div>
- <script>
- function backtourl(){
- if($('#search').val() == '') {
- alert('搜索框不能为空');
- return false;
- }else{
- return true;
- }
- }
- $(function(){
- $('#statuschange').change(function(){
- window.location.href = '<?php echo $data['rootUrl']; ?>m/userlist/status/' + $(this).val();
- });
- })
- </script>
- </body>
- </html>
|