How Philadelphia Magazine rose while the city’s newspapers floundered and its alt-weekly fell.