Assuming you are looking at a 2.5, the risk you run into for the 06/07 would be the infamous timing chain problem. This doesn't affect all cars but keep in mind it is possible you may end up being unlucky. If you can stretch the budget you may try to go with an 08.
Have you thought about a Rabbit? I did a quick search in my area and saw a few three door 08 Rabbits come in at your budget.