1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- <?php if(isset($_htb_text_arr[$node_arr['pcId']]) && $_htb_text_arr[$node_arr['pcId']]):?>
- <?php
- $topic_text_arr = $_htb_text_arr[$node_arr['pcId']];
- $_details = isset($topic_text_arr['details'])?$topic_text_arr['details']:array();
- $topic_no = 0;
- ?>
- <div class="standard-answer-mod">
- <div class="standard-answer-mod-title edition">
- <?php if ($node_arr['level'] == 1):?>
- <div class="edition-title">
- <span class="text"><?php echo $topic_text_arr['pc_name'];?></span>
- </div>
- <?php elseif ($node_arr['level'] == 2):?>
- <div class="edition-title-two">
- <img src="<?php echo Yii::app()->request->hostInfo.'/images/math_htb/bg-edition-text-two-l.png';?>" alt="">
- <span class="text"><?php echo $topic_text_arr['pc_name'];?></span>
- <img src="<?php echo Yii::app()->request->hostInfo.'/images/math_htb/bg-edition-text-two-r.png';?>" alt="">
- </div>
- <?php else:?>
- <div class="edition-title-three">
- <span class="text"><?php echo $topic_text_arr['pc_name'];?></span>
- </div>
- <?php endif;?>
- </div>
- <?php foreach ($_details as $_k => $detail):?>
- <?php if(isset($detail['pwId']) && $detail['pwId'] == 2):?>
- <div class="answer-topic-block">
- <?php
- $topic_info = isset($topic_info_arr[$detail['topicId']]) ? $topic_info_arr[$detail['topicId']] : array();
- if(!$topic_info) continue;
- $topic_no++;
- ?>
- <div class="answer-topic-item">
- <div class="fwb">
- <span class="number"><?php echo $topic_no;?>、【<?php echo $topic_info['topic_id'];?>】 </span>
- <span>【答案】<?php echo $topic_info['answer'];?> </span>
- </div>
- <div>
- <span class="fwb">【解析】 </span><?php echo $topic_info['analysis'];?>
- </div>
- </div>
- </div>
- <?php endif;?>
- <?php endforeach;?>
- </div>
- <?php endif;?>
|