teaching_back.php 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>Document</title>
  6. <style type="text/css">
  7. .errorMessage{color:red;margin-left:10px;}
  8. .breadcrumb>li{padding:3px 5px;color:#fff; background:#6fb3e0;}
  9. .breadcrumb>li>a{color:#fff!important;}
  10. .li_backgrond_color{background-color: #00CC99!important;}
  11. .li_backgrond_color>a{color:#fff!important;}
  12. .breadcrumb>li+li:before{display:none;}
  13. /*切换选择*/
  14. .tab-con{
  15. position: relative;
  16. height: 30px;
  17. width: 177px;
  18. border-radius: 15px;
  19. }
  20. .has-sel{
  21. width: 31%;
  22. height: 30px;
  23. border-top-left-radius: 15px;
  24. border-bottom-left-radius: 15px;
  25. text-align: center;
  26. line-height: 30px;
  27. }
  28. .sel-opt{
  29. width: 68%;
  30. position: relative;
  31. line-height: 30px;
  32. text-indent: 6px;
  33. cursor: pointer;
  34. }
  35. .sel-opt:after{
  36. content: '';
  37. border-left: 6px solid transparent;
  38. border-right: 6px solid transparent;
  39. border-top: 8px solid #01B677;
  40. position: absolute;
  41. right: 12px;
  42. top: 12px;
  43. }
  44. .points{
  45. position: absolute;
  46. top: -2px;
  47. right: 0;
  48. width: 10px;
  49. height: 10px;
  50. background: #F01516;
  51. border-radius: 50%;
  52. }
  53. .sel-cons{
  54. width: 78%;
  55. position: absolute;
  56. right: 0;
  57. top: 30px;
  58. text-indent: 10px;
  59. display: none;
  60. }
  61. .sc-lis{
  62. line-height: 30px;
  63. cursor: pointer;
  64. }
  65. .sc-lis span{
  66. position: relative;
  67. }
  68. .sc-lis .points{
  69. top: 2px;
  70. right: -16px;
  71. }
  72. .dn{
  73. display: none;
  74. }
  75. .icon-pdf:before { content: "\e618"; }}
  76. .clearfix:after {content: "";display: block; visibility: hidden;height: 0; clear: both;}
  77. .clearfix {zoom: 1;}
  78. .fl { float: left;}
  79. .fr {float: right;}
  80. .bg-hot{background-color: #14ae68;color: #fff;}
  81. .layer{position: fixed;top:0;left: 0;/*display: none;*/}
  82. .layer-shadow{position: absolute;left: 0;top: 0;width:100%;height: 100%; background-color: rgba(0,0,0,.6);}
  83. .layer-content-box{position: absolute;left: 50%;top: 50%; width:500px;transform:translate(-50%,-50%);background-color: #fff;}
  84. .layer-content-box .tips{padding-left: 20px; height: 50px;line-height: 50px;font-size: 14px;}
  85. .layer-content-box .tips em{width:50px;height: 50px;text-align: center;font-size: 34px; cursor: pointer;}
  86. .layer-source .layer-content{padding:30px 0 0 50px;line-height: 30px;}
  87. .layer-content tr{height: 40px;}
  88. .layer-content input{height: 30px;width:300px;}
  89. .layer-btn{margin:30px 0 14px; text-align: center;}
  90. .layer-btn a{display: inline-block; margin:0 10px; line-height: 40px;width:100px;text-align: center;}
  91. .diy_select2, .diy_select_list2 {
  92. border: 1px solid #ccc;
  93. }
  94. </style>
  95. </head>
  96. <body class="no-skin">
  97. <div class="shade"></div>
  98. <div class="main-container" id="main-container">
  99. <script type="text/javascript">
  100. try{ace.settings.check('main-container' , 'fixed')}catch(e){}
  101. </script>
  102. <div class="main-content">
  103. <title>Document</title>
  104. <style media="print">
  105. @media print {
  106. .Noprint{display:none;}
  107. body {color: #000; background: #fff;font-family:"宋体";}
  108. h1 {color: #000; background: none; }
  109. nav, aside {display: none;}
  110. body, article { width: 100%; margin: 0; padding: 0; }
  111. article a { font-weight: bolder; text-decoration: none; }
  112. article a[href^=http]{display: none;}
  113. @page{margin: 1cm; }
  114. @page {size:B5 portrait;}
  115. @page:left { margin-left: 1cm;}
  116. @page:right { margin-left:1cm;}
  117. @page:right {
  118. @bottom-right {
  119. margin: 10pt 0 30pt 0;
  120. border-top: .25pt solid #666;
  121. content: '33';
  122. font-size: 9pt;
  123. }
  124. }
  125. }
  126. </style>
  127. <style type="text/css">
  128. *{margin: 0;padding: 0;}
  129. body{font-family: '微软雅黑';color:#000;margin: 8px;font-size: 10px;}
  130. .fl{float: left;}
  131. .fr{float: right;}
  132. .tac{text-align: center !important;}
  133. .tal{text-align: left !important;}
  134. .fzxl{font-size: 14px;}
  135. .fzl{font-size: 12px;}
  136. .fzm{font-size: 10px;}
  137. .fzs{font-size: 8px;}
  138. /*.gray-font{color: #696969;}*/
  139. .clearfix:after {content: "."; display: block; height:0; clear:both; visibility: hidden;}
  140. .clearfix {*zoom:1; }
  141. .main-con{width: 900px;border: 1px solid #000;margin: auto;}
  142. .tec-title{font-size: 14px;line-height: 20px;margin: 0 40px;}
  143. .tec-lis{margin: 0 26px;}
  144. .tl-tit{margin: 6px 0;}
  145. img{vertical-align: middle;}
  146. ul li{list-style: none;}
  147. table{border: 1px solid #C4C4C4;border-bottom: none;margin: auto;border-right: none;}
  148. td{border-right: 1px solid #C4C4C4;border-bottom: 1px solid #C4C4C4;}
  149. /* td:last-child,tr:last-child{border-right: none;} */
  150. .class-analyze-detail,.cad-main-tables,.knowledge-hasget-count,
  151. .knowledge-counts{width: 100%;margin-top: 6px;}
  152. .class-analyze-detail{font-size: 8px;}
  153. .class-analyze-detail p{margin: 4px;}
  154. .class-analyze-detail tr{width: 25%;}
  155. .cad-main-tables td{padding: 2px;width: 33.33%;}
  156. .cmt-tab-lis{width: 24.4%;margin-right: .82%;font-size: 8px;}
  157. .cad-main-tables table:last-child{margin-right: 0;}
  158. .knowledge-hasget-count td{height: 22px;text-align: center}
  159. .knowledge-hasget-count th{text-align: center;font-weight: normal; border:1px solid #ccc;background: #eee;border-left: none;border-top: none;}
  160. .test-point-name{text-indent: 4px;}
  161. .test-point-name,.sel-theme-ser{text-align: left;}
  162. .sel-theme-ser > span{display: inline-block;margin: 1px;width: 16px;height: 16px;line-height: 16px;border: 1px solid #C0C0C2;background: #FAFAFA;border-radius: 50%;font-size: 8px;}
  163. .knowledge-counts td{padding: 4px 0;}
  164. .knowledge-counts th{background: #eee;border:1px solid #ccc;}
  165. .knowledge-counts tr td:nth-child(2){border-left:0;}
  166. /*.knowledge-counts tr td:nth-child(1){border-right:0;}*/
  167. .knowledge-counts tr th:nth-child(2){border-left:0;}
  168. .knowledge-counts tr th:nth-child(1){border-right:0;}
  169. .test-point-name{width: 20%;}
  170. .sel-theme-ser{width: 25%;}
  171. .them-apecial-style{position: relative;margin-top: 6px;}
  172. .cad-main-tables{margin: 6px auto;}
  173. .tas-tit-stl{
  174. position: relative;
  175. padding: 0 12px;
  176. opacity: 0.85;
  177. height: 18px;
  178. width: 30px;
  179. line-height: 18px;
  180. background: #D8D9D8;
  181. -webkit-transform: skew(-30deg);
  182. -moz-transform: skew(-30deg);
  183. -o-transform: skew(-30deg);
  184. transform: skew(-30deg);
  185. color: #000;
  186. z-index: 100;
  187. }
  188. .tts-msg{background: #D8D9D8;font-size: 10px;color: #000;position: absolute;left: 10px;line-height: 18px;z-index: 200;}
  189. .quadrangle-right{
  190. position: relative;
  191. z-index: 99;
  192. float: left;
  193. width: 20px;
  194. height: 18px;
  195. background: #EDEDED;
  196. -webkit-transform: skew(30deg);
  197. -moz-transform: skew(30deg);
  198. -o-transform: skew(30deg);
  199. transform: skew(30deg);
  200. }
  201. .tas-score-detail{
  202. border-bottom: 1px solid #D9D9D9;
  203. line-height: 18px;
  204. padding: 0 6px;
  205. }
  206. .tsd-lis-detail{padding: 0 4px 0 2px;border-right: 1px solid #D6D6D7;}
  207. .tsd-lis-detail:last-child{border: none;}
  208. .theme-detail-msg p,.answer-explain-detail p,.ltc-case-answer p{display: inline;}
  209. .lis-four{width: 23%;}
  210. .lis-two{width: 44%;}
  211. .lis-one{width: 88%;}
  212. .lis-one p{display: inline;}
  213. .answer li{margin: 4px 0;}
  214. .theme-detail-msg{margin: 4px 0;}
  215. .aed-answer-msg,.lcc-tit-msg{margin-right: 6px;position: relative;padding-left: 12px;}
  216. .aed-answer-msg:before,.lcc-tit-msg:before{
  217. content: '';
  218. border-top: 5px solid transparent;
  219. border-bottom: 5px solid transparent;
  220. border-left: 8px solid #B4B4B4;
  221. position: absolute;
  222. left: 0;
  223. top: 2px;
  224. }
  225. .aed-answer-explain{width: 100%;}
  226. .guide {width: 95%;border-radius: 4px;border: 1px solid #bfbfbf;margin-top: 20px;padding-left: 4px;}
  227. .fontBold {font-weight: bold;}
  228. .guide legend{margin-left: 4px;}
  229. .ltc-case-con{margin-top: 6px;}
  230. .lcc-tit-msg {margin-top: 6px;}
  231. .lcc-case-detail{width: 86%;}
  232. .stars{width: 8px;}
  233. .tit-white-bg{position: relative;height: 20px;background: #fff;}
  234. .font10 {
  235. font-size: 10px !important;
  236. }
  237. .topic-point {
  238. margin-top: 3px;
  239. line-height: 14px;
  240. }
  241. .topic-order {
  242. padding: 0 4px;
  243. height: 16px;
  244. line-height: 16px;
  245. background-color: #3a3a3a;
  246. color: #fff;
  247. }
  248. .fontBold {
  249. font-weight: bold;
  250. }
  251. .topic-point-border {
  252. border-bottom: 1px solid #ccc;
  253. }
  254. .aed-answer-msgs,.lcc-tit-msgs{margin-right: 6px;position: relative;}
  255. .no-border{border: none;}
  256. .slq-topic-order{
  257. padding: 0 8px;
  258. height: 16px;
  259. line-height: 16px;
  260. background-color: #6A6A6A;
  261. color: #fff;
  262. border-radius: 8px;
  263. }
  264. .slq-answer {margin-left: 10px;margin-top: 6px;}
  265. .slq-list .aed-answer-explain{width: 100%;}
  266. .sweep-icon{position: absolute;right: 0;top: 6px;width: 50px;height: 50px;}
  267. .slq-list .them-apecial-style{min-height: 60px;}
  268. .has-ma{width: 88%;}
  269. .answer-explain-detail {margin-top: 6px;}
  270. .aed-answer-msgs,.aed-answer-explain{line-height: 24px;}
  271. .line {border-bottom: 1px solid #D9D9D9;position: absolute;left: 0;right: 0;top: 16px;}
  272. .little-themes-con{position: relative;}
  273. .theme-answer-cons.has-ma{min-height: 60px;}
  274. .theme-answer-cons{position: relative;}
  275. </style>
  276. </div>
  277. </div>
  278. </head>
  279. <p class="tec-title tac"><?php echo $examInfo['exam_name']; ?>-<?php echo $examInfo['class_name'] ?>-教师讲案</p>
  280. <div class="tec-lis">
  281. <p class="tl-tit fzl">一、班级情况分析</p>
  282. <table cellpadding="0" cellspacing="0" class="knowledge-hasget-count tac">
  283. <thead>
  284. <tr>
  285. <th></th>
  286. <th>排名</th>
  287. <th>排名变化</th>
  288. <th>平均分</th>
  289. <th>得分率</th>
  290. <th>优秀率</th>
  291. <th>合格率</th>
  292. <th>低分率</th>
  293. <th>考试人数</th>
  294. <th>缺考人数</th>
  295. </tr>
  296. </thead>
  297. <tbody>
  298. <?php $gradeAnaly = isset($classAnalyData['grade'])?$classAnalyData['grade']:array();?>
  299. <?php $classAnaly = isset($classAnalyData['class'])?$classAnalyData['class']:array();?>
  300. <?php if($classAnaly['class_num'] > 1):?>
  301. <tr>
  302. <td>年级</td>
  303. <td>/</td>
  304. <td>/</td>
  305. <td><?php echo isset($gradeAnaly['avg_score'])?$gradeAnaly['avg_score']:0;?></td>
  306. <td><?php echo isset($gradeAnaly['score_rate'])?$gradeAnaly['score_rate']:0;?>%</td>
  307. <td><?php echo isset($gradeAnaly['fine_rate'])?$gradeAnaly['fine_rate']:0;?>%</td>
  308. <td><?php echo isset($gradeAnaly['pass_rate'])?$gradeAnaly['pass_rate']:0;?>%</td>
  309. <td><?php echo isset($gradeAnaly['low_rate'])?$gradeAnaly['low_rate']:0;?>%</td>
  310. <td><?php echo isset($gradeAnaly['exam_person'])?$gradeAnaly['exam_person']:0;?></td>
  311. <td><?php echo isset($gradeAnaly['absent_person'])?$gradeAnaly['absent_person']:0;?></td>
  312. </tr>
  313. <?php endif;?>
  314. <tr>
  315. <td><?php echo $examInfo['class_name'];?></td>
  316. <td><?php echo isset($classAnaly['order'])?$classAnaly['order']:0;?></td>
  317. <td><?php
  318. if(isset($classAnaly['order_increase'])){
  319. if($classAnaly['order_increase'] > 0){
  320. echo '+'.$classAnaly['order_increase'].'↑';
  321. }elseif($classAnaly['order_increase'] < 0){
  322. echo $classAnaly['order_increase'].'↓';
  323. }else{
  324. echo 0;
  325. }
  326. }else{
  327. echo 0;
  328. }
  329. ?></td>
  330. <td><?php echo isset($classAnaly['avg_score'])?$classAnaly['avg_score']:0;?></td>
  331. <td>
  332. <?php
  333. if(isset($classAnaly['score_rate'])){
  334. if($classAnaly['rate_increase'] > 0){
  335. echo $classAnaly['score_rate'].'%↑';
  336. }elseif($classAnaly['rate_increase'] < 0){
  337. echo $classAnaly['score_rate'].'%↓';
  338. }else{
  339. echo $classAnaly['score_rate'].'%';
  340. }
  341. }else{
  342. echo '0%';
  343. }
  344. ?>
  345. </td>
  346. <td>
  347. <?php
  348. if(isset($classAnaly['fine_rate'])){
  349. if($classAnaly['fine_rate_increase'] > 0){
  350. echo $classAnaly['fine_rate'].'%↑';
  351. }elseif($classAnaly['fine_rate_increase'] < 0){
  352. echo $classAnaly['fine_rate'].'%↓';
  353. }else{
  354. echo $classAnaly['fine_rate'].'%';
  355. }
  356. }else{
  357. echo '0%';
  358. }
  359. ?>
  360. </td>
  361. <td><?php echo isset($classAnaly['pass_rate'])?$classAnaly['pass_rate']:0;?>%</td>
  362. <td><?php echo isset($classAnaly['low_rate'])?$classAnaly['low_rate']:0;?>%</td>
  363. <td><?php echo isset($classAnaly['exam_person'])?$classAnaly['exam_person']:0;?></td>
  364. <td><?php echo isset($classAnaly['absent_person'])?$classAnaly['absent_person']:0;?></td>
  365. </tr>
  366. </tbody>
  367. </table>
  368. <div class="cad-main-tables clearfix">
  369. <table cellpadding="0" cellspacing="0" class="cmt-tab-lis tac fl">
  370. <tr>
  371. <td colspan="3" class="fzm">大幅进步</td>
  372. </tr>
  373. <tr class="gray-font">
  374. <td>姓名</td>
  375. <td>班级排名</td>
  376. <td>排名提升</td>
  377. </tr>
  378. <?php if (isset($largeOrderData['increase_stu'])): ?>
  379. <?php foreach ($largeOrderData['increase_stu'] as $key => $stuId): ?>
  380. <tr>
  381. <td><?php echo isset($largeOrderData['stu_name'][$stuId])?$largeOrderData['stu_name'][$stuId]:''; ?></td>
  382. <td><?php echo isset($largeOrderData['stu_order'][$stuId])?$largeOrderData['stu_order'][$stuId]:0; ?></td>
  383. <td>
  384. <?php
  385. if(isset($largeOrderData['stu_diff_order'][$stuId]) && $largeOrderData['stu_diff_order'][$stuId] > 0){
  386. echo $largeOrderData['stu_diff_order'][$stuId];
  387. }else{
  388. echo '-';
  389. }
  390. ?>
  391. </td>
  392. </tr>
  393. <?php endforeach; ?>
  394. <?php endif; ?>
  395. <?php for($i = 0;$i < (5-count($largeOrderData['increase_stu']));$i++):?>
  396. <tr><td>&nbsp;&nbsp;&nbsp;&nbsp;</td><td>&nbsp;&nbsp;&nbsp;&nbsp;</td><td>&nbsp;&nbsp;&nbsp;&nbsp;</td></tr>
  397. <?php endfor;?>
  398. </table>
  399. <table cellpadding="0" cellspacing="0" class="cmt-tab-lis tac fl">
  400. <tr>
  401. <td colspan="3" class="fzm">大幅退步</td>
  402. </tr>
  403. <tr class="gray-font">
  404. <td>姓名</td>
  405. <td>班级排名</td>
  406. <td>排名下降</td>
  407. </tr>
  408. <?php if (isset($largeOrderData['reduce_stu'])): ?>
  409. <?php foreach ($largeOrderData['reduce_stu'] as $key => $stuId): ?>
  410. <tr>
  411. <td><?php echo isset($largeOrderData['stu_name'][$stuId])?$largeOrderData['stu_name'][$stuId]:''; ?></td>
  412. <td><?php echo isset($largeOrderData['stu_order'][$stuId])?$largeOrderData['stu_order'][$stuId]:0; ?></td>
  413. <td>
  414. <?php
  415. if(isset($largeOrderData['stu_diff_order'][$stuId]) && abs($largeOrderData['stu_diff_order'][$stuId]) > 0){
  416. echo $largeOrderData['stu_diff_order'][$stuId];
  417. }else{
  418. echo '-';
  419. }
  420. ?>
  421. </td>
  422. </tr>
  423. <?php endforeach; ?>
  424. <?php endif; ?>
  425. <?php for($i = 0;$i < (5-count($largeOrderData['reduce_stu']));$i++):?>
  426. <tr><td>&nbsp;&nbsp;&nbsp;&nbsp;</td><td>&nbsp;&nbsp;&nbsp;&nbsp;</td><td>&nbsp;&nbsp;&nbsp;&nbsp;</td></tr>
  427. <?php endfor;?>
  428. </table>
  429. <table cellpadding="0" cellspacing="0" class="cmt-tab-lis tac fl">
  430. <tr>
  431. <td colspan="3" class="fzm">班级前五名</td>
  432. </tr>
  433. <tr class="gray-font">
  434. <td>姓名</td>
  435. <td>班级排名</td>
  436. </tr>
  437. <?php if (isset($largeOrderData['font_five'])): ?>
  438. <?php foreach ($largeOrderData['font_five'] as $key => $stuId): ?>
  439. <tr>
  440. <td><?php echo isset($largeOrderData['stu_name'][$stuId])?$largeOrderData['stu_name'][$stuId]:''; ?></td>
  441. <td><?php echo isset($largeOrderData['stu_order'][$stuId])?$largeOrderData['stu_order'][$stuId]:0; ?></td>
  442. </tr>
  443. <?php endforeach; ?>
  444. <?php endif; ?>
  445. <?php for($i = 0;$i < (5-count($largeOrderData['font_five']));$i++):?>
  446. <tr><td>&nbsp;&nbsp;&nbsp;&nbsp;</td><td>&nbsp;&nbsp;&nbsp;&nbsp;</td></tr>
  447. <?php endfor;?>
  448. </table>
  449. <table cellpadding="0" cellspacing="0" class="cmt-tab-lis tac fl">
  450. <tr>
  451. <td colspan="3" class="fzm">班级后五名</td>
  452. </tr>
  453. <tr class="gray-font">
  454. <td>姓名</td>
  455. <td>班级排名</td>
  456. </tr>
  457. <?php if (isset($largeOrderData['back_five'])): ?>
  458. <?php foreach ($largeOrderData['back_five'] as $key => $stuId): ?>
  459. <tr>
  460. <td><?php echo isset($largeOrderData['stu_name'][$stuId])?$largeOrderData['stu_name'][$stuId]:''; ?></td>
  461. <td><?php echo isset($largeOrderData['stu_order'][$stuId])?$largeOrderData['stu_order'][$stuId]:0; ?></td>
  462. </tr>
  463. <?php endforeach; ?>
  464. <?php endif; ?>
  465. <?php for($i = 0;$i < (5-count($largeOrderData['back_five']));$i++):?>
  466. <tr><td>&nbsp;&nbsp;&nbsp;&nbsp;</td><td>&nbsp;&nbsp;&nbsp;&nbsp;</td></tr>
  467. <?php endfor;?>
  468. </table>
  469. </div>
  470. </div>
  471. <div class="tec-lis">
  472. <p class="tl-tit fzl">二、考试情况分析</p>
  473. <?php if(isset($examAnalyData['topic_no'])):?>
  474. <?php
  475. $_topicNo = $examAnalyData['topic_no'];
  476. $colNum = 8;
  477. ?>
  478. <?php foreach(array_chunk($_topicNo,$colNum,true) as $topicNo):?>
  479. <?php $tCount = count($topicNo);?>
  480. <table cellpadding="0" cellspacing="0" class="knowledge-hasget-count tac">
  481. <tr>
  482. <td class="tal">&nbsp;题号</td>
  483. <?php foreach($topicNo as $topicId => $no):?>
  484. <td><?php echo $no;?></td>
  485. <?php endforeach;?>
  486. <?php for($i = 0;$i < ($colNum - $tCount);$i++):?>
  487. <td>&nbsp;&nbsp;</td>
  488. <?php endfor;?>
  489. </tr>
  490. <tr>
  491. <td class="tal">&nbsp;答错人数</td>
  492. <?php foreach($topicNo as $topicId => $no):?>
  493. <td><?php echo isset($examAnalyData['stu_topic_wrong'][$topicId])?$examAnalyData['stu_topic_wrong'][$topicId]:0;?></td>
  494. <?php endforeach;?>
  495. <?php for($i = 0;$i < ($colNum - $tCount);$i++):?>
  496. <td>&nbsp;&nbsp;</td>
  497. <?php endfor;?>
  498. </tr>
  499. <tr>
  500. <td class="tal" style="width:58px;">&nbsp;得分率</td>
  501. <?php foreach($topicNo as $topicId => $no):?>
  502. <td><?php echo isset($examAnalyData['topic_score_rate'][$topicId])?$examAnalyData['topic_score_rate'][$topicId]:0;?>%</td>
  503. <?php endforeach;?>
  504. <?php for($i = 0;$i < ($colNum - $tCount);$i++):?>
  505. <td style="color: white">00.00%</td>
  506. <?php endfor;?>
  507. </tr>
  508. </table>
  509. <?php endforeach;?>
  510. <?php endif;?>
  511. </div>
  512. <div class="tec-lis">
  513. <p class="tl-tit fzl">三、题型掌握情况</p>
  514. <table cellpadding="0" cellspacing="0" class="knowledge-counts tac">
  515. <?php $topicType = array('1'=>'选择题','11'=>'不定项选择题','5'=>'填空题','7'=>'解答题','17'=>'选做解答题');?>
  516. <thead>
  517. <td class="test-point-name tac">题型</td>
  518. <td class="test-get-level">掌握水平</td>
  519. <td class="class-score-rate">年级得分率</td>
  520. <td class="class-score-rate">班级得分率</td>
  521. <td class="error-counts">答错人数</td>
  522. <td class="sel-theme-ser tac">对应题号</td>
  523. </thead>
  524. <?php if(isset($typeMasterData['class_rate'])):?>
  525. <?php asort($typeMasterData['class_rate']);?>
  526. <?php foreach($typeMasterData['class_rate'] as $type => $classRate):?>
  527. <tr>
  528. <td class="test-point-name"><?php echo isset($topicType[$type])?$topicType[$type]:'';?></td>
  529. <td class="test-get-level">
  530. <?php $statNum = isset($typeMasterData['type_master_degree'][$type])?$typeMasterData['type_master_degree'][$type]:0;?>
  531. <?php for($i = 0;$i < 5;$i++){
  532. if($i < $statNum){
  533. echo '<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAfCAMAAACxiD++AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA4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2JlOmRvY2lkOnBob3Rvc2hvcDo5ZDU4YzUzYS03N2E4LTExN2EtOWRmNS1lZGQ2ZjFiODM4ZDMiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz4FhkuMAAAAwFBMVEWcnJz////8/Pz8/Pyfn5/7+/vPz8+enp7S0tL+/v7e3t7n5+fx8fGgoKCwsLDNzc2urq6mpqbV1dXY2Njj4+P29vaxsbHr6+vt7e3U1NT6+vr39/ednZ25ubmpqamhoaG/v7+3t7fv7+/5+fmvr6+srKyrq6vu7u7X19ezs7O2traioqK8vLytra3GxsadnZ3Dw8Pk5OSkpKTp6emnp6f4+PjLy8vZ2dnz8/OlpaXKysrw8PD19fXg4ODb29v///8jpzsDAAAAQHRSTlP///////////////////////////////////////////////////////////////////////////////////8AwnuxRAAAAQxJREFUeNp80uduwzAMBOA70PJ2kqZJs9C9Z7p3m/d/q1qpI9CwbP4z7wNkUcRKFyXLWeusUPuSD2Cb7YB9AJFpByYqAUK2AYY2RyBtQII1QEw/YPyfoxA/kKICGNIHONzk2BfWAMnjycVN4ABuP39yKdsW0Dz0Lwt4amt3NkmI9wAddUgcoLPGuO8Gcyyuu/KY4PixKy+vyZfntty+fDkHzs/8ecrNoGTgiZcjulFTdpp5RvUWHDXnSP1YfG0eITXQPAJfGiSeB0k1WHhucad/MvOAgQJuG4FTd9gyUeCqap5MKWFUfXwr0Ft3elO7ZI7kCqQ2Pmc1GxpL9hI9h6fZEdWu0/y+VZv9J8AAurVkME920MoAAAAASUVORK5CYII=" alt="" class="stars">';
  534. }else{
  535. echo '<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAfCAMAAACxiD++AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA4ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBp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2ZjFiODM4ZDMiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz6hPxIfAAAAilBMVEXx8fHY2Nja2trw8PD////v7+/Z2dne3t7+/v7m5ubf39/l5eXn5+fc3Nzh4eHY2Njs7Ozo6Oj6+vrb29vd3d3j4+Pn5+f4+Pju7u77+/vq6urg4ODr6+v9/f35+fn19fXp6env7+/t7e339/f8/Pz29vbz8/Pi4uL19fX09PTy8vLk5OTg4OD///+TZt6CAAAALnRSTlP///////////////////////////////////////////////////////////8Ago9zVQAAAUhJREFUeNp8k+lugzAQhFe2hTkEw+kElERxTtom7/96tQ1ttTRkfmHm02CPF3oyqcNzIeLLCvIt0CMSH++ADJkR9TqwQSSlSONVQCMjMhjWABdgiaRAvwKkPoAowUO9BkJAiBiXgIr7sdRTgI8Qhg57NQNx/Vnl8JoCQkRQt73uFfVRWORFMsw+kR2Sop2gG30h76qTpP/aHjONgiS0pRVZDUmqQ75C2BZHv8kHmu1Lv0Gl/DHjFOL0YgvC+6EHR0Tl0i8FjuqnKPcVDNzfRSjVX5NxB3BAwLK7OCDngEbMgL1rhOmOmgFXJBwwuDHAYrc4BHYMMJjbNGa6FomMAUUT3poGbhYCkhcMaB/ednPQ5DNSaAZEiUycfXdbr11rwi0jNnJInZ1uQnfqrB2SgiW42dHn31lWo58nBlzsqNgft7GX6eFbgAEAYateOzxWRMYAAAAASUVORK5CYII=" alt="" class="stars">';
  536. }
  537. }?>
  538. </td>
  539. <td class="class-score-rate"><?php echo isset($typeMasterData['grade_rate'][$type])?$typeMasterData['grade_rate'][$type]:0;?>%</td>
  540. <td class="class-score-rate"><?php echo isset($typeMasterData['class_rate'][$type])?$typeMasterData['class_rate'][$type]:0;?>%</td>
  541. <td class="error-counts"><?php echo isset($typeMasterData['stu_type_wrong'][$type])?$typeMasterData['stu_type_wrong'][$type]:0;?></td>
  542. <td class="sel-theme-ser">
  543. <?php foreach($typeMasterData['type_topic_no'][$type] as $no):?>
  544. <span class="sts-num tac"><?php echo $no;?></span>
  545. <?php endforeach;?>
  546. </td>
  547. </tr>
  548. <?php endforeach;?>
  549. <?php endif;?>
  550. </table>
  551. </div>
  552. <div class="tec-lis">
  553. <p class="tl-tit fzl">四、试卷讲评</p>
  554. <?php foreach($paperTopicNo as $topicId => $no):?>
  555. <?php $topicInfo = isset($topicDetails[$topicId])?$topicDetails[$topicId]:array();?>
  556. <div class="little-themes-con">
  557. <div class="them-apecial-style clearfix">
  558. <div class="tit-white-bg fl">
  559. <div class="tas-tit-stl fl"></div>
  560. <div class="tts-msg">第<?php echo $no;?>题</div>【<?php echo $topicId;?>】
  561. <div class="quadrangle-right fl"></div>
  562. </div>
  563. <div class="tas-score-detail">
  564. <span class="tsd-lis-detail">班级得分率:<?php echo isset($topicRateStu['class_rate'][$topicId])?$topicRateStu['class_rate'][$topicId]:0;?>%</span>
  565. <span class="tsd-lis-detail">年级得分率:<?php echo isset($topicRateStu['grade_rate'][$topicId])?$topicRateStu['grade_rate'][$topicId]:0;?>%</span>
  566. <span class="tsd-lis-detail">答对:<?php echo isset($topicRateStu['right_stu'][$topicId])?$topicRateStu['right_stu'][$topicId]:0;?>人</span>
  567. <span class="tsd-lis-detail">答错:<?php echo isset($topicRateStu['wrong_stu'][$topicId])?$topicRateStu['wrong_stu'][$topicId]:0;?>人</span>
  568. </div>
  569. </div>
  570. <div class="theme-detail-msg">
  571. <?php echo $topicInfo['queBody'];?>
  572. </div>
  573. <?php if(isset($topicInfo['is_large_topic']) && $topicInfo['is_large_topic']):?>
  574. <!-- 小题-->
  575. <?php if(isset($topicInfo['slave']) && $topicInfo['slave']):?>
  576. <?php foreach ($topicInfo['slave'] as $topic_info):?>
  577. <div class="font10"><?php echo isset($small_topic_no[$topic_info['topic_slave_id']])?$small_topic_no[$topic_info['topic_slave_id']].'.':''?><?php echo $topic_info['queBody'];?></div>
  578. <?php if($topic_info['type'] == 1 || $topic_info['type'] == 11):?>
  579. <ul class="answer clearfix font10" style="margin-right:45px">
  580. <?php echo isset($topic_info['options'])?$topic_info['options']:'';?>
  581. </ul>
  582. <?php endif;?>
  583. <div class="answer-explain-detail clearfix">
  584. <div class="fl aed-answer-msg">答案:
  585. <?php foreach($topicInfo['answer'] as $slave_id => $answer):$smallNo = 1;?>
  586. <?php echo $smallNo.".".$answer." ";$smallNo++;?> &nbsp;&nbsp;&nbsp;
  587. <?php endforeach;?>
  588. </div>
  589. <div class="fl aed-answer-explain">解析:<?php echo $topicInfo['analysis']?$topicInfo['analysis']:'略';?></div>
  590. </div>
  591. <?php endforeach;?>
  592. <?php endif;?>
  593. <?php else:?>
  594. <?php if($topicInfo['type'] == 1 || $topicInfo['type'] == 11):?>
  595. <ul class="answer clearfix font10" style="margin-right:45px">
  596. <?php echo isset($topicInfo['options'])?$topicInfo['options']:'';?>
  597. </ul>
  598. <?php endif;?>
  599. <div class="answer-explain-detail clearfix">
  600. <div class="fl aed-answer-msg">答案:<?php echo trim($topicInfo['answer'])?trim($topicInfo['answer']):'略';?> </div>
  601. <div class="fl aed-answer-explain">解析:<?php echo $topicInfo['analysis']?$topicInfo['analysis']:'略';?></div>
  602. </div>
  603. <?php endif;?>
  604. </div>
  605. <?php endforeach;?>
  606. </div>
  607. </body>
  608. </html>