if($navinfor['titlepic']!=''){ $titlepic=$navinfor['titlepic']; }else{ $number = mt_rand(1,200); $titlepic="https://img.az9.cn/tp/".$number .".jpg"; } ?>