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 parameter 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