year_report.php 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <meta http-equiv="X-UA-Compatible" content="ie=edge">
  7. <title>年度总结</title>
  8. <!--<link rel="stylesheet" type="text/css" href="/css/base.css">-->
  9. <style>
  10. *{margin:0;padding:0;font-weight: normal;}
  11. ol,ul,li { list-style:none;padding:0px;}
  12. .fl{float:left}
  13. .fr{float:right}
  14. .alignRight{text-align:right;}
  15. .alignCenter{text-align: center}
  16. a{text-decoration:none;}
  17. /*body img{vertical-align: middle;max-width:480px;}*/
  18. body img{vertical-align: middle;max-width:100%;}
  19. /*body{margin:10px;}*/
  20. body{margin:8px;}
  21. p{margin:0;}
  22. .paddingNo{padding:0px;}
  23. .font18{font-size:18px !important;}
  24. .font12{font-size:12px !important;}
  25. .font10{font-size:10px !important;}
  26. .font8{font-size:8px !important;}
  27. .mt5{margin-top:5px}
  28. .mt6{margin-top:6px}
  29. .mt8{margin-top:8px}
  30. .mt10{margin-top:10px}
  31. .mt15{margin-top:15px}
  32. .mt20{margin-top:20px}
  33. .mb20{margin-bottom:20px}
  34. .mt40{margin-top:40px}
  35. .ml4{margin-left:4px}
  36. .ml10{margin-left:10px}
  37. .mb5{margin-bottom:5px;}
  38. .fontBold{font-weight:bold}
  39. .clearfix:after {content: "."; display: block; height:0; clear:both; visibility: hidden;}
  40. .clearfix {*zoom:1; }
  41. .warp-box{padding:0 24px;}
  42. .sendword-box{margin:0 24px;padding:8px 10px; border:1px solid #cdcdcd;border-radius: 4px;}
  43. .sendword{position: relative;padding:10px 5px;line-height: 30px;text-indent: 2em; border:1px dashed #c8c8c8;border-radius: 3px;}
  44. .sendword-box img{position: absolute;left:20px;top:-6px;transform:translateY(-50%);height:20px;}
  45. .caption{margin-top:5px;}
  46. .caption img{height: 20px;}
  47. .table-score{width:100%}
  48. .table-score td{border-bottom:1px dashed #ccc; line-height: 30px;}
  49. .table-score thead td{position: relative;}
  50. .table-score thead i{position: absolute;top:50%;right:0;height:8px;transform:translateY(-50%); border-right:1px solid #ccc;}
  51. .point-detail{position: relative;padding-left:80px;text-align: justify;line-height: 20px;}
  52. .point-detail span{position: absolute;left:0;top:0;}
  53. .score-status div{width:25%;position: relative;}
  54. .score-status div:before{position: absolute;content: "";height:10px;border-right:1px solid #ccc;top:50%;right:0;transform: translateY(-50%)}
  55. .score-status div:last-child:before{border:0}
  56. </style>
  57. </head>
  58. <body style="padding:20px 0">
  59. <div class="sendword-box">
  60. <div class="sendword font8">
  61. 亲爱的<span class="font12"><?php echo $stu_name?></span>同学:校本课程平台感谢你的一路相伴,这份温馨的年度报告总结记载着你一年来的学习历程。来看看这一年内,校本课程平台给你带来的收货吧!
  62. <img src="/images/send_word.jpg">
  63. </div>
  64. </div>
  65. <h3 class="caption warp-box"><img src="/images/mine.png"></h3>
  66. <div class="font8 warp-box">
  67. <p class="mt10"><?php echo $year;?>年的<?php echo $days;?>天,共<?php echo $weeks;?>周,使用校本课程平台考试的连续周数最高达到了<?php echo $contin_weeks;?>周</p>
  68. <p class="mt10">希望在<?php echo $year_next;?>,我们不离不弃!</p>
  69. </div>
  70. <h3 class="caption warp-box"><img src="/images/cat_01.png"></h3>
  71. <div class="warp-box">
  72. <table class="font8 table-score alignCenter">
  73. <thead>
  74. <tr>
  75. <td></td>
  76. <td>语文</td>
  77. <td>数学</td>
  78. <td>英语</td>
  79. <td>政治</td>
  80. <td>历史</td>
  81. <td>地理</td>
  82. <td>物理</td>
  83. <td>化学</td>
  84. <td>生物 <i></i></td>
  85. <td>文综</td>
  86. <td>理综</td>
  87. </tr>
  88. </thead>
  89. <tbody>
  90. <tr>
  91. <td>全年级考试总场次</td>
  92. <?php if($exam_count):?>
  93. <?php foreach($exam_count as $k=>$v):?>
  94. <td><?php echo $v['total_count']?></td>
  95. <?php endforeach;?>
  96. <?php endif;?>
  97. </tr>
  98. <tr>
  99. <td>实际参与次数</td>
  100. <?php if($exam_count):?>
  101. <?php foreach($exam_count as $k=>$v):?>
  102. <td><?php echo $v['real_count'];?></td>
  103. <?php endforeach;?>
  104. <?php endif;?>
  105. </tr>
  106. <tr>
  107. <td>缺考场次</td>
  108. <?php if($exam_count):?>
  109. <?php foreach($exam_count as $k=>$v):?>
  110. <td><?php echo $v['del_count'];?></td>
  111. <?php endforeach;?>
  112. <?php endif;?>
  113. </tr>
  114. </tbody>
  115. </table>
  116. </div>
  117. <h3 class="caption warp-box"><img src="/images/cat_02.png"></h3>
  118. <div class="warp-box">
  119. <table class="font8 table-score alignCenter">
  120. <thead>
  121. <tr>
  122. <td></td>
  123. <td>语文</td>
  124. <td>数学</td>
  125. <td>英语</td>
  126. <td>政治</td>
  127. <td>历史</td>
  128. <td>地理</td>
  129. <td>物理</td>
  130. <td>化学</td>
  131. <td>生物 <i></i></td>
  132. <td>文综</td>
  133. <td>理综</td>
  134. </tr>
  135. </thead>
  136. <tbody>
  137. <tr>
  138. <td>班级排名上升次数</td>
  139. <?php if($score_mes):?>
  140. <?php foreach($score_mes as $k=>$v):?>
  141. <td><?php echo $v['rise_count'];?></td>
  142. <?php endforeach;?>
  143. <?php endif;?>
  144. </tr>
  145. <tr>
  146. <td>班级排名下降次数</td>
  147. <?php if($score_mes):?>
  148. <?php foreach($score_mes as $k=>$v):?>
  149. <td><?php echo $v['drop_count'];?></td>
  150. <?php endforeach;?>
  151. <?php endif;?>
  152. </tr>
  153. <tr>
  154. <td>考试进班级前10%</td>
  155. <?php if($score_mes):?>
  156. <?php foreach($score_mes as $k=>$v):?>
  157. <td><?php echo $v['class_top_ten'];?></td>
  158. <?php endforeach;?>
  159. <?php endif;?>
  160. </tr>
  161. <tr>
  162. <td>统考进年级前10%</td>
  163. <?php if($score_mes):?>
  164. <?php foreach($score_mes as $k=>$v):?>
  165. <td><?php echo $v['unified_top_ten'];?></td>
  166. <?php endforeach;?>
  167. <?php endif;?>
  168. </tr>
  169. </tbody>
  170. </table>
  171. </div>
  172. <h3 class="caption warp-box"><img src="/images/cat_03.png"></h3>
  173. <div class="warp-box" >
  174. <table class="font8 table-score alignCenter">
  175. <thead>
  176. <tr>
  177. <td>科目</td>
  178. <td>考试名称</td>
  179. <td>分数</td>
  180. <td>年级排名</td>
  181. <td>班级排名</td>
  182. </tr>
  183. </thead>
  184. <tbody>
  185. <?php if($best_exam_mes):?>
  186. <?php $subjectName = array(
  187. 3=>'数学',
  188. 6=>'数学',
  189. 8=>'英语',
  190. 9=>'语文',
  191. 12=>'物理',
  192. 13=>'化学',
  193. 14=>'生物',
  194. 15=>'政治',
  195. 16=>'历史',
  196. 17=>'地理',
  197. 18=>'理综',
  198. 19=>'文综',
  199. );?>
  200. <?php foreach($best_exam_mes as $k=>$v):?>
  201. <tr>
  202. <td><?php echo $subjectName[$k];?></td>
  203. <td><?php echo $v['name'];?></td>
  204. <td><?php echo $v['scoring'];?>/<?php echo $v['score'];?></td>
  205. <td><?php echo $v['grade_no'];?>/<?php echo $v['grade_total_no'];?></td>
  206. <td><?php echo $v['class_no'];?>/<?php echo $v['class_total_no'];?></td>
  207. </tr>
  208. <?php endforeach;?>
  209. <?php endif;?>
  210. </tbody>
  211. </table>
  212. </div>
  213. <h3 class="caption warp-box"><img src="/images/cat_04.png"></h3>
  214. <div class="font8 warp-box">
  215. <p class="mt15">考察考点总量:共<?php echo $method_mes['count'];?>个</p>
  216. <p class="mt15 point-detail"><span><?php echo count($method_mes['name']);?>个高频考点:</span>
  217. <?php if($method_mes['name']):?>
  218. <?php $a = 1;?>
  219. <?php foreach($method_mes['name'] as $k=>$v):?>
  220. 【考点<?php echo $a;?><?php echo $v;?>】
  221. <?php $a++;?>
  222. <?php endforeach;?>
  223. <?php endif;?>
  224. </p>
  225. </div>
  226. <h3 class="caption warp-box"><img src="/images/cat_05.png"></h3>
  227. <div class="font8 warp-box score-status mt15 clearfix">
  228. <div class="fl alignCenter"><p class="font12 mb5">共<?php echo $isp_mes['isp_days'];?>天</p>付费使用个性化学习宝</div>
  229. <div class="fl alignCenter"><p class="font12 mb5">共<?php echo $isp_mes['isp_create'];?>份</p>生成个性化学习宝</div>
  230. <div class="fl alignCenter"><p class="font12 mb5">共<?php echo $isp_mes['isp_down'];?>份</p>下载个性化学习宝</div>
  231. <div class="fl alignCenter"><p class="font12 mb5"><?php echo $isp_mes['isp_down_ratio'];?></p>下载率</div>
  232. </div>
  233. </body>
  234. </html>