www.12306.cn
You need to register first and after logging in, you select you leaving and approaching city and leaving date. Then u can go search and decide which train to take. Make sure u must pay online Within certain time. I remember maybe within 40 mins.
Hope it helps.