Yeah, I'm with darkskys; there's not really anything inexpensive or compact that is going to give you what you're looking for.
Plenty of alternative exercises though:
Quads - squat, split squat, lunges, weighted step-ups
Hamstrings - bulgarian split squat, romanian deadlift, good mornings, kettlebell swings, back extension