server_status_monitor.php refactor, split long function into small ones

1 getTabLinksHtml
2 getPopContentHtml