Need help with character RIG

Hey guys, i’m new to character rigging and i was wondering what i’m doing wrong…
Just see for yourself what happens :

in pose mode the leg is all weird, how would i go about fixing that!

It has a twist that can be fixed in edit mode. You need to select the offending bone (bone.014?) and adjust its roll in the properties editor. Look at what the roll of the opposite bone (bone.006) is at and set the other bone counter to that, so it mirrors it’s roll position.