The 49ers have traded the last 3 times they were to draft. Yesterday they traded their 3rd round pick for the 97th pick today. Then turned around and traded the 97th pick to Miami for their 103rd pick, 196th (6th rd) this year and a 6th round in 2013.
The 49ers then turned around and traded the 103rd pick to the Panthers for their 180th pick (6th rd) and a 3rd round in 2013.
All in all the 49ers still have their 125th pick in the 4th round, now have 3 6th rd picks and next year have two picks in rounds 3, 5, 6, and 7.