Indents and syntax errors

@shoghicp said:
> Always indent well.

Indent well and then you will find the obvious errors like the curly braces.

Also, sorry if I am hurting you, but well,

> Learn PHP.
Merge pull request #1 from PEMapModder/master

Indents and syntax errors