status_other.php 416 B

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