updated html generation
Merge branch 'master' of https://github.com/element4git/pluggedin

Conflicts:
	index.php - resolved using theirs