schnitz81/rt-magnet — pull request #3 by atquick (2012-07-02 21:58:27+00:00)
Title: Does a cleanup of the HTML.

Fixes incorrect html usage, and separates the PHP and HTML better.

Title has been moved to the HEAD tag, [where it should be](http://www.w3.org/TR/html401/struct/global.html#h-7.4.2), and large sections of HTML where the content is just echoed out; has been updated to be outside the php tag.

Content inside PRE had the BR removed, since it isn't needed outside an echo (only needed since you didn't have line breaks \n in the echo).
The listing of directories is done with a h3 tag for each directory. Embedding a line break (BR) suggests that you're splitting one title, rather than having several.
If you want to change the spacing between them, it's better to modify the CSS though the style attribute, or with a global style definition.