Parsing GET Variables

but how would it work in my example?
i mean how can i parse which mode, and what the options?

Try something yourself. If it doesn't work, come on back.