In addition to the block reward (currently 50 and approaching zero) the miner gets any transaction fees for transactions included in the block. At the present, the block reward massively exceeds the transaction fees, but that will eventually skew the other way.