table layout with footer