123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687 |
- <div class="main-content-inner">
- <div class="breadcrumbs" id="breadcrumbs">
- <ul class="clearfix main-content-inner-ul">
-
- </ul>
- </div>
- <div class="page-content">
- <div class="row">
- <div class="col-xs-12">
- <!-- PAGE CONTENT BEGINS -->
- <div id="dynamic-table_wrapper" class="dataTables_wrapper form-inline no-footer">
- <div class="row">
- <form method="get" action="<?php echo $this->createUrl('payment/index');?>">
- <div class="col-xs-10">
- <div class="dataTables_length">
- </div>
- </div>
- </form>
- </div>
-
- <table id="dynamic-table" class="table table-striped table-bordered table-hover dataTable no-footer DTTT_selectable">
- <thead>
- <tr>
- <th>姓名</th>
- <th>语文</th>
- <th>数学</th>
- <th>英语</th>
- <th>物理</th>
- <th>化学</th>
- <th>生物</th>
- <th>政治</th>
- <th>历史</th>
- <th>地理</th>
- <th>班级排名</th>
- <th>年级排名</th>
- </tr>
- </thead>
- <tbody>
- <?php if(!empty($records["rs"])){foreach($records["rs"] as $record){?>
- <tr>
- <td><?php echo $record['realname'];?></td>
- <td><?php echo $record['subject_chinese'];?></td>
- <td><?php echo $record['subject_math'];?></td>
- <td><?php echo $record['subject_english'];?></td>
- <td><?php echo $record['subject_physics'];?></td>
- <td><?php echo $record['subject_chemistry'];?></td>
- <td><?php echo $record['subject_biology'];?></td>
- <td><?php echo $record['subject_politics'];?></td>
- <td><?php echo $record['subject_history'];?></td>
- <td><?php echo $record['subject_geography'];?></td>
- <td><?php echo $record['class_rank'];?></td>
- <td><?php echo $record['grade_rank'];?></td>
- </tr>
- <?php }}else{?>
- <tr><td colspan="12">暂无数据!</td></tr>
- <?php }?>
- </tbody>
- </table>
- <div class="row">
- <div class="col-xs-6">
-
- </div>
- <div class="col-xs-6">
- <div class="dataTables_paginate paging_simple_numbers">
- <?php
- if(!empty($records["pager"])){$this->widget('CLinkPager', array(
- 'header' => '',
- 'firstPageLabel'=> '首页',
- 'lastPageLabel' => '末页',
- 'prevPageLabel' => '上一页',
- 'nextPageLabel' => '下一页',
- 'pages' => $records["pager"],
- 'maxButtonCount'=> 5,
- ));}
- ?>
- </div>
- </div>
- </div>
- </div>
- <!-- PAGE CONTENT ENDS -->
- </div>
- </div>
- </div>
- </div>
|