Airman gets detention, job at risk over porn