Tidy up "shaper.inc" XHTML

Add missing end TR tag
Add missing end TD tag
Add missing end SPAN tag
Move table row start into the PHP IF statement, so that the IF statement
generates the full table row
Remove duplicate ID in INPUT tag
Size parameter in INPUT tag can only be a whole number
Name parameter is not valid for TR tag
Add missing end P tag
Merge pull request #507 from ExolonDX/branch_01

Tidy up "shaper.inc" XHTML