123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <title>Document</title>
- <style media="print">
- @media print {
- .Noprint{display:none;}
- body {color: #000; background: #fff;font-family:"宋体";}
- h1 {color: #000; background: none; }
- nav, aside {display: none;}
- body, article { width: 100%; margin: 0; padding: 0; }
- article a { font-weight: bolder; text-decoration: none; }
- article a[href^=http]{display: none;}
- @page{margin: 1cm; }
- @page {size:B5 portrait;}
- @page:left { margin-left: 1cm;}
- @page:right { margin-left:1cm;}
- @page:right {
- @bottom-right {
- margin: 10pt 0 30pt 0;
- border-top: .25pt solid #666;
- content: 33;
- font-size: 9pt;
- }
- }
- }
- </style>
- <style type="text/css">
- *{margin: 0;padding: 0;}
- body{font-family: '微软雅黑';color:#000;margin: 8px;font-size: 10px;}
- .fl{float: left;}
- .fr{float: right;}
- .tac{text-align: center !important;}
- .tal{text-align: left !important;}
- .fzxl{font-size: 14px;}
- .fzl{font-size: 12px;}
- .fzm{font-size: 10px;}
- .fzs{font-size: 8px;}
- .gray-font{color: #696969;}
- .clearfix:after {content: "."; display: block; height:0; clear:both; visibility: hidden;}
- .clearfix {*zoom:1; }
- .main-con{width: 900px;border: 1px solid #000;margin: auto;}
- .tec-title{font-size: 14px;line-height: 20px;margin: 0 40px;}
- .tec-lis{margin: 0 26px;}
- .tl-tit{margin: 6px 0;}
- img{vertical-align: middle;}
- ul li{list-style: none;}
- table{border: 1px solid #C4C4C4;border-bottom: none;font-size: 10px;margin: auto;}
- td{border-right: 1px solid #C4C4C4;border-bottom: 1px solid #C4C4C4;}
- td:last-child,tr:last-child{border-right: none;}
- .class-analyze-detail,.cad-main-tables,.knowledge-hasget-count,
- .knowledge-counts{width: 100%;margin-top: 6px;}
- .class-analyze-detail{font-size: 8px;}
- .class-analyze-detail p{margin: 4px;}
- .class-analyze-detail tr{width: 25%;}
- .cad-main-tables td{padding: 2px;width: 33.33%;}
- .cmt-tab-lis{width: 24.4%;margin-right: .82%;font-size: 8px;}
- .cad-main-tables table:last-child{margin-right: 0;}
- .knowledge-hasget-count td{height: 22px;}
- .test-point-name{text-indent: 4px;}
- .test-point-name,.sel-theme-ser{text-align: left;}
- .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;}
- .knowledge-counts td{padding: 4px 0;}
- .test-point-name{width: 40%;}
- .sel-theme-ser{width: 25%;}
- .them-apecial-style{position: relative;margin-top: 6px;}
- .cad-main-tables{margin: 6px auto;}
- .tas-tit-stl{
- position: relative;
- padding: 0 12px;
- opacity: 0.85;
- height: 18px;
- width: 30px;
- line-height: 18px;
- background: #D8D9D8;
- -webkit-transform: skew(-30deg);
- -moz-transform: skew(-30deg);
- -o-transform: skew(-30deg);
- transform: skew(-30deg);
- color: #000;
- z-index: 100;
- }
- .tts-msg{background: #D8D9D8;font-size: 10px;color: #000;position: absolute;left: 10px;line-height: 18px;z-index: 200;}
- .quadrangle-right{
- position: relative;
- z-index: 99;
- float: left;
- width: 20px;
- height: 18px;
- background: #EDEDED;
- -webkit-transform: skew(30deg);
- -moz-transform: skew(30deg);
- -o-transform: skew(30deg);
- transform: skew(30deg);
- }
- .tas-score-detail{
- border-bottom: 1px solid #D9D9D9;
- line-height: 18px;
- padding: 0 6px;
- }
- .tsd-lis-detail{padding: 0 4px 0 2px;border-right: 1px solid #D6D6D7;}
- .tsd-lis-detail:last-child{border: none;}
- .theme-detail-msg p,.answer-explain-detail p,.ltc-case-answer p{display: inline;}
- .lis-four{width: 23%;}
- .lis-two{width: 44%;}
- .lis-one{width: 88%;}
- .lis-one p{display: inline;}
- .answer li{margin: 4px 0;}
- .theme-detail-msg{margin: 4px 0;}
- .aed-answer-msg,.lcc-tit-msg{margin-right: 6px;position: relative;padding-left: 12px;}
- .aed-answer-msg:before,.lcc-tit-msg:before{
- content: '';
- border-top: 5px solid transparent;
- border-bottom: 5px solid transparent;
- border-left: 8px solid #B4B4B4;
- position: absolute;
- left: 0;
- top: 2px;
- }
- .aed-answer-explain{width: 100%;}
- .guide {width: 95%;border-radius: 4px;border: 1px solid #bfbfbf;margin-top: 20px;padding-left: 4px;}
- .fontBold {font-weight: bold;}
- .guide legend{margin-left: 4px;}
- .ltc-case-con{margin-top: 6px;}
- .lcc-tit-msg {margin-top: 6px;}
- .lcc-case-detail{width: 86%;}
- .stars{width: 8px;}
- .tit-white-bg{position: relative;height: 20px;background: #fff;}
- .font10 {
- font-size: 10px !important;
- }
- .topic-point {
- margin-top: 3px;
- line-height: 14px;
- }
- .topic-order {
- padding: 0 4px;
- height: 16px;
- line-height: 16px;
- background-color: #3a3a3a;
- color: #fff;
- }
- .fontBold {
- font-weight: bold;
- }
- .topic-point-border {
- border-bottom: 1px solid #ccc;
- }
- .aed-answer-msgs,.lcc-tit-msgs{margin-right: 6px;position: relative;}
- .no-border{border: none;}
- .slq-topic-order{
- padding: 0 8px;
- height: 16px;
- line-height: 16px;
- background-color: #6A6A6A;
- color: #fff;
- border-radius: 8px;
- }
- .slq-answer {margin-left: 10px;margin-top: 6px;}
- .slq-list .aed-answer-explain{width: 100%;}
- .sweep-icon{position: absolute;right: 0;top: 6px;width: 50px;height: 50px;}
- .slq-list .them-apecial-style{min-height: 60px;}
- .has-ma{width: 88%;}
- .answer-explain-detail {margin-top: 6px;}
- .aed-answer-msgs,.aed-answer-explain{line-height: 24px;}
- .line {border-bottom: 1px solid #D9D9D9;position: absolute;left: 0;right: 0;top: 16px;}
- .little-themes-con{position: relative;}
- .theme-answer-cons.has-ma{min-height: 60px;}
- .theme-answer-cons{position: relative;}
- img{max-width: 100%;}
- </style>
- </head>
- <body>
- <?php
- if(!isset($imgUrl)){
- $imgUrl = Yii::app()->request->hostInfo;
- }
- ?>
- <p class="tec-title tac"><?php echo $examName; ?>-<?php echo $className ?>-教师讲案</p>
- <div class="tec-lis">
- <p class="tl-tit fzl">一、班级情况分析</p>
- <table cellpadding="0" cellspacing="0" class="class-analyze-detail">
- <tr>
- <td>
- <p class="tl-num-detail">参加考试人数 <?php if (isset($totalNum)): echo $totalNum; endif; ?>人</p>
- <p class="tl-num-warn"><?php if (isset($absentNum)): echo $absentNum; else: echo '0'; endif; ?>人缺考</p>
- </td>
- <td>
- <p class="tl-num-detail">平均得分率 <?php if (isset($avgRate)): echo $avgRate; endif; ?>%</p>
- <p class="tl-num-warn">较上次考试<?php if (isset($avgFluctuate)): if ($avgFluctuate > 0): echo '+'; endif; echo $avgFluctuate; endif; ?>%</p>
- </td>
- <td>
- <p class="tl-num-detail">平均分 <?php if (isset($avgScore)): echo $avgScore; endif; ?></p>
- <p class="tl-num-warn">最高分<?php if (isset($maxScore)): echo $maxScore; endif; ?>, 最低分<?php if (isset($minScore)): echo $minScore; endif; ?>, 满分<?php if (isset($fullScore)): echo $fullScore; endif; ?></p>
- </td>
- <td>
- <p class="tl-num-detail">及格率 <?php if (isset($passRate)): echo $passRate; else: echo '0'; endif; ?>%</p>
- <p class="tl-num-warn">其中得分率90%以上的有<?php if (isset($passNum_90)): echo $passNum_90; else: echo '0'; endif; ?>人</p>
- </td>
- </tr>
- </table>
- <div class="cad-main-tables clearfix">
- <table cellpadding="0" cellspacing="0" class="cmt-tab-lis tac fl">
- <tr>
- <td colspan="3" class="fzm">大幅进步</td>
- </tr>
- <tr class="gray-font">
- <td>姓名</td>
- <td>班级排名</td>
- <td>排名提升</td>
- </tr>
- <?php if (isset($forwards)): ?>
- <?php $i = 1; ?>
- <?php foreach ($forwards as $key => $val): ?>
- <?php foreach ($val as $k => $v): ?>
- <?php if ($i > 5): break 2; endif; ?>
- <tr>
- <td><?php echo $v['realname']; ?></td>
- <td><?php echo $v['rank']; ?></td>
- <td><?php echo $key; ?></td>
- </tr>
- <?php $i++; ?>
- <?php endforeach; ?>
- <?php endforeach; ?>
- <?php endif; ?>
- </table>
- <table cellpadding="0" cellspacing="0" class="cmt-tab-lis tac fl">
- <tr>
- <td colspan="3" class="fzm">大幅退步</td>
- </tr>
- <tr class="gray-font">
- <td>姓名</td>
- <td>班级排名</td>
- <td>排名下降</td>
- </tr>
- <?php if (isset($rewinds)): ?>
- <?php $i = 1; ?>
- <?php foreach ($rewinds as $key => $val): ?>
- <?php foreach ($val as $k => $v): ?>
- <?php if ($i > 5): break 2; endif; ?>
- <tr>
- <td><?php echo $v['realname']; ?></td>
- <td><?php echo $v['rank']; ?></td>
- <td><?php echo $key; ?></td>
- </tr>
- <?php $i++; ?>
- <?php endforeach; ?>
- <?php endforeach; ?>
- <?php endif; ?>
- </table>
- <table cellpadding="0" cellspacing="0" class="cmt-tab-lis tac fl">
- <tr>
- <td colspan="3" class="fzm">班级前五名</td>
- </tr>
- <tr class="gray-font">
- <td>姓名</td>
- <td>班级排名</td>
- </tr>
- <?php if (isset($ranks)): ?>
- <?php $i = 1; ?>
- <?php foreach ($ranks as $rank): ?>
- <?php if ($i > 5): break; endif; ?>
- <tr>
- <td><?php echo $rank['realname']; ?></td>
- <td><?php echo $rank['rank']; ?></td>
- </tr>
- <?php $i++; ?>
- <?php endforeach; ?>
- <?php endif; ?>
- </table>
- <table cellpadding="0" cellspacing="0" class="cmt-tab-lis tac fl">
- <tr>
- <td colspan="3" class="fzm">班级后五名</td>
- </tr>
- <tr class="gray-font">
- <td>姓名</td>
- <td>班级排名</td>
- </tr>
- <?php if (isset($ranks)): ?>
- <?php $i = 1; ?>
- <?php foreach (array_reverse($ranks) as $rank): ?>
- <?php if ($i > 5): break; endif; ?>
- <tr>
- <td><?php echo $rank['realname']; ?></td>
- <td><?php echo $rank['rank']; ?></td>
- </tr>
- <?php $i++; ?>
- <?php endforeach; ?>
- <?php endif; ?>
- </table>
- </div>
- </div>
- <div class="tec-lis">
- <p class="tl-tit fzl">二、考试情况分析</p>
- <?php if (isset($errorNums)): ?>
- <?php $n = count($errorNums); ?>
- <?php $p = ceil($n / 8); ?>
- <?php for ($i = 0; $i < $p; $i++): ?>
- <table cellpadding="0" cellspacing="0" class="knowledge-hasget-count tac">
- <tr>
- <td class="tal"> 题号</td>
- <?php for ($j = 1; $j <= 8; $j++): ?>
- <td>
- <?php if (isset($errorNums[$j + $i * 8])): ?>
- <?php // echo ($j + $i * 8); ?>
- <?php echo isset($newTopicNos[$topicIds[$j + $i * 8 - 1]]) ? $newTopicNos[$topicIds[$j + $i * 8 - 1]] : ($j + $i * 8);?>
- <?php endif; ?>
- </td>
- <?php endfor; ?>
- </tr>
- <tr>
- <td class="tal"> 答错人数</td>
- <?php for ($j = 1; $j <= 8; $j++): ?>
- <td>
- <?php if (isset($errorNums[$j + $i * 8])): ?>
- <?php echo $errorNums[$j + $i * 8]; ?>
- <?php endif; ?>
- </td>
- <?php endfor; ?>
- </tr>
- <tr>
- <td class="tal" style="width:58px;"> 错误率</td>
- <?php
- for ($j = 1; $j <= 8; $j++): ?>
- <td style="width:51px;">
- <?php if (isset($errorNums[$j + $i * 8])): ?>
- <?php echo isset($topicIds[($j + $i * 8 - 1)])?(100 - $topics[$topicIds[$j + $i * 8 - 1]]['avgRate']):100; ?>%
- <?php endif; ?>
- </td>
- <?php endfor; ?>
- </tr>
- </table>
- <?php endfor; ?>
- <?php endif; ?>
- </div>
- <div class="tec-lis">
- <p class="tl-tit fzl">三、知识点掌握情况(考点统计)</p>
- <table cellpadding="0" cellspacing="0" class="knowledge-counts tac">
- <thead>
- <td class="test-point-name tac">考点名称</td>
- <td class="test-get-level">考点掌握水平</td>
- <td class="class-score-rate">班级得分率</td>
- <td class="error-counts">答错人数</td>
- <td class="sel-theme-ser tac">选题对应题号</td>
- </thead>
- <?php if (isset($methodNos)): ?>
- <?php foreach ($methodNos as $methodId => $nos): ?>
- <tr>
- <td class="test-point-name"><?php if (isset($methodNames[$methodId])): echo $methodNames[$methodId]; else: echo $methodId; endif; ?></td>
- <?php $rate = number_format($methodScores[$methodId] / $methodFullScores[$methodId], 4) * 100; ?>
- <td class="test-get-level">
- <?php if ($rate < 40): ?>
- <?php $star = 1; ?>
- <?php elseif ($rate >= 40 && $rate < 60): ?>
- <?php $star = 2; ?>
- <?php elseif ($rate >= 60 && $rate < 80): ?>
- <?php $star = 3; ?>
- <?php elseif ($rate >= 80 && $rate < 90): ?>
- <?php $star = 4; ?>
- <?php else: ?>
- <?php $star = 5; ?>
- <?php endif; ?>
- <?php for ($i = 1; $i <= $star; $i++): ?>
- <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAfCAMAAACxiD++AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA4ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bn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HBhY2tldCBlbmQ9InIiPz4FhkuMAAAAwFBMVEWcnJz////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">
- <?php endfor; ?>
- <?php if (5 - $star >= 1): ?>
- <?php for ($i = 1; $i <= 5 - $star; $i++): ?>
- <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAfCAMAAACxiD++AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA4ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIH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Q9InIiPz6hPxIfAAAAilBMVEXx8fHY2Nja2trw8PD////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">
- <?php endfor; ?>
- <?php endif; ?>
- </td>
- <td class="class-score-rate"><?php echo $rate; ?>%</td>
- <td class="error-counts"><?php echo count($methodErrorStudents[$methodId]); ?></td>
- <td class="sel-theme-ser">
- <?php foreach ($nos as $no): ?>
- <span class="sts-num tac"><?php echo $no; ?></span>
- <?php endforeach; ?>
- </td>
- </tr>
- <?php endforeach; ?>
- <?php endif; ?>
- </table>
- </div>
- <div class="tec-lis">
-
- <?php if(isset($gen_topics) && $gen_topics):?>
- <p class="tl-tit fzl">四、共性问题</p>
- <?php foreach($gen_topics as $k=>$v):?>
- <?php foreach($v as $gen_topic):?>
- <?php if($gen_topic['is_template'] == 1):?>
- <div><span class="">第<?php echo isset($newTopicNos[$gen_topic["topic_id"]])?$newTopicNos[$gen_topic["topic_id"]]:"";?>题</span>【<?php echo $gen_topic["topic_id"]; ?>】考点:<?php echo (isset($gen_topics_msg[$gen_topic["topic_id"]]) && isset($gen_topics_msg[$gen_topic["topic_id"]]['methods']))?$gen_topics_msg[$gen_topic["topic_id"]]['methods']:"";?></div>
-
- <?php else:?>
- <div style="background: url(<?php echo $imgUrl;?>/images/bsxl-topic.png) no-repeat;background-size: contain;padding-left: 30px;line-height: 22px;">变式训练</div>
- <div><span>1</span>【<?php echo $gen_topic["topic_id"]; ?>】<span><?php echo (isset($gen_topics_msg[$gen_topic["topic_id"]]) && isset($gen_topics_msg[$gen_topic["topic_id"]]['school_province_name']))?$gen_topics_msg[$gen_topic["topic_id"]]['school_province_name']:"";?>已有<?php echo (isset($gen_topics_msg[$gen_topic["topic_id"]]) && isset($gen_topics_msg[$gen_topic["topic_id"]]['province_count']))?$gen_topics_msg[$gen_topic["topic_id"]]['province_count']:0;?>人挑战</span> 难度系数:<span><?php echo (isset($gen_topics_msg[$gen_topic["topic_id"]]) && isset($gen_topics_msg[$gen_topic["topic_id"]]['difficulty']))?$gen_topics_msg[$gen_topic["topic_id"]]['difficulty']:"";?></span></div>
-
- <?php endif;?>
- <?php if(isset($gen_topics_detail[$gen_topic["topic_id"]])):?>
- <div class="theme-detail-msg">
- <?php echo $gen_topics_detail[$gen_topic["topic_id"]]['title']; ?>
- </div>
- <?php $answers = array(); ?>
- <?php if (($gen_topics_detail[$gen_topic["topic_id"]]['type_id'] == 1 || $gen_topics_detail[$gen_topic["topic_id"]]['type_id'] == 2) && isset($gen_topics_detail[$gen_topic["topic_id"]]['items']) && isset($gen_topics_detail[$gen_topic["topic_id"]]['items'][0]) && isset($gen_topics_detail[$gen_topic["topic_id"]]['items'][0]['options'])): ?>
- <ul class="answer clearfix">
- <?php $i = 1; ?>
- <?php foreach ($gen_topics_detail[$gen_topic["topic_id"]]['items'][0]['options'] as $option): ?>
- <?php if ($gen_topics_detail[$gen_topic["topic_id"]]['items'][0]['list_type'] == 1): ?>
- <li class="fl lis-four"><?php echo $this->numToLetter($i); ?>.<?php echo $option['option_content']; ?></li>
- <?php elseif ($gen_topics_detail[$gen_topic["topic_id"]]['items'][0]['list_type'] == 2): ?>
- <li class="fl lis-two"><?php echo $this->numToLetter($i); ?>.<?php echo $option['option_content']; ?></li>
- <?php else: ?>
- <li class="fl lis-one"><?php echo $this->numToLetter($i); ?>.<?php echo $option['option_content']; ?></li>
- <?php endif; ?>
- <?php if ($option['option_correct']): $answers[] = $this->numToLetter($i); endif; ?>
- <?php $i++; ?>
- <?php endforeach; ?>
- </ul>
- <?php elseif (isset($gen_topics_detail[$gen_topic["topic_id"]]['items']) && isset($gen_topics_detail[$gen_topic["topic_id"]]['items'][0]) && isset($gen_topics_detail[$gen_topic["topic_id"]]['items'][0]['options'])): ?>
- <?php foreach ($gen_topics_detail[$gen_topic["topic_id"]]['items'][0]['options'] as $option): ?>
- <?php $answers[] = $option['option_content']; ?>
- <?php endforeach; ?>
- <?php endif; ?>
- <div class="answer-explain-detail clearfix">
- <?php if ($answers): ?>
- <div class="fl aed-answer-msg">答案: <?php foreach ($answers as $answer): ?><?php echo $answer; ?> <?php endforeach; ?></div>
- <?php endif; ?>
- <div class="fl aed-answer-explain">解析:<?php echo $gen_topics_detail[$gen_topic["topic_id"]]['parse_content']; ?></div>
- </div>
- <?php endif;?>
- <?php endforeach;?>
- <?php endforeach;?>
- <?php endif;?>
- </div>
- <?php if ($wb_isp_version != 1) :?>
- <div class="tec-lis">
- <?php if(isset($gen_topics) && $gen_topics):?>
- <p class="tl-tit fzl">五、试卷讲评</p>
- <?php else:?>
- <p class="tl-tit fzl">四、试卷讲评</p>
- <?php endif;?>
-
- <?php if (isset($topicIds)): ?>
- <?php $idx = 1; ?>
- <?php foreach ($topicIds as $topicId): ?>
- <?php if (isset($topicDetails[$topicId])):?>
- <div class="little-themes-con">
- <div class="them-apecial-style clearfix">
- <div class="tit-white-bg fl">
- <div class="tas-tit-stl fl"></div>
- <div class="tts-msg">第<?php // echo $this->numToUpper($idx); ?><?php echo isset($newTopicNos[$topicIds[$idx - 1]]) ? $newTopicNos[$topicIds[$idx - 1]] : $this->numToUpper($idx)?>题</div>【<?php echo $topicId ?>】
- <div class="quadrangle-right fl"></div>
- </div>
- <div class="tas-score-detail">
- <span class="tsd-lis-detail">班级得分率:<?php if (isset($groupTopics[$topicId]) && isset($topics[$topicId]['classRate'])): echo $topics[$topicId]['classRate'].'%'; endif; ?></span>
- <span class="tsd-lis-detail">年级得分率:<?php if (isset($gradeTopicRate[$topicId])): echo $gradeTopicRate[$topicId].'%'; endif; ?></span>
- <span class="tsd-lis-detail">答对:<?php if (isset($topics[$topicId])): echo $topics[$topicId]['numRight']; endif; ?>人</span>
- <span class="tsd-lis-detail">答错:<?php if (isset($topics[$topicId])): echo $topics[$topicId]['numWrong']; endif; ?>人</span>
- </div>
- </div>
- <div class="theme-detail-msg">
- <?php if(isset($topics[$topicId]['rateLess70']) && isset($topics[$topicId]['rateLess70']) && $topics[$topicId]['rateLess70']):?>
- <p class="font-bold"><?php echo ($topicDetails[$topicId]['type_id'] == 1)?'答错学生:':'得分率低于70%的学生:';?><?php echo implode('、',$topics[$topicId]['rateLess70']);?></p>
- <?php endif;?>
- </div>
- <div class="theme-detail-msg">
- <?php echo $topicDetails[$topicId]['title']; ?>
- </div>
- <?php $answers = array(); ?>
- <?php if (($topicDetails[$topicId]['type_id'] == 1 || $topicDetails[$topicId]['type_id'] == 2) && isset($topicDetails[$topicId]['items']) && isset($topicDetails[$topicId]['items'][0]) && isset($topicDetails[$topicId]['items'][0]['options'])): ?>
- <ul class="answer clearfix">
- <?php $i = 1; ?>
- <?php foreach ($topicDetails[$topicId]['items'][0]['options'] as $option): ?>
- <?php if ($topicDetails[$topicId]['items'][0]['list_type'] == 1): ?>
- <li class="fl lis-four"><?php echo $this->numToLetter($i); ?>.<?php echo $option['option_content']; ?></li>
- <?php elseif ($topicDetails[$topicId]['items'][0]['list_type'] == 2): ?>
- <li class="fl lis-two"><?php echo $this->numToLetter($i); ?>.<?php echo $option['option_content']; ?></li>
- <?php else: ?>
- <li class="fl lis-one"><?php echo $this->numToLetter($i); ?>.<?php echo $option['option_content']; ?></li>
- <?php endif; ?>
- <?php if ($option['option_correct']): $answers[] = $this->numToLetter($i); endif; ?>
- <?php $i++; ?>
- <?php endforeach; ?>
- </ul>
- <?php elseif (in_array($topicDetails[$topicId]['type_id'],array(5,6)) && isset($topicDetails[$topicId]['items']) && isset($topicDetails[$topicId]['items'][0]) && isset($topicDetails[$topicId]['items'][0]['options'])): ?>
- <?php foreach ($topicDetails[$topicId]['items'][0]['options'] as $option): ?>
- <?php $answers[] = $option['option_content']; ?>
- <?php endforeach; ?>
- <?php endif; ?>
- <div class="answer-explain-detail clearfix">
- <?php if ($answers): ?>
- <div class="fl aed-answer-msg">答案: <?php foreach ($answers as $answers): ?><?php echo $answers; ?> <?php endforeach; ?></div>
- <?php endif; ?>
- <div class="fl aed-answer-explain"><?php echo $topicDetails[$topicId]['parse_content']; ?></div>
- </div>
- <?php if(isset($excellent_solution) && $excellent_solution && isset($excellent_solution[$topicId]) && $excellent_solution[$topicId]):?>
- <div><span>同学优解</span> <span><?php echo isset($excellent_solution[$topicId]['class_name'])?$excellent_solution[$topicId]['class_name']:"";?></span> <span><?php echo isset($excellent_solution[$topicId]['student_name'])?$excellent_solution[$topicId]['student_name']:"";?></span></div>
- <div><img style="width:250px" src="<?php echo isset($excellent_solution[$topicId]['answer_url'])?$excellent_solution[$topicId]['answer_url']:"";?>"></div>
- <?php else:?>
- <?php if(in_array($topicDetails[$topicId]['type_id'],array(7,17,27))):?>
- <div><span>同学优解</span> <span>本题无优解</span></div>
- <?php endif;?>
- <?php endif;?>
- <?php if ($topicDetails[$topicId]['teacher_tips']): ?>
- <fieldset class="guide">
- <legend class="fontBold">名师指点</legend>
- <div style="padding:8px 3px;" class="font10">
- <?php echo $topicDetails[$topicId]['teacher_tips']; ?>
- </div>
- </fieldset>
- <?php endif; ?>
- <?php if (isset($fcCallbacks) && isset($fcCallbacks[$topicId]) && isset($topicDetails[$fcCallbacks[$topicId]])): ?>
- <div class="ltc-case-con clearfix">
- <div class="fl lcc-tit-msg">案例题【<?php echo $topicDetails[$fcCallbacks[$topicId]]['id'] ?>】</div>
- <div class="fl lcc-case-detail">
- <div class="theme-detail-msg">
- <?php echo $topicDetails[$fcCallbacks[$topicId]]['title']; ?>
- </div>
- <?php $fcAnswers = array(); ?>
- <?php if (($topicDetails[$fcCallbacks[$topicId]]['type_id'] == 1 || $topicDetails[$fcCallbacks[$topicId]]['type_id'] == 2) && isset($topicDetails[$fcCallbacks[$topicId]]['items']) && isset($topicDetails[$fcCallbacks[$topicId]]['items'][0]) && isset($topicDetails[$fcCallbacks[$topicId]]['items'][0]['options'])): ?>
- <ul class="answer clearfix">
- <?php $i = 1; ?>
- <?php foreach ($topicDetails[$fcCallbacks[$topicId]]['items'][0]['options'] as $option): ?>
- <?php if ($topicDetails[$fcCallbacks[$topicId]]['items'][0]['list_type'] == 1): ?>
- <li class="fl lis-four"><?php echo $this->numToLetter($i); ?>.<?php echo $option['option_content']; ?></li>
- <?php elseif ($topicDetails[$topicId]['items'][0]['list_type'] == 2): ?>
- <li class="fl lis-two"><?php echo $this->numToLetter($i); ?>.<?php echo $option['option_content']; ?></li>
- <?php else: ?>
- <li class="fl lis-one"><?php echo $this->numToLetter($i); ?>.<?php echo $option['option_content']; ?></li>
- <?php endif; ?>
- <?php if ($option['option_correct']): $fcAnswers[] = $this->numToLetter($i); endif; ?>
- <?php $i++; ?>
- <?php endforeach; ?>
- </ul>
- <?php elseif ($topicDetails[$fcCallbacks[$topicId]]['type_id'] == 5 && isset($topicDetails[$fcCallbacks[$topicId]]['items']) && isset($topicDetails[$fcCallbacks[$topicId]]['items'][0]) && isset($topicDetails[$fcCallbacks[$topicId]]['items'][0]['options'])): ?>
- <?php foreach ($topicDetails[$fcCallbacks[$topicId]]['items'][0]['options'] as $option): ?>
- <?php $fcAnswers[] = $option['option_content']; ?>
- <?php endforeach; ?>
- <?php endif; ?>
- </div>
- </div>
- <div class="ltc-case-answer">
- 【答案】<?php foreach ($fcAnswers as $fcAnswer): ?><?php echo $fcAnswer; ?> <?php endforeach; ?>
- 【解析】<?php echo $topicDetails[$fcCallbacks[$topicId]]['parse_content']; ?>
- </div>
- <?php endif; ?>
- </div>
- <?php endif; ?>
- <?php $idx++; ?>
- <?php endforeach; ?>
- <?php endif; ?>
- </div>
- <?php elseif ($wb_isp_version == 1):?>
- <div class="tec-lis">
- <?php if(isset($gen_topics) && $gen_topics):?>
- <p class="tl-tit fzl">五、试卷讲评</p>
- <?php else:?>
- <p class="tl-tit fzl">四、试卷讲评</p>
- <?php endif;?>
- <?php $index = 0; ?>
- <?php foreach ($template_topic_arr as $template_id => $level_topic) : $index += 1; $topic_detail = $topic_details[$template_id]?>
- <div class="little-themes-con">
- <div class="them-apecial-style clearfix">
- <!--<div class="fontBold topic-order fl">第<?php // echo $topic_no_arr[$template_id];?>题</div>【<?php // echo $template_id ?>】-->
- <div class="tas-score-detail no-border">
- <span class="fontBold topic-order">第<?php echo $topic_no_arr[$template_id];?>题</span>
- <span>【<?php echo $template_id;?>】</span>
- <span>考点:<?php echo $topic_detail['methods'];?></span>
- <span class="line"></span>
- </div>
- </div>
- <div class="theme-detail-msg" style="margin-left: 5px;">
- <span class="tsd-lis-detail">班级得分率:<?php if (isset($groupTopics[$template_id]) && isset($topics[$template_id]['classRate'])): echo $topics[$template_id]['classRate'].'%'; endif; ?></span>
- <span class="tsd-lis-detail">年级得分率:<?php if (isset($gradeTopicRate[$template_id])): echo $gradeTopicRate[$template_id].'%'; endif; ?></span>
- <span class="tsd-lis-detail">答对:<?php if (isset($topics[$template_id])): echo $topics[$template_id]['numRight']; endif; ?>人</span>
- <span class="tsd-lis-detail">答错:<?php if (isset($topics[$template_id])): echo $topics[$template_id]['numWrong']; endif; ?>人</span>
- </div>
- <div class="theme-detail-msg" style="margin-left: 5px;margin-bottom: 10px;">
- <?php if(isset($topics[$template_id]['rateLess70']) && isset($topics[$template_id]['rateLess70']) && $topics[$template_id]['rateLess70']):?>
- <p class="font-bold"><?php echo ($topic_detail['type'] == 1)?'答错学生:':'得分率低于70%的学生:';?><?php echo implode('、',$topics[$template_id]['rateLess70']);?></p>
- <?php endif;?>
- </div>
- <div class="theme-answer-cons <?php if ($topic_detail['parse_video_qrcode']) echo 'has-ma'?>">
- <div class="theme-detail-msg <?php if ($topic_detail['parse_video_qrcode']) echo 'has-ma'?>">
- <?php echo $topic_detail['queBody'];?>
- </div>
- <?php if ($topic_detail['options']):?>
- <ul class="answer clearfix <?php if ($topic_detail['parse_video_qrcode']) echo 'has-ma'?>">
- <?php echo $topic_detail['options'];?>
- </ul>
- <?php endif;?>
- <?php if ($topic_detail['parse_video_qrcode']):?>
- <img src="data:image/png;base64,<?php echo $topic_detail['parse_video_qrcode']; ?>" alt="" class="sweep-icon">
- <?php endif;?>
- </div>
- <?php if(isset($excellent_solution) && $excellent_solution && isset($excellent_solution[$template_id]) && $excellent_solution[$template_id]):?>
- <div><span>同学优解</span> <span><?php echo isset($excellent_solution[$template_id]['class_name'])?$excellent_solution[$template_id]['class_name']:"";?></span> <span><?php echo isset($excellent_solution[$template_id]['student_name'])?$excellent_solution[$template_id]['student_name']:"";?></span></div>
- <div><img style="width:250px" src="<?php echo isset($excellent_solution[$template_id]['answer_url'])?$excellent_solution[$template_id]['answer_url']:"";?>"></div>
- <?php else:?>
- <?php if(in_array($topic_detail['type'],array(7,17,27))):?>
- <div><span>同学优解</span> <span>本题无优解</span></div>
- <?php endif;?>
- <?php endif;?>
- <div class="answer-explain-detail clearfix">
- <div class="fl aed-answer-msgs">【答案】 <?php echo $topic_detail['answer']; ?></div>
- <div class="aed-answer-explain">【解析】<?php echo $topic_detail['analysis'];?></div>
- </div>
- <div class="student-level-question">
- <?php foreach ($level_topic as $level => $topic_id): $level_topic_detail = $topic_details[$topic_id]; ?>
- <div class="slq-list">
- <div class="them-apecial-style clearfix">
- <div class="theme-answer-cons <?php if ($level_topic_detail['parse_video_qrcode']) echo 'has-ma'?>">
- <?php // if($level_rule != 1):?>
- <div class="fontBold slq-topic-order fl"><?php switch ($level){case 1:echo '尖子生';break;case 2: echo '优秀生';break;case 3: echo '中等生';break;case 4:echo '学困生';break;} ?></div>
- <?php // endif;?>
- <div class="tas-score-detail no-border <?php if ($level_topic_detail['parse_video_qrcode']) echo 'has-ma'?>">
- <span>【<?php echo $topic_id?>】</span>
- <span><?php echo $level_topic_detail['queBody'];?></span>
- </div>
- <?php if ($level_topic_detail['options']):?>
- <ul class="slq-answer answer clearfix">
- <?php echo $level_topic_detail['options']; ?>
- </ul>
- <?php endif; ?>
- </div>
- <div class="answer-explain-detail clearfix">
- <div class="fl aed-answer-msgs">【答案】 <?php echo $level_topic_detail['answer'];?></div>
- <div class="aed-answer-explain">【解析】<?php echo $level_topic_detail['analysis'];?></div>
- </div>
- <?php if ($level_topic_detail['parse_video_qrcode']):?>
- <img src="data:image/png;base64,<?php echo $level_topic_detail['parse_video_qrcode']; ?>" alt="" class="sweep-icon">
- <?php endif;?>
- </div>
- </div>
- <?php endforeach;?>
- </div>
- </div>
- <?php endforeach;?>
- </div>
- <?php endif; ?>
- </body>
- </html>
|