Update functions.inc.php

Fix gateway widget size change on first update.
Inner table size changes because the table in update data does not have the same attributes as the widget.  i.e. border, cellpadding & cellspacing.
Update functions.inc.php

May as well remove this errant td end tag too.
Merge pull request #778 from N0YB/patch-11

Update functions.inc.php