1234567891011 |
- <?php
- $examStatus = array(0=>'未上传',1=>'答案未上传',3=>'题目未上传',4=>'已上传');
- if(isset($examStatus[$cl['uploadExamStatus']])){
- $_status = $cl['uploadExamStatus'];
- if($_status == 4){
- echo ''.$examStatus[$cl['uploadExamStatus']].'';
- }else{
- echo '<span style="color:red">'.$examStatus[$cl['uploadExamStatus']].'</span>';
- }
- }
- ?>
|