2009 Kia Optima Gear Shift

My car cranked but when I moved the gear shift it moved but the car says that it is in neutral no matter where I move it to. The gear shift in Park but it is still reading Neutral and now my car won't crank. While the car was on it started rolling backwards and I had to pull up the emergency brake to keep from hitting the garage door. Does this mean that my transmission is gone or  do I need to just replace some parts in the gear shift?

 

8