The service status icon is not always in a table.

The service status icon (get_service_status_icon) is not always in a table.
So the caller should apply table td element, rather than the function.

http://validator.w3.org/check
Document type does not allow element "td" here <td class="listr" align="center">
The element named above was found in a context where it is not allowed.