123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627 |
- <!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;margin: auto;border-right: none;}
- 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;}
- .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;text-align: center}
- .knowledge-hasget-count th{text-align: center;font-weight: normal; border:1px solid #ccc;background: #eee;border-left: none;border-top: none;}
- .test-point-name{text-indent: 4px;width:100px;}
- .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;font-size: 8px;/*border: 1px solid #C0C0C2;background: #FAFAFA;border-radius: 50%;*/}
- .knowledge-counts td{padding: 4px 0;}
- .knowledge-counts th{background: #eee;border:1px solid #ccc;}
- .knowledge-counts tr td:nth-child(2){border-left:0;}
- /*.knowledge-counts tr td:nth-child(1){border-right:0;}*/
- .knowledge-counts tr th:nth-child(2){border-left:0;}
- .knowledge-counts tr th:nth-child(1){border-right:0;}
- .sel-theme-ser{width: 25%;}
- .them-apecial-style{position: relative;margin-top: 6px;}
- .cad-main-tables{margin: 6px auto;}
- .tsd-lis-detail{padding: 0 4px 0 2px;border-right: 1px solid #D6D6D7;}
- .tsd-lis-detail:last-child{border: none;}
- <?php if(!($subjectId == 8 && !$isThird)):?>
- /*.theme-detail-msg p,.answer-explain-detail p,.ltc-case-answer p{display: inline;}*/
- <?php endif;?>
- .lis-four{width: 23%;}
- .lis-two{width: 44%;}
- .lis-one{width: 88%;}
- .lis-one p{display: inline;}
- .answer li{margin: 4px 0;}
- .fontBold {font-weight: bold;}
- .stars{width: 8px;}
- .tit-white-bg{position: relative;height: 20px;background: #fff;}
- .class-score-rate{width:66px;}
- .chart-scale{top:38px!important;}
- .nice-percent{margin:10px 0;}
- .nice-percent label{width:auto!important;}
- .chart-row.weak-knowledge{height:190px!important;}
- <?php if($subjectId == 8):?>
- .theme-detail-msg img{max-height: 12px}
- <?php endif;?>
- </style>
- <link rel="stylesheet" type="text/css" href="<?php echo $imgUrl;?>/css/teaching/pdf.css">
- <style>
- .analysis-imgs img{margin-right:2%;margin-bottom:10px;}
- .analysis-imgs img:nth-child(2n){margin-right:0;}
- .low-point{width:100px;}
- .font-bold{font-weight:bold}
- .topic-num{vertical-align: top;}
- .aed-answer-msg,.aed-answer-explain{word-break: break-word;}
- .tec-lis .little-themes-con img{
- height: auto !important;
- }
- </style>
- </head>
- <body class="no-skin">
- <div class="shade"></div>
- <p class="tec-title tac font-bold"><?php //echo getSubjectName($subjectId);?><?php echo $examInfo['exam_name']; ?>-<?php echo $examInfo['class_name'] ?>-教师讲案</p>
- <div class="tec-lis">
- <p class="tl-tit fzl font-bold">一、班级情况分析</p>
- <table cellpadding="0" cellspacing="0" class="knowledge-hasget-count tac">
- <thead>
- <tr>
- <th></th>
- <th>排名</th>
- <th>排名变化</th>
- <th>平均分</th>
- <th>得分率</th>
- <th>优秀率</th>
- <th>合格率</th>
- <th>低分率</th>
- <th>考试人数</th>
- <th>缺考人数</th>
- </tr>
- </thead>
- <tbody>
- <?php $gradeAnaly = isset($classAnalyData['grade'])?$classAnalyData['grade']:array();?>
- <?php $classAnaly = isset($classAnalyData['class'])?$classAnalyData['class']:array();?>
- <?php if($classAnaly['class_num'] > 1):?>
- <tr>
- <td>年级</td>
- <td>/</td>
- <td>/</td>
- <td><?php echo isset($gradeAnaly['avg_score'])?$gradeAnaly['avg_score']:0;?></td>
- <td><?php echo isset($gradeAnaly['score_rate'])?$gradeAnaly['score_rate']:0;?>%</td>
- <td><?php echo isset($gradeAnaly['fine_rate'])?$gradeAnaly['fine_rate']:0;?>%</td>
- <td><?php echo isset($gradeAnaly['pass_rate'])?$gradeAnaly['pass_rate']:0;?>%</td>
- <td><?php echo isset($gradeAnaly['low_rate'])?$gradeAnaly['low_rate']:0;?>%</td>
- <td><?php echo isset($gradeAnaly['exam_person'])?$gradeAnaly['exam_person']:0;?></td>
- <td><?php echo isset($gradeAnaly['absent_person'])?$gradeAnaly['absent_person']:0;?></td>
- </tr>
- <?php endif;?>
- <tr>
- <td><?php echo $examInfo['class_name'];?></td>
- <td><?php echo isset($classAnaly['order'])?$classAnaly['order']:0;?></td>
- <td><?php
- if(isset($classAnaly['order_increase'])){
- if($classAnaly['order_increase'] > 0){
- echo '+'.$classAnaly['order_increase'].'↑';
- }elseif($classAnaly['order_increase'] < 0){
- echo $classAnaly['order_increase'].'↓';
- }else{
- echo 0;
- }
- }else{
- echo 0;
- }
- ?></td>
- <td><?php echo isset($classAnaly['avg_score'])?$classAnaly['avg_score']:0;?></td>
- <td>
- <?php
- if(isset($classAnaly['score_rate'])){
- if($classAnaly['rate_increase'] > 0){
- echo $classAnaly['score_rate'].'%↑';
- }elseif($classAnaly['rate_increase'] < 0){
- echo $classAnaly['score_rate'].'%↓';
- }else{
- echo $classAnaly['score_rate'].'%';
- }
- }else{
- echo '0%';
- }
- ?>
- </td>
- <td>
- <?php
- if(isset($classAnaly['fine_rate'])){
- if($classAnaly['fine_rate_increase'] > 0){
- echo $classAnaly['fine_rate'].'%↑';
- }elseif($classAnaly['fine_rate_increase'] < 0){
- echo $classAnaly['fine_rate'].'%↓';
- }else{
- echo $classAnaly['fine_rate'].'%';
- }
- }else{
- echo '0%';
- }
- ?>
- </td>
- <td><?php echo isset($classAnaly['pass_rate'])?$classAnaly['pass_rate']:0;?>%</td>
- <td><?php echo isset($classAnaly['low_rate'])?$classAnaly['low_rate']:0;?>%</td>
- <td><?php echo isset($classAnaly['exam_person'])?$classAnaly['exam_person']:0;?></td>
- <td><?php echo isset($classAnaly['absent_person'])?$classAnaly['absent_person']:0;?></td>
- </tr>
- </tbody>
- </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($largeOrderData['increase_stu'])): ?>
- <?php foreach ($largeOrderData['increase_stu'] as $key => $stuId):
- $stu_order = isset($largeOrderData['stu_order'][$stuId])?$largeOrderData['stu_order'][$stuId]:'';
- ?>
- <tr>
- <td><?php echo isset($largeOrderData['stu_name'][$stuId])?$largeOrderData['stu_name'][$stuId]:''; ?></td>
- <td><?php echo $stu_order; ?></td>
- <td>
- <?php
- if(isset($largeOrderData['stu_diff_order'][$stuId]) && $largeOrderData['stu_diff_order'][$stuId] > 0){
- echo abs($largeOrderData['stu_diff_order'][$stuId]);
- }else{
- echo $stu_order?'-':' ';
- }
- ?>
- </td>
- </tr>
- <?php endforeach; ?>
- <?php endif; ?>
- <?php for($i = 0;$i < (5-count($largeOrderData['increase_stu']));$i++):?>
- <tr><td> </td><td> </td><td> </td></tr>
- <?php endfor;?>
- </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($largeOrderData['reduce_stu'])): ?>
- <?php foreach ($largeOrderData['reduce_stu'] as $key => $stuId): ?>
- <tr>
- <td><?php echo isset($largeOrderData['stu_name'][$stuId])?$largeOrderData['stu_name'][$stuId]:''; ?></td>
- <td><?php echo isset($largeOrderData['stu_order'][$stuId])?$largeOrderData['stu_order'][$stuId]:0; ?></td>
- <td>
- <?php
- if(isset($largeOrderData['stu_diff_order'][$stuId]) && abs($largeOrderData['stu_diff_order'][$stuId]) > 0){
- echo abs($largeOrderData['stu_diff_order'][$stuId]);
- }else{
- echo '-';
- }
- ?>
- </td>
- </tr>
- <?php endforeach; ?>
- <?php endif; ?>
- <?php for($i = 0;$i < (5-count($largeOrderData['reduce_stu']));$i++):?>
- <tr><td> </td><td> </td><td> </td></tr>
- <?php endfor;?>
- </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($largeOrderData['font_five'])): ?>
- <?php foreach ($largeOrderData['font_five'] as $key => $stuId): ?>
- <tr>
- <td><?php echo isset($largeOrderData['stu_name'][$stuId])?$largeOrderData['stu_name'][$stuId]:''; ?></td>
- <td><?php echo isset($largeOrderData['stu_order'][$stuId])?$largeOrderData['stu_order'][$stuId]:0; ?></td>
- </tr>
- <?php endforeach; ?>
- <?php endif; ?>
- <?php for($i = 0;$i < (5-count($largeOrderData['font_five']));$i++):?>
- <tr><td> </td><td> </td></tr>
- <?php endfor;?>
- </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($largeOrderData['back_five'])): ?>
- <?php foreach ($largeOrderData['back_five'] as $key => $stuId): ?>
- <tr>
- <td><?php echo isset($largeOrderData['stu_name'][$stuId])?$largeOrderData['stu_name'][$stuId]:''; ?></td>
- <td><?php echo isset($largeOrderData['stu_order'][$stuId])?$largeOrderData['stu_order'][$stuId]:0; ?></td>
- </tr>
- <?php endforeach; ?>
- <?php endif; ?>
- <?php for($i = 0;$i < (5-count($largeOrderData['back_five']));$i++):?>
- <tr><td> </td><td> </td></tr>
- <?php endfor;?>
- </table>
- </div>
- </div>
- <div class="tec-lis">
- <p class="tl-tit fzl font-bold">二、考试情况分析</p>
- <div class="chart-row weak-knowledge">
- <div>
- <div class="font10 nice-percent"><label>(1)各题型年级、班级得分率对比图</label><span>班级</span><span class="percent-over">年级</span></div>
- </div>
- <div class="chart-scale font10">
- <span>1</span>
- <span>0.5</span>
- <span>0</span>
- </div>
- <ul class="chart font8 clearfix">
- <?php if(isset($typeMasterData['type_name_arr'])):?>
- <?php foreach ($typeMasterData['class_rate'] as $type => $typeName):?>
- <li class="clearfix mt10 fl">
- <div class="clearfix">
- <div class="class-progress fl" style="position:relative;width:15px; height: 100%;background-color: #595959;">
- <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>
- </div>
- <div class="class-progress fl" style="position:relative;width:15px; height: 100%;background-color: #b8b8b8;">
- <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>
- </div>
- </div>
- <label><?php echo isset($typeMasterData['type_name_arr'][$type])?$typeMasterData['type_name_arr'][$type]:'';?></label>
- </li>
- <?php endforeach;?>
- <?php endif;?>
- </ul>
- </div>
- <?php if($subjectId == 8):?><!-- 英语-->
- <!-- <p class="tl-tit fzl">(2)题型得分分布图</p>-->
- <!-- <div class="clearfix analysis-imgs">-->
- <!-- --><?php //foreach ($typeRateImg as $k => $img):?>
- <!-- <img src="--><?php //echo $img;?><!--" class="" alt="">-->
- <!-- --><?php //endforeach;?>
- <!-- </div>-->
- <?php else:?><!-- 语文和其它-->
- <!--语文表格-->
- <table cellpadding="0" cellspacing="0" class="knowledge-counts tac">
- <thead>
- <tr>
- <td style="width:100px;">题型</td>
- <td class="sel-theme-ser tac">对应题号</td>
- <td class="class-score-rate">班级得分率</td>
- <td class="class-score-rate">年级得分率</td>
- </tr>
- </thead>
- <?php if($topicTypeRelNo):?>
- <?php foreach($topicTypeRelNo as $type => $classRate):?>
- <?php
- $t_no = isset($topicTypeRelNo[$type])?$topicTypeRelNo[$type]:array();
- $is_show = true;
- ?>
- <?php foreach($t_no as $tId => $no):?>
- <tr>
- <?php if($is_show):$is_show = false;?>
- <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>
- <?php endif; ?>
- <td><?php echo $no;?></td>
- <td><?php echo isset($typeMasterData['topic_class_rate'][$tId])?$typeMasterData['topic_class_rate'][$tId]:0;?>%</td>
- <td><?php echo isset($typeMasterData['topic_grade_rate'][$tId])?$typeMasterData['topic_grade_rate'][$tId]:0;?>%</td>
- </tr>
- <?php endforeach;?>
- <?php endforeach;?>
- <?php endif;?>
- </table>
- <?php endif;?>
- </div>
- <?php if($subjectId == 8):?>
- <?php if(isset($methodCount['class_rate']) && $methodCount['class_rate']):?>
- <div class="tec-lis">
- <p class="tl-tit fzl font-bold">三、考点掌握统计</p>
- <p class="tl-tit fzl">(1)薄弱考点统计</p>
- <table cellpadding="0" cellspacing="0" class="knowledge-counts tac">
- <thead>
- <tr>
- <td class="test-point-name tac">题型</td>
- <td class="low-point tac">考点</td>
- <td class="test-get-level">考点掌握水平</td>
- <td class="class-score-rate">班级得分率</td>
- <td class="class-score-rate">年级得分率</td>
- <td class="error-counts">答错人数</td>
- <td class="sel-theme-ser tac">对应题号</td>
- </tr>
- </thead>
- <?php foreach ($methodCount['type_rel_method'] as $type => $methodIds):?>
- <?php $isFirst = true;?>
- <?php foreach ($methodIds as $mId):?>
- <tr>
- <?php if($isFirst): $isFirst = false;?>
- <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>
- <?php endif;?>
- <td class="class-score-rate">
- <div><?php echo isset($methodName[$mId])?$methodName[$mId]:'';?></div>
- </td>
- <td class="test-get-level">
- <?php $statNum = isset($methodCount['master_degree'][$mId])?$methodCount['master_degree'][$mId]:0;
- ?>
- <?php for($i = 0;$i < 5;$i++){
- if($i < $statNum){
- echo '<img src="'.$imgUrl.'/images/star_gray.png" alt="" class="stars">';
- }else{
- echo '<img src="'.$imgUrl.'/images/star_white.png" alt="" class="stars">';
- }
- }?>
- </td>
- <td class="class-score-rate"><?php echo isset($methodCount['class_rate'][$mId])?$methodCount['class_rate'][$mId]:0;?>%</td>
- <td class="class-score-rate"><?php echo isset($methodCount['grade_rate'][$mId])?$methodCount['grade_rate'][$mId]:0;?>%</td>
- <td class="error-counts"><?php echo isset($methodCount['wrong_num'][$mId])?$methodCount['wrong_num'][$mId]:0;?></td>
- <td class="sel-theme-ser">
- <?php if(isset($methodCount['method_rel_no'][$mId])):?>
- <?php foreach ($methodCount['method_rel_no'][$mId] as $no):?>
- <span class="sts-num tac"><?php echo $no;?></span>
- <?php endforeach;?>
- <?php endif;?>
- </td>
- </tr>
- <?php endforeach;?>
- <?php endforeach;?>
- </table>
- <p class="tl-tit fzl">(2)薄弱考点掌握较差学生名单</p>
- <table cellpadding="0" cellspacing="0" class="knowledge-counts">
- <thead>
- <tr>
- <td class="test-point-name tac">考点</td>
- <td class=" tac">掌握较差学生名单(掌握程度低于40%)</td>
- </tr>
- </thead>
- <?php if(isset($methodCount['diff_stu']) && $methodCount['diff_stu']):?>
- <?php foreach ($methodCount['diff_stu'] as $mId => $stuName):?>
- <tr>
- <td class="test-point-name"><?php echo isset($methodName[$mId])?$methodName[$mId]:'';?></td>
- <td>
- <?php echo $stuName;?>
- </td>
- </tr>
- <?php endforeach;?>
- <?php endif;?>
- </table>
- <p class="tl-tit fzl">(3)班级排名后25%学生的薄弱考点</p>
- <table cellpadding="0" cellspacing="0" class="knowledge-counts">
- <thead>
- <tr>
- <td class="test-point-name tac">姓名</td>
- <td class=" tac">掌握考点(掌握程度低于40%)</td>
- </tr>
- </thead>
- <?php if(isset($methodCount['class_diff_stu']) && $methodCount['class_diff_stu']):?>
- <?php foreach ($methodCount['class_diff_stu'] as $stuId => $methodNameStr):?>
- <tr>
- <td class="test-point-name"><?php echo isset($sutName[$stuId])?$sutName[$stuId]:'';?></td>
- <td>
- <?php echo $methodNameStr;?>
- </td>
- </tr>
- <?php endforeach;?>
- <?php endif;?>
- </table>
- <?php if($methodRateUrl):?>
- <p class="tl-tit fzl">(4)考点掌握情况变化趋势</p>
- <div>
- <img src="<?php echo $methodRateUrl;?>" alt="">
- </div>
- <?php endif;?>
- </div>
- <?php endif;?>
- <?php else:?>
- <div class="tec-lis">
- <p class="tl-tit fzl font-bold">三、题型掌握情况</p>
- <table cellpadding="0" cellspacing="0" class="knowledge-counts tac">
- <?php $topicType = array('1'=>'选择题','11'=>'不定项选择题','5'=>'填空题','7'=>'解答题','17'=>'选做解答题');?>
- <thead>
- <td class="test-point-name tac">题型</td>
- <td class="test-get-level">掌握水平</td>
- <td class="class-score-rate">年级得分率</td>
- <td class="class-score-rate">班级得分率</td>
- <td class="error-counts">答错人数</td>
- <td class="sel-theme-ser tac">对应题号</td>
- </thead>
- <?php if(isset($typeMasterData['class_rate'])):?>
- <?php foreach($typeMasterData['type_name_arr'] as $type => $typeName):?>
- <?php $classRate = isset($typeMasterData['class_rate'])?$typeMasterData['class_rate']:array();?>
- <tr>
- <td class="test-point-name tac"><?php echo isset($typeMasterData['type_name_arr'][$type])?$typeMasterData['type_name_arr'][$type]:'';?></td>
- <td class="test-get-level">
- <?php
- $statNum = isset($typeMasterData['type_master_degree'][$type])?$typeMasterData['type_master_degree'][$type]:0;
- ?>
- <?php for($i = 0;$i < 5;$i++){
- if($i < $statNum){
- echo '<img src="'.$imgUrl.'/images/star_gray.png" alt="" class="stars">';
- }else{
- echo '<img src="'.$imgUrl.'/images/star_white.png" alt="" class="stars">';
- }
- }?>
- </td>
- <td class="class-score-rate"><?php echo isset($typeMasterData['grade_rate'][$type])?$typeMasterData['grade_rate'][$type]:0;?>%</td>
- <td class="class-score-rate"><?php echo isset($typeMasterData['class_rate'][$type])?$typeMasterData['class_rate'][$type]:0;?>%</td>
- <td class="error-counts"><?php echo isset($typeMasterData['stu_type_wrong'][$type])?$typeMasterData['stu_type_wrong'][$type]:0;?></td>
- <td class="sel-theme-ser">
- <?php foreach($topicTypeRelNo[$type] as $no):?>
- <span class="sts-num tac"><?php echo $no;?></span>
- <?php endforeach;?>
- </td>
- </tr>
- <?php endforeach;?>
- <?php endif;?>
- </table>
- </div>
- <?php endif;?>
- <div class="tec-lis">
- <p class="tl-tit fzl font-bold"><?php echo ($subjectId == 8)?'三':'四';?>、试卷讲评</p>
- <?php foreach($paperTopicNo as $topicId => $no):?>
- <?php $topicInfo = isset($topicDetails[$topicId])?$topicDetails[$topicId]:array();?>
- <div class="little-themes-con">
- <div class="them-apecial-style clearfix">
- <div class="tit-white-bg fl">
- <div class="tas-tit-stl fl font-bold">第<?php echo $no;?>题【<?php echo $topicId;?>】</div>
- <div class="quadrangle-right fl"></div>
- </div>
- <div class="tas-score-detail">
- <span class="tsd-lis-detail font-bold">班级得分率:<?php echo isset($topicRateStu['class_rate'][$topicId])?$topicRateStu['class_rate'][$topicId]:0;?>%</span>
- <span class="tsd-lis-detail font-bold">年级得分率:<?php echo isset($topicRateStu['grade_rate'][$topicId])?$topicRateStu['grade_rate'][$topicId]:0;?>%</span>
- <span class="tsd-lis-detail font-bold">答对:<?php echo isset($topicRateStu['right_stu'][$topicId])?$topicRateStu['right_stu'][$topicId]:0;?>人</span>
- <span class="tsd-lis-detail font-bold">答错:<?php echo isset($topicRateStu['wrong_stu'][$topicId])?$topicRateStu['wrong_stu'][$topicId]:0;?>人</span>
- </div>
- </div>
- <div class="theme-detail-msg">
- <?php if(isset($topicRateStu['rate_less_70']) && isset($topicRateStu['rate_less_70'][$topicId]) && $topicRateStu['rate_less_70'][$topicId]):?>
- <p class="font-bold"><?php echo inArray($topicId,$topicRateStu['is_choice_topic'])?'答错学生:':'得分率低于70%的学生:';?><?php echo $topicRateStu['rate_less_70'][$topicId];?></p>
- <?php endif;?>
- </div>
- <br>
- <div class="theme-detail-msg">
- <?php echo $topicInfo['queBody'];?>
- </div>
- <?php if(isset($topicInfo['is_large_topic']) && $topicInfo['is_large_topic']):?>
- <!-- 小题-->
- <?php if(isset($topicInfo['slave']) && $topicInfo['slave']):?>
- <?php foreach ($topicInfo['slave'] as $topic_info):?>
- <?php if($topic_info['queBody']):?>
- <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>
- <?php endif;?>
- <?php if(($topic_info['type'] == 1 || $topic_info['type'] == 11) && isset($topic_info['options']) && $topic_info['options']):?>
- <ul class="answer clearfix font10" style="margin-right:45px">
- <?php echo isset($topic_info['options'])?$topic_info['options']:'';?>
- </ul>
- <?php endif;?>
- <?php endforeach;?>
- <div class="answer-explain-detail clearfix">
- <div class="aed-answer-msg">【答案】:
- <?php foreach($topicInfo['answer'] as $slave_id => $answer):?>
- <?php echo (isset($smallTopicNo[$slave_id])?$smallTopicNo[$slave_id]:'').".".$answer." ";?>
- <?php endforeach;?>
- </div>
- <div class="aed-answer-explain">【解析】:<?php echo $topicInfo['analysis']?$topicInfo['analysis']:'略';?></div>
- </div>
- <?php endif;?>
- <?php else:?>
- <?php if($topicInfo['type'] == 1 || $topicInfo['type'] == 11):?>
- <ul class="answer clearfix font10" style="margin-right:45px">
- <?php echo isset($topicInfo['options'])?$topicInfo['options']:'';?>
- </ul>
- <?php endif;?>
- <?php
- if(!$topicInfo['answer'] || is_array($topicInfo['answer'])){
- $topicInfo['answer'] = "";
- }
- ?>
- <div class="answer-explain-detail clearfix">
- <div class="aed-answer-msg">【答案】:<?php echo $topicInfo['answer']?$topicInfo['answer']:'略';?> </div>
- <div class="aed-answer-explain">【解析】:<?php echo $topicInfo['analysis']?$topicInfo['analysis']:'略';?></div>
- </div>
- <?php endif;?>
- </div>
- <?php endforeach;?>
- </div>
- </body>
- </html>
|