Very good replies so far. People lose confidence in their workout program far too easily b/c they aren't seeing results now. It takes a little for your body to adjust so give it some patience and keep working out. Thats a very good idea of going 3 times per week to lift. The most important lift (in my mind) is the squat. By doing these you're releasing more endorphins into the blood stream which will make it easier to hit your weight loss/fitness goals in a more timely manner. Swimming would also be a great thing to maintain since it is no real resistance and a total body workout. I workout 5 times per week (3 in the gym. 1 is P90x and the other is dedicated to swimming - I can't sprint on a consistent basis yet but hopefully will soon). Also don't limit your workouts to just the time you spend in the gym.
when you're at work and bored do something physicals whether its standing squats with onyl body weight, stretching, push ups, some abs, etc. make working out in various places a part of your routine. It breaks up the day and gives you more energy throughout.
Today is a new day. You will get out of it just what you put into it. If you have made mistakes, there is always another chance for you. And supposing you have tried and failed again and again, you may have a fresh start any moment you choose, for this thing we call 'Failure' is not the falling down, but the staying down.