Man sentenced after pleading guilty to child porn charges