The problem is in the script. If you look at line 37, you will see the call for the port number. It will look like checkPort({$num},80);
You need to make the changes to this to work with your page. The one you want to put for your page would be as follows:
<td id="uptime{$num}"><img src="images/loadingsml.gif" alt="{$LANG.loading}" /><script> checkPort({$num},80); checkPort({$num},21); checkPort({$num},110); getStats({$num}); </script></td>
This would need to go right after the <td id="load{$num} on the serverstatus.tpl for your site template. If you want to add other ports, you will need to change checkPort({$num},110); to match the port number, put a space after the preceding ;. The example for this would be like this checkPort({$num},110); checkPort({$num},143);
Hope this helps.