teach_batch.php 31 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>Document</title>
  6. <style media="print">
  7. @media print {
  8. .Noprint{display:none;}
  9. body {color: #000; background: #fff;font-family:"宋体";}
  10. h1 {color: #000; background: none; }
  11. nav, aside {display: none;}
  12. body, article { width: 100%; margin: 0; padding: 0; }
  13. article a { font-weight: bolder; text-decoration: none; }
  14. article a[href^=http]{display: none;}
  15. @page{margin: 1cm; }
  16. @page {size:B5 portrait;}
  17. @page:left { margin-left: 1cm;}
  18. @page:right { margin-left:1cm;}
  19. @page:right {
  20. @bottom-right {
  21. margin: 10pt 0 30pt 0;
  22. border-top: .25pt solid #666;
  23. content: '33';
  24. font-size: 9pt;
  25. }
  26. }
  27. }
  28. </style>
  29. <style type="text/css">
  30. *{margin: 0;padding: 0;}
  31. body{font-family: '微软雅黑';color:#000;margin: 8px;font-size: 10px;}
  32. .fl{float: left;}
  33. .fr{float: right;}
  34. .tac{text-align: center !important;}
  35. .tal{text-align: left !important;}
  36. .fzxl{font-size: 14px;}
  37. .fzl{font-size: 12px;}
  38. .fzm{font-size: 10px;}
  39. .fzs{font-size: 8px;}
  40. .gray-font{color: #696969;}
  41. .clearfix:after {content: "."; display: block; height:0; clear:both; visibility: hidden;}
  42. .clearfix {*zoom:1; }
  43. .main-con{width: 900px;border: 1px solid #000;margin: auto;}
  44. .tec-title{font-size: 14px;line-height: 20px;margin: 0 40px;}
  45. .tec-lis{margin: 0 26px;}
  46. .tl-tit{margin: 6px 0;}
  47. img{vertical-align: middle;}
  48. ul li{list-style: none;}
  49. table{border: 1px solid #C4C4C4;border-bottom: none;margin: auto;border-right: none;}
  50. td{border-right: 1px solid #C4C4C4;border-bottom: 1px solid #C4C4C4;}
  51. /* td:last-child,tr:last-child{border-right: none;} */
  52. .class-analyze-detail,.cad-main-tables,.knowledge-hasget-count,
  53. .knowledge-counts{width: 100%;margin-top: 6px;}
  54. .cad-main-tables td{padding: 2px;width: 33.33%;}
  55. .cmt-tab-lis{width: 24.4%;margin-right: .82%;font-size: 8px;}
  56. .cad-main-tables table:last-child{margin-right: 0;}
  57. .knowledge-hasget-count td{height: 22px;text-align: center}
  58. .knowledge-hasget-count th{text-align: center;font-weight: normal; border:1px solid #ccc;background: #eee;border-left: none;border-top: none;}
  59. .test-point-name{text-indent: 4px;width:100px;}
  60. .test-point-name,.sel-theme-ser{text-align: left;}
  61. .sel-theme-ser > span{display: inline-block;margin: 1px;width: 16px;height: 16px;line-height: 16px;font-size: 8px;/*border: 1px solid #C0C0C2;background: #FAFAFA;border-radius: 50%;*/}
  62. .knowledge-counts td{padding: 4px 0;}
  63. .knowledge-counts th{background: #eee;border:1px solid #ccc;}
  64. .knowledge-counts tr td:nth-child(2){border-left:0;}
  65. /*.knowledge-counts tr td:nth-child(1){border-right:0;}*/
  66. .knowledge-counts tr th:nth-child(2){border-left:0;}
  67. .knowledge-counts tr th:nth-child(1){border-right:0;}
  68. .sel-theme-ser{width: 25%;}
  69. .them-apecial-style{position: relative;margin-top: 6px;}
  70. .cad-main-tables{margin: 6px auto;}
  71. .tsd-lis-detail{padding: 0 4px 0 2px;border-right: 1px solid #D6D6D7;}
  72. .tsd-lis-detail:last-child{border: none;}
  73. <?php if(!($subjectId == 8 && !$isThird)):?>
  74. /*.theme-detail-msg p,.answer-explain-detail p,.ltc-case-answer p{display: inline;}*/
  75. <?php endif;?>
  76. .lis-four{width: 23%;}
  77. .lis-two{width: 44%;}
  78. .lis-one{width: 88%;}
  79. .lis-one p{display: inline;}
  80. .answer li{margin: 4px 0;}
  81. .fontBold {font-weight: bold;}
  82. .stars{width: 8px;}
  83. .tit-white-bg{position: relative;height: 20px;background: #fff;}
  84. .class-score-rate{width:66px;}
  85. .chart-scale{top:38px!important;}
  86. .nice-percent{margin:10px 0;}
  87. .nice-percent label{width:auto!important;}
  88. .chart-row.weak-knowledge{height:190px!important;}
  89. <?php if($subjectId == 8):?>
  90. .theme-detail-msg img{max-height: 12px}
  91. <?php endif;?>
  92. </style>
  93. <link rel="stylesheet" type="text/css" href="<?php echo $imgUrl;?>/css/teaching/pdf.css">
  94. <style>
  95. .analysis-imgs img{margin-right:2%;margin-bottom:10px;}
  96. .analysis-imgs img:nth-child(2n){margin-right:0;}
  97. .low-point{width:100px;}
  98. .font-bold{font-weight:bold}
  99. .topic-num{vertical-align: top;}
  100. .aed-answer-msg,.aed-answer-explain{word-break: break-word;}
  101. .tec-lis .little-themes-con img{
  102. height: auto !important;
  103. }
  104. </style>
  105. </head>
  106. <body class="no-skin">
  107. <div class="shade"></div>
  108. <p class="tec-title tac font-bold"><?php //echo getSubjectName($subjectId);?><?php echo $examInfo['exam_name']; ?>-<?php echo $examInfo['class_name'] ?>-教师讲案</p>
  109. <div class="tec-lis">
  110. <p class="tl-tit fzl font-bold">一、班级情况分析</p>
  111. <table cellpadding="0" cellspacing="0" class="knowledge-hasget-count tac">
  112. <thead>
  113. <tr>
  114. <th></th>
  115. <th>排名</th>
  116. <th>排名变化</th>
  117. <th>平均分</th>
  118. <th>得分率</th>
  119. <th>优秀率</th>
  120. <th>合格率</th>
  121. <th>低分率</th>
  122. <th>考试人数</th>
  123. <th>缺考人数</th>
  124. </tr>
  125. </thead>
  126. <tbody>
  127. <?php $gradeAnaly = isset($classAnalyData['grade'])?$classAnalyData['grade']:array();?>
  128. <?php $classAnaly = isset($classAnalyData['class'])?$classAnalyData['class']:array();?>
  129. <?php if($classAnaly['class_num'] > 1):?>
  130. <tr>
  131. <td>年级</td>
  132. <td>/</td>
  133. <td>/</td>
  134. <td><?php echo isset($gradeAnaly['avg_score'])?$gradeAnaly['avg_score']:0;?></td>
  135. <td><?php echo isset($gradeAnaly['score_rate'])?$gradeAnaly['score_rate']:0;?>%</td>
  136. <td><?php echo isset($gradeAnaly['fine_rate'])?$gradeAnaly['fine_rate']:0;?>%</td>
  137. <td><?php echo isset($gradeAnaly['pass_rate'])?$gradeAnaly['pass_rate']:0;?>%</td>
  138. <td><?php echo isset($gradeAnaly['low_rate'])?$gradeAnaly['low_rate']:0;?>%</td>
  139. <td><?php echo isset($gradeAnaly['exam_person'])?$gradeAnaly['exam_person']:0;?></td>
  140. <td><?php echo isset($gradeAnaly['absent_person'])?$gradeAnaly['absent_person']:0;?></td>
  141. </tr>
  142. <?php endif;?>
  143. <tr>
  144. <td><?php echo $examInfo['class_name'];?></td>
  145. <td><?php echo isset($classAnaly['order'])?$classAnaly['order']:0;?></td>
  146. <td><?php
  147. if(isset($classAnaly['order_increase'])){
  148. if($classAnaly['order_increase'] > 0){
  149. echo '+'.$classAnaly['order_increase'].'↑';
  150. }elseif($classAnaly['order_increase'] < 0){
  151. echo $classAnaly['order_increase'].'↓';
  152. }else{
  153. echo 0;
  154. }
  155. }else{
  156. echo 0;
  157. }
  158. ?></td>
  159. <td><?php echo isset($classAnaly['avg_score'])?$classAnaly['avg_score']:0;?></td>
  160. <td>
  161. <?php
  162. if(isset($classAnaly['score_rate'])){
  163. if($classAnaly['rate_increase'] > 0){
  164. echo $classAnaly['score_rate'].'%↑';
  165. }elseif($classAnaly['rate_increase'] < 0){
  166. echo $classAnaly['score_rate'].'%↓';
  167. }else{
  168. echo $classAnaly['score_rate'].'%';
  169. }
  170. }else{
  171. echo '0%';
  172. }
  173. ?>
  174. </td>
  175. <td>
  176. <?php
  177. if(isset($classAnaly['fine_rate'])){
  178. if($classAnaly['fine_rate_increase'] > 0){
  179. echo $classAnaly['fine_rate'].'%↑';
  180. }elseif($classAnaly['fine_rate_increase'] < 0){
  181. echo $classAnaly['fine_rate'].'%↓';
  182. }else{
  183. echo $classAnaly['fine_rate'].'%';
  184. }
  185. }else{
  186. echo '0%';
  187. }
  188. ?>
  189. </td>
  190. <td><?php echo isset($classAnaly['pass_rate'])?$classAnaly['pass_rate']:0;?>%</td>
  191. <td><?php echo isset($classAnaly['low_rate'])?$classAnaly['low_rate']:0;?>%</td>
  192. <td><?php echo isset($classAnaly['exam_person'])?$classAnaly['exam_person']:0;?></td>
  193. <td><?php echo isset($classAnaly['absent_person'])?$classAnaly['absent_person']:0;?></td>
  194. </tr>
  195. </tbody>
  196. </table>
  197. <div class="cad-main-tables clearfix">
  198. <table cellpadding="0" cellspacing="0" class="cmt-tab-lis tac fl">
  199. <tr>
  200. <td colspan="3" class="fzm">大幅进步</td>
  201. </tr>
  202. <tr class="gray-font">
  203. <td>姓名</td>
  204. <td>班级排名</td>
  205. <td>排名提升</td>
  206. </tr>
  207. <?php if (isset($largeOrderData['increase_stu'])): ?>
  208. <?php foreach ($largeOrderData['increase_stu'] as $key => $stuId):
  209. $stu_order = isset($largeOrderData['stu_order'][$stuId])?$largeOrderData['stu_order'][$stuId]:'';
  210. ?>
  211. <tr>
  212. <td><?php echo isset($largeOrderData['stu_name'][$stuId])?$largeOrderData['stu_name'][$stuId]:''; ?></td>
  213. <td><?php echo $stu_order; ?></td>
  214. <td>
  215. <?php
  216. if(isset($largeOrderData['stu_diff_order'][$stuId]) && $largeOrderData['stu_diff_order'][$stuId] > 0){
  217. echo abs($largeOrderData['stu_diff_order'][$stuId]);
  218. }else{
  219. echo $stu_order?'-':'&nbsp;';
  220. }
  221. ?>
  222. </td>
  223. </tr>
  224. <?php endforeach; ?>
  225. <?php endif; ?>
  226. <?php for($i = 0;$i < (5-count($largeOrderData['increase_stu']));$i++):?>
  227. <tr><td>&nbsp;&nbsp;&nbsp;&nbsp;</td><td>&nbsp;&nbsp;&nbsp;&nbsp;</td><td>&nbsp;&nbsp;&nbsp;&nbsp;</td></tr>
  228. <?php endfor;?>
  229. </table>
  230. <table cellpadding="0" cellspacing="0" class="cmt-tab-lis tac fl">
  231. <tr>
  232. <td colspan="3" class="fzm">大幅退步</td>
  233. </tr>
  234. <tr class="gray-font">
  235. <td>姓名</td>
  236. <td>班级排名</td>
  237. <td>排名下降</td>
  238. </tr>
  239. <?php if (isset($largeOrderData['reduce_stu'])): ?>
  240. <?php foreach ($largeOrderData['reduce_stu'] as $key => $stuId): ?>
  241. <tr>
  242. <td><?php echo isset($largeOrderData['stu_name'][$stuId])?$largeOrderData['stu_name'][$stuId]:''; ?></td>
  243. <td><?php echo isset($largeOrderData['stu_order'][$stuId])?$largeOrderData['stu_order'][$stuId]:0; ?></td>
  244. <td>
  245. <?php
  246. if(isset($largeOrderData['stu_diff_order'][$stuId]) && abs($largeOrderData['stu_diff_order'][$stuId]) > 0){
  247. echo abs($largeOrderData['stu_diff_order'][$stuId]);
  248. }else{
  249. echo '-';
  250. }
  251. ?>
  252. </td>
  253. </tr>
  254. <?php endforeach; ?>
  255. <?php endif; ?>
  256. <?php for($i = 0;$i < (5-count($largeOrderData['reduce_stu']));$i++):?>
  257. <tr><td>&nbsp;&nbsp;&nbsp;&nbsp;</td><td>&nbsp;&nbsp;&nbsp;&nbsp;</td><td>&nbsp;&nbsp;&nbsp;&nbsp;</td></tr>
  258. <?php endfor;?>
  259. </table>
  260. <table cellpadding="0" cellspacing="0" class="cmt-tab-lis tac fl">
  261. <tr>
  262. <td colspan="3" class="fzm">班级前五名</td>
  263. </tr>
  264. <tr class="gray-font">
  265. <td>姓名</td>
  266. <td>班级排名</td>
  267. </tr>
  268. <?php if (isset($largeOrderData['font_five'])): ?>
  269. <?php foreach ($largeOrderData['font_five'] as $key => $stuId): ?>
  270. <tr>
  271. <td><?php echo isset($largeOrderData['stu_name'][$stuId])?$largeOrderData['stu_name'][$stuId]:''; ?></td>
  272. <td><?php echo isset($largeOrderData['stu_order'][$stuId])?$largeOrderData['stu_order'][$stuId]:0; ?></td>
  273. </tr>
  274. <?php endforeach; ?>
  275. <?php endif; ?>
  276. <?php for($i = 0;$i < (5-count($largeOrderData['font_five']));$i++):?>
  277. <tr><td>&nbsp;&nbsp;&nbsp;&nbsp;</td><td>&nbsp;&nbsp;&nbsp;&nbsp;</td></tr>
  278. <?php endfor;?>
  279. </table>
  280. <table cellpadding="0" cellspacing="0" class="cmt-tab-lis tac fl">
  281. <tr>
  282. <td colspan="3" class="fzm">班级后五名</td>
  283. </tr>
  284. <tr class="gray-font">
  285. <td>姓名</td>
  286. <td>班级排名</td>
  287. </tr>
  288. <?php if (isset($largeOrderData['back_five'])): ?>
  289. <?php foreach ($largeOrderData['back_five'] as $key => $stuId): ?>
  290. <tr>
  291. <td><?php echo isset($largeOrderData['stu_name'][$stuId])?$largeOrderData['stu_name'][$stuId]:''; ?></td>
  292. <td><?php echo isset($largeOrderData['stu_order'][$stuId])?$largeOrderData['stu_order'][$stuId]:0; ?></td>
  293. </tr>
  294. <?php endforeach; ?>
  295. <?php endif; ?>
  296. <?php for($i = 0;$i < (5-count($largeOrderData['back_five']));$i++):?>
  297. <tr><td>&nbsp;&nbsp;&nbsp;&nbsp;</td><td>&nbsp;&nbsp;&nbsp;&nbsp;</td></tr>
  298. <?php endfor;?>
  299. </table>
  300. </div>
  301. </div>
  302. <div class="tec-lis">
  303. <p class="tl-tit fzl font-bold">二、考试情况分析</p>
  304. <div class="chart-row weak-knowledge">
  305. <div>
  306. <div class="font10 nice-percent"><label>(1)各题型年级、班级得分率对比图</label><span>班级</span><span class="percent-over">年级</span></div>
  307. </div>
  308. <div class="chart-scale font10">
  309. <span>1</span>
  310. <span>0.5</span>
  311. <span>0</span>
  312. </div>
  313. <ul class="chart font8 clearfix">
  314. <?php if(isset($typeMasterData['type_name_arr'])):?>
  315. <?php foreach ($typeMasterData['class_rate'] as $type => $typeName):?>
  316. <li class="clearfix mt10 fl">
  317. <div class="clearfix">
  318. <div class="class-progress fl" style="position:relative;width:15px; height: 100%;background-color: #595959;">
  319. <p class="class-progress fl" style="position:absolute;left:-1px;top:-2px;border:1px solid #fff;width:100%; background-color:#fff;height: <?php echo isset($typeMasterData['class_rate'][$type])?(100 - $typeMasterData['class_rate'][$type]):0;?>%"><span><?php echo isset($typeMasterData['class_rate'][$type])?(int)$typeMasterData['class_rate'][$type]/100:0;?></span></p>
  320. </div>
  321. <div class="class-progress fl" style="position:relative;width:15px; height: 100%;background-color: #b8b8b8;">
  322. <p class="self-progress fl" style="position:absolute;right:-2px;top:-2px;width:100%;border:1px solid #fff;background-color:#fff;height: <?php echo isset($typeMasterData['grade_rate'][$type])?(100 - $typeMasterData['grade_rate'][$type]):0;?>%"><span><?php echo isset($typeMasterData['grade_rate'][$type])?(int)$typeMasterData['grade_rate'][$type]/100:0;?></span></p>
  323. </div>
  324. </div>
  325. <label><?php echo isset($typeMasterData['type_name_arr'][$type])?$typeMasterData['type_name_arr'][$type]:'';?></label>
  326. </li>
  327. <?php endforeach;?>
  328. <?php endif;?>
  329. </ul>
  330. </div>
  331. <?php if($subjectId == 8):?><!-- 英语-->
  332. <!-- <p class="tl-tit fzl">(2)题型得分分布图</p>-->
  333. <!-- <div class="clearfix analysis-imgs">-->
  334. <!-- --><?php //foreach ($typeRateImg as $k => $img):?>
  335. <!-- <img src="--><?php //echo $img;?><!--" class="" alt="">-->
  336. <!-- --><?php //endforeach;?>
  337. <!-- </div>-->
  338. <?php else:?><!-- 语文和其它-->
  339. <!--语文表格-->
  340. <table cellpadding="0" cellspacing="0" class="knowledge-counts tac">
  341. <thead>
  342. <tr>
  343. <td style="width:100px;">题型</td>
  344. <td class="sel-theme-ser tac">对应题号</td>
  345. <td class="class-score-rate">班级得分率</td>
  346. <td class="class-score-rate">年级得分率</td>
  347. </tr>
  348. </thead>
  349. <?php if($topicTypeRelNo):?>
  350. <?php foreach($topicTypeRelNo as $type => $classRate):?>
  351. <?php
  352. $t_no = isset($topicTypeRelNo[$type])?$topicTypeRelNo[$type]:array();
  353. $is_show = true;
  354. ?>
  355. <?php foreach($t_no as $tId => $no):?>
  356. <tr>
  357. <?php if($is_show):$is_show = false;?>
  358. <td class="test-point-name tac" rowspan="<?php echo count($t_no);?>"><?php echo isset($typeMasterData['type_name_arr'][$type])?$typeMasterData['type_name_arr'][$type]:'';?></td>
  359. <?php endif; ?>
  360. <td><?php echo $no;?></td>
  361. <td><?php echo isset($typeMasterData['topic_class_rate'][$tId])?$typeMasterData['topic_class_rate'][$tId]:0;?>%</td>
  362. <td><?php echo isset($typeMasterData['topic_grade_rate'][$tId])?$typeMasterData['topic_grade_rate'][$tId]:0;?>%</td>
  363. </tr>
  364. <?php endforeach;?>
  365. <?php endforeach;?>
  366. <?php endif;?>
  367. </table>
  368. <?php endif;?>
  369. </div>
  370. <?php if($subjectId == 8):?>
  371. <?php if(isset($methodCount['class_rate']) && $methodCount['class_rate']):?>
  372. <div class="tec-lis">
  373. <p class="tl-tit fzl font-bold">三、考点掌握统计</p>
  374. <p class="tl-tit fzl">(1)薄弱考点统计</p>
  375. <table cellpadding="0" cellspacing="0" class="knowledge-counts tac">
  376. <thead>
  377. <tr>
  378. <td class="test-point-name tac">题型</td>
  379. <td class="low-point tac">考点</td>
  380. <td class="test-get-level">考点掌握水平</td>
  381. <td class="class-score-rate">班级得分率</td>
  382. <td class="class-score-rate">年级得分率</td>
  383. <td class="error-counts">答错人数</td>
  384. <td class="sel-theme-ser tac">对应题号</td>
  385. </tr>
  386. </thead>
  387. <?php foreach ($methodCount['type_rel_method'] as $type => $methodIds):?>
  388. <?php $isFirst = true;?>
  389. <?php foreach ($methodIds as $mId):?>
  390. <tr>
  391. <?php if($isFirst): $isFirst = false;?>
  392. <td class="test-point-name tac" rowspan="<?php echo count($methodIds);?>"><?php echo isset($methodCount['type_name_arr'][$type])?$methodCount['type_name_arr'][$type]:'';?></td>
  393. <?php endif;?>
  394. <td class="class-score-rate">
  395. <div><?php echo isset($methodName[$mId])?$methodName[$mId]:'';?></div>
  396. </td>
  397. <td class="test-get-level">
  398. <?php $statNum = isset($methodCount['master_degree'][$mId])?$methodCount['master_degree'][$mId]:0;
  399. ?>
  400. <?php for($i = 0;$i < 5;$i++){
  401. if($i < $statNum){
  402. echo '<img src="'.$imgUrl.'/images/star_gray.png" alt="" class="stars">';
  403. }else{
  404. echo '<img src="'.$imgUrl.'/images/star_white.png" alt="" class="stars">';
  405. }
  406. }?>
  407. </td>
  408. <td class="class-score-rate"><?php echo isset($methodCount['class_rate'][$mId])?$methodCount['class_rate'][$mId]:0;?>%</td>
  409. <td class="class-score-rate"><?php echo isset($methodCount['grade_rate'][$mId])?$methodCount['grade_rate'][$mId]:0;?>%</td>
  410. <td class="error-counts"><?php echo isset($methodCount['wrong_num'][$mId])?$methodCount['wrong_num'][$mId]:0;?></td>
  411. <td class="sel-theme-ser">
  412. <?php if(isset($methodCount['method_rel_no'][$mId])):?>
  413. <?php foreach ($methodCount['method_rel_no'][$mId] as $no):?>
  414. <span class="sts-num tac"><?php echo $no;?></span>
  415. <?php endforeach;?>
  416. <?php endif;?>
  417. </td>
  418. </tr>
  419. <?php endforeach;?>
  420. <?php endforeach;?>
  421. </table>
  422. <p class="tl-tit fzl">(2)薄弱考点掌握较差学生名单</p>
  423. <table cellpadding="0" cellspacing="0" class="knowledge-counts">
  424. <thead>
  425. <tr>
  426. <td class="test-point-name tac">考点</td>
  427. <td class=" tac">掌握较差学生名单(掌握程度低于40%)</td>
  428. </tr>
  429. </thead>
  430. <?php if(isset($methodCount['diff_stu']) && $methodCount['diff_stu']):?>
  431. <?php foreach ($methodCount['diff_stu'] as $mId => $stuName):?>
  432. <tr>
  433. <td class="test-point-name"><?php echo isset($methodName[$mId])?$methodName[$mId]:'';?></td>
  434. <td>
  435. <?php echo $stuName;?>
  436. </td>
  437. </tr>
  438. <?php endforeach;?>
  439. <?php endif;?>
  440. </table>
  441. <p class="tl-tit fzl">(3)班级排名后25%学生的薄弱考点</p>
  442. <table cellpadding="0" cellspacing="0" class="knowledge-counts">
  443. <thead>
  444. <tr>
  445. <td class="test-point-name tac">姓名</td>
  446. <td class=" tac">掌握考点(掌握程度低于40%)</td>
  447. </tr>
  448. </thead>
  449. <?php if(isset($methodCount['class_diff_stu']) && $methodCount['class_diff_stu']):?>
  450. <?php foreach ($methodCount['class_diff_stu'] as $stuId => $methodNameStr):?>
  451. <tr>
  452. <td class="test-point-name"><?php echo isset($sutName[$stuId])?$sutName[$stuId]:'';?></td>
  453. <td>
  454. <?php echo $methodNameStr;?>
  455. </td>
  456. </tr>
  457. <?php endforeach;?>
  458. <?php endif;?>
  459. </table>
  460. <?php if($methodRateUrl):?>
  461. <p class="tl-tit fzl">(4)考点掌握情况变化趋势</p>
  462. <div>
  463. <img src="<?php echo $methodRateUrl;?>" alt="">
  464. </div>
  465. <?php endif;?>
  466. </div>
  467. <?php endif;?>
  468. <?php else:?>
  469. <div class="tec-lis">
  470. <p class="tl-tit fzl font-bold">三、题型掌握情况</p>
  471. <table cellpadding="0" cellspacing="0" class="knowledge-counts tac">
  472. <?php $topicType = array('1'=>'选择题','11'=>'不定项选择题','5'=>'填空题','7'=>'解答题','17'=>'选做解答题');?>
  473. <thead>
  474. <td class="test-point-name tac">题型</td>
  475. <td class="test-get-level">掌握水平</td>
  476. <td class="class-score-rate">年级得分率</td>
  477. <td class="class-score-rate">班级得分率</td>
  478. <td class="error-counts">答错人数</td>
  479. <td class="sel-theme-ser tac">对应题号</td>
  480. </thead>
  481. <?php if(isset($typeMasterData['class_rate'])):?>
  482. <?php foreach($typeMasterData['type_name_arr'] as $type => $typeName):?>
  483. <?php $classRate = isset($typeMasterData['class_rate'])?$typeMasterData['class_rate']:array();?>
  484. <tr>
  485. <td class="test-point-name tac"><?php echo isset($typeMasterData['type_name_arr'][$type])?$typeMasterData['type_name_arr'][$type]:'';?></td>
  486. <td class="test-get-level">
  487. <?php
  488. $statNum = isset($typeMasterData['type_master_degree'][$type])?$typeMasterData['type_master_degree'][$type]:0;
  489. ?>
  490. <?php for($i = 0;$i < 5;$i++){
  491. if($i < $statNum){
  492. echo '<img src="'.$imgUrl.'/images/star_gray.png" alt="" class="stars">';
  493. }else{
  494. echo '<img src="'.$imgUrl.'/images/star_white.png" alt="" class="stars">';
  495. }
  496. }?>
  497. </td>
  498. <td class="class-score-rate"><?php echo isset($typeMasterData['grade_rate'][$type])?$typeMasterData['grade_rate'][$type]:0;?>%</td>
  499. <td class="class-score-rate"><?php echo isset($typeMasterData['class_rate'][$type])?$typeMasterData['class_rate'][$type]:0;?>%</td>
  500. <td class="error-counts"><?php echo isset($typeMasterData['stu_type_wrong'][$type])?$typeMasterData['stu_type_wrong'][$type]:0;?></td>
  501. <td class="sel-theme-ser">
  502. <?php foreach($topicTypeRelNo[$type] as $no):?>
  503. <span class="sts-num tac"><?php echo $no;?></span>
  504. <?php endforeach;?>
  505. </td>
  506. </tr>
  507. <?php endforeach;?>
  508. <?php endif;?>
  509. </table>
  510. </div>
  511. <?php endif;?>
  512. <div class="tec-lis">
  513. <p class="tl-tit fzl font-bold"><?php echo ($subjectId == 8)?'三':'四';?>、试卷讲评</p>
  514. <?php foreach($paperTopicNo as $topicId => $no):?>
  515. <?php $topicInfo = isset($topicDetails[$topicId])?$topicDetails[$topicId]:array();?>
  516. <div class="little-themes-con">
  517. <div class="them-apecial-style clearfix">
  518. <div class="tit-white-bg fl">
  519. <div class="tas-tit-stl fl font-bold">第<?php echo $no;?>题【<?php echo $topicId;?>】</div>
  520. <div class="quadrangle-right fl"></div>
  521. </div>
  522. <div class="tas-score-detail">
  523. <span class="tsd-lis-detail font-bold">班级得分率:<?php echo isset($topicRateStu['class_rate'][$topicId])?$topicRateStu['class_rate'][$topicId]:0;?>%</span>
  524. <span class="tsd-lis-detail font-bold">年级得分率:<?php echo isset($topicRateStu['grade_rate'][$topicId])?$topicRateStu['grade_rate'][$topicId]:0;?>%</span>
  525. <span class="tsd-lis-detail font-bold">答对:<?php echo isset($topicRateStu['right_stu'][$topicId])?$topicRateStu['right_stu'][$topicId]:0;?>人</span>
  526. <span class="tsd-lis-detail font-bold">答错:<?php echo isset($topicRateStu['wrong_stu'][$topicId])?$topicRateStu['wrong_stu'][$topicId]:0;?>人</span>
  527. </div>
  528. </div>
  529. <div class="theme-detail-msg">
  530. <?php if(isset($topicRateStu['rate_less_70']) && isset($topicRateStu['rate_less_70'][$topicId]) && $topicRateStu['rate_less_70'][$topicId]):?>
  531. <p class="font-bold"><?php echo inArray($topicId,$topicRateStu['is_choice_topic'])?'答错学生:':'得分率低于70%的学生:';?><?php echo $topicRateStu['rate_less_70'][$topicId];?></p>
  532. <?php endif;?>
  533. </div>
  534. <br>
  535. <div class="theme-detail-msg">
  536. <?php echo $topicInfo['queBody'];?>
  537. </div>
  538. <?php if(isset($topicInfo['is_large_topic']) && $topicInfo['is_large_topic']):?>
  539. <!-- 小题-->
  540. <?php if(isset($topicInfo['slave']) && $topicInfo['slave']):?>
  541. <?php foreach ($topicInfo['slave'] as $topic_info):?>
  542. <?php if($topic_info['queBody']):?>
  543. <div class="font10"><span class="topic-num"><?php echo isset($smallTopicNo[$topic_info['topic_slave_id']])?$smallTopicNo[$topic_info['topic_slave_id']].'.':''?></span><?php echo $topic_info['queBody'];?></div>
  544. <?php endif;?>
  545. <?php if(($topic_info['type'] == 1 || $topic_info['type'] == 11) && isset($topic_info['options']) && $topic_info['options']):?>
  546. <ul class="answer clearfix font10" style="margin-right:45px">
  547. <?php echo isset($topic_info['options'])?$topic_info['options']:'';?>
  548. </ul>
  549. <?php endif;?>
  550. <?php endforeach;?>
  551. <div class="answer-explain-detail clearfix">
  552. <div class="aed-answer-msg">【答案】:
  553. <?php foreach($topicInfo['answer'] as $slave_id => $answer):?>
  554. <?php echo (isset($smallTopicNo[$slave_id])?$smallTopicNo[$slave_id]:'').".".$answer." ";?> &nbsp;&nbsp;&nbsp;
  555. <?php endforeach;?>
  556. </div>
  557. <div class="aed-answer-explain">【解析】:<?php echo $topicInfo['analysis']?$topicInfo['analysis']:'略';?></div>
  558. </div>
  559. <?php endif;?>
  560. <?php else:?>
  561. <?php if($topicInfo['type'] == 1 || $topicInfo['type'] == 11):?>
  562. <ul class="answer clearfix font10" style="margin-right:45px">
  563. <?php echo isset($topicInfo['options'])?$topicInfo['options']:'';?>
  564. </ul>
  565. <?php endif;?>
  566. <?php
  567. if(!$topicInfo['answer'] || is_array($topicInfo['answer'])){
  568. $topicInfo['answer'] = "";
  569. }
  570. ?>
  571. <div class="answer-explain-detail clearfix">
  572. <div class="aed-answer-msg">【答案】:<?php echo $topicInfo['answer']?$topicInfo['answer']:'略';?> </div>
  573. <div class="aed-answer-explain">【解析】:<?php echo $topicInfo['analysis']?$topicInfo['analysis']:'略';?></div>
  574. </div>
  575. <?php endif;?>
  576. </div>
  577. <?php endforeach;?>
  578. </div>
  579. </body>
  580. </html>