无图片时随机显示图片代码
无图片时随机显示图片代码
$newslist[$k]['thumb'] = !empty($v['thumb'])?$hostname.$v['thumb']:$hostname.'images/suiji/'.rand(1,35).'.jpg';
无图片时随机显示图片代码
$newslist[$k]['thumb'] = !empty($v['thumb'])?$hostname.$v['thumb']:$hostname.'images/suiji/'.rand(1,35).'.jpg';