topic_count.php 1.7 KB

1234567891011121314151617181920212223242526272829
  1. <div class="moduleTypeTitle w100">
  2. <img class="titleBg" src="<?php echo $imgUrl;?>/images/en_teach/icon_moduleType.png" alt="">
  3. <div class="titleContent">
  4. <h3>第<?php echo $no;?>题 <?php echo isset($logicTypeName[$topicType])?$logicTypeName[$topicType]:'';?> (共<?php echo isset($topic_rel_topic_count[$topicId])?$topic_rel_topic_count[$topicId]:0;?>题,满分<?php echo isset($topic_score[$topicId])?$topic_score[$topicId]:0;?>分) 【<?php echo $topicInfo['id'];?>】</h3>
  5. </div>
  6. </div>
  7. <p>
  8. 班级得分率:<i class="notice"><?php echo isset($topicRateStu['class_rate'][$topicId])?$topicRateStu['class_rate'][$topicId]:0;?>%</i>
  9. 年级得分率:<i class="notice"><?php echo isset($topicRateStu['grade_rate'][$topicId])?$topicRateStu['grade_rate'][$topicId]:0;?>%</i>
  10. 答对: <i class="notice"><?php echo isset($topicRateStu['right_stu'][$topicId])?$topicRateStu['right_stu'][$topicId]:0;?></i> 人
  11. 答错: <i class="notice"><?php echo isset($topicRateStu['wrong_stu'][$topicId])?$topicRateStu['wrong_stu'][$topicId]:0;?></i> 人
  12. </p>
  13. <?php
  14. $rateLessAvg = isset($topicRateStu['rate_less_avg']) ? $topicRateStu['rate_less_avg'] : array();
  15. if(isset($rateLessAvg[$topicInfo['id']]) && $rateLessAvg[$topicInfo['id']]):?>
  16. <div class="moduleTheme">
  17. <div class="moduleIcon">
  18. <div class="pic">
  19. <img src="<?php echo $imgUrl;?>/images/en_teach/icon_chart.png" alt="">
  20. </div>
  21. <em>得分低于班级均分的学生</em>
  22. </div>
  23. <div class="content">
  24. <p class="paragraph">
  25. <?php echo $rateLessAvg[$topicInfo['id']];?>
  26. </p>
  27. </div>
  28. </div>
  29. <?php endif;?>