If i knew that you were going to their party i would go with you.
If i knew that you are going to their party i would go with you.
These two are a bit weird- do you know or not? If you're talking about the past, use 'If I'd known....Iwould have gone'.
