server_status_monitor.php refactor, split long function into small functions

1 getPopContentHtml
2 getTabLinksHtml