'; foreach ($video as $row) { $pic=!empty($row->pic)?'':'-'; //状态 $zt=($row->yid==0)?'':''; if($row->hid==1){ //回收站 $zt=''; } //推荐状态 $tj='×'; for($i=1;$i<=$row->reco;$i++){ $tj.=''; } for($j=$row->reco+1;$j<=5;$j++){ $tj.=''; } //分类 $cname=$this->MsdjDB->getzd('video_list','name',$row->cid); //时间加亮 if(date('Y-m-d',$row->addtime)==date('Y-m-d')){ $addtime=''.date('Y-m-d',$row->addtime).''; }else{ $addtime=date('Y-m-d',$row->addtime); } //演员 $singer=''; if($this->db->table_exists(MS_SqlPrefix.'singer') && $row->singerid>0){ //演员表存在 $singer=$this->MsdjDB->getzd('singer','name',$row->singerid); if($singer!='null'){ $singer=' ('.L('tpl_35').':'.$singer.')'; } } //会员 $user='---'; if($row->uid>0){ $user=$this->MsdjDB->getzd('user','name',$row->uid); if(!empty($user) && $user!='null'){ $user=''.$user.''; } } echo ' '; } ?>
ID
'.L('tpl_41').'
'.$row->id.' '.$pic.' '.$row->name.$singer.' '.$cname.' '.$user.' '.$row->hits.' '.$tj.' '.$zt.' '.$addtime.' '.L('tpl_47').'  |  '.L('tpl_50').'
  • '.L('tpl_54').'
  • '.L('tpl_55').'
  • '; if(config('Web_Mode')==3 && $yid!=3) echo '
  • '.L('tpl_56').'
  • '; ?>