Index page cleanup

- Used "<?php echo" instead of "<?=" PHP short tag (they aren't always enabled)
- Used ' instead of " for strings without variable name in it
- Modified a bit the procedure to get the language (some PHP noticed was there)