$sql="select id,nickname,headimgurl,poster_url,headposter_url,headposter_times,poster_times from user where poster_url is not NULL or headposter_url is not NULL";
$sql="select u.id,u.nickname,u.tel,p.prize_name,p.take_time from user as u, prize as p where u.id=p.user.id and p.is_get=1";