studentsispslist.php 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. <div class="main-content-inner">
  2. <ul class="clearfix main-content-inner-ul">
  3. <li class="pull-left">
  4. <button onclick='location.href="<?php echo $this->createUrl("print/index",array('type'=>'wp'));?>"' class="button button_normal button_group button_arrow " data-button="red">打印试卷</button>
  5. <img src="/images/line.jpg" style="height:45px;" />
  6. </li>
  7. <li class="pull-left">
  8. <button onclick='location.href="<?php echo $this->createUrl("print/sub_index",array('type'=>'wtb'));?>"' class="button button_normal button_group button_arrow" data-button="red">下载错题本</button>
  9. <img src="/images/line.jpg" style="height:45px;" />
  10. </li>
  11. <li class="pull-left">
  12. <button onclick='location.href="<?php echo $this->createUrl("print/sub_index",array('type'=>'isp'));?>"' class="button button_normal button_group button_arrow button_active" data-button="red">下载个性化学习方案</button>
  13. <img src="/images/line.jpg" style="height:45px;" />
  14. </li>
  15. <li class="pull-left">
  16. <button onclick='location.href="<?php echo $this->createUrl("print/sub_index",array('type'=>'studytrend'));?>"' class="button button_normal button_group button_arrow" data-button="red">下载个性化学习宝</button>
  17. <img src="/images/line.jpg" style="height:45px;" />
  18. </li>
  19. <!--<li class="pull-left">
  20. <button onclick='location.href="<?php echo $this->createUrl("vacationhomework/classes?type=vh");?>"' class="button button_normal button_group button_arrow" data-button="red">下载暑假作业</button>
  21. <img src="/images/line.jpg" style="height:45px;" />
  22. </li>-->
  23. <li class="pull-left">
  24. <button onclick='location.href="<?php echo $this->createUrl("export/index");?>"' class="button button_normal button_group button_arrow" data-button="red">导出报告</button>
  25. <img src="/images/line.jpg" style="height:45px;" />
  26. </li>
  27. <li class="pull-left">
  28. <button onclick='location.href="<?php echo $this->createUrl("upload/index");?>"' class="button button_normal button_group button_arrow" data-button="red">上传试卷</button>
  29. <img src="/images/line.jpg" style="height:45px;" />
  30. </li>
  31. </ul>
  32. <div class="page-content">
  33. <div class="row" style="margin:0px">
  34. <div class="col-xs-12 mt15">
  35. <!-- PAGE CONTENT BEGINS -->
  36. <div id="dynamic-table_wrapper" class="dataTables_wrapper form-inline no-footer">
  37. <table id="dynamic-table" class="table table-striped table-bordered table-hover dataTable no-footer DTTT_selectable">
  38. <thead>
  39. <tr>
  40. <th>班级内序号</th>
  41. <th>学号</th>
  42. <th>姓名</th>
  43. <th>状态</th>
  44. <th>操作</th>
  45. </tr>
  46. </thead>
  47. <tbody>
  48. <?php if(!empty($isps["rs"])):foreach($isps["rs"] as $cl):?>
  49. <tr>
  50. <td><?php echo $cl['serial_number'];?></td>
  51. <td><?php echo $cl['userno'];?></td>
  52. <td><?php echo $cl['realname'];?></td>
  53. <td><?php echo $cl['is_checked'] ? "已检查" : "待检查";?></td>
  54. <td>
  55. <a href="<?php echo $this->createUrl('print/ispcheck?planId='. $cl['plan_id']); ?>">
  56. <?php if ($cl['is_checked'] == 0): ?>
  57. <!--<span style="cursor: pointer;" class="label label-sm label-pink arrowed-right">检查</span>-->
  58. <span class="iconfont click-sc addbx" aria-hidden="true" title="检查" >&#xe62d;</span>
  59. <?php else: ?>
  60. <span class="iconfont click-sc addbx" aria-hidden="true" title="已检查" >&#xe688;</span>
  61. <?php endif; ?>
  62. </a>
  63. </td>
  64. </tr>
  65. <?php endforeach;else:?>
  66. <tr><td colspan="5">暂无数据!</td></tr>
  67. <?php endif;?>
  68. </tbody>
  69. </table>
  70. <?php if($isps["pager"]->rowsCount):?>
  71. <div class="row">
  72. <div class="col-xs-6">
  73. &nbsp;
  74. </div>
  75. <div class="col-xs-6">
  76. <div class="dataTables_paginate paging_simple_numbers">
  77. <?php
  78. $this->widget('CLinkPager', array(
  79. 'header' => '',
  80. 'firstPageLabel'=> '首页',
  81. 'lastPageLabel' => '末页',
  82. 'prevPageLabel' => '上一页',
  83. 'nextPageLabel' => '下一页',
  84. 'pages' => $isps["pager"],
  85. 'maxButtonCount'=> 5,
  86. ));
  87. echo '共:'.$isps["pager"]->rowsCount.'条';
  88. ?>
  89. </div>
  90. </div>
  91. </div>
  92. <?php endif;?>
  93. </div>
  94. <!-- PAGE CONTENT ENDS -->
  95. </div>
  96. </div>
  97. </div>
  98. </div>