I was looking to do a whois lookup based on IP too. But I didn't want to lose the ability to block IPs based on the existing link. So in the 'IPs for date...' section (right column) I added a little lookup icon and linked it to the whois link above.
, I just changed the value assigned to $row->name
(line 91) to a more complex value containing the icon in a link to whois followed by the ip with the link to block.
$row->name = "<a href=\"http://cqcounter.com/whois/?query=$ip\" target=\"_blank\">";
$row->name .="<img src=\"$this->mosConfig_live_site/components/com_joomlawatch/icons/lookup.gif\" style=\"border: 0px;\" alt=\"Who is $ip?\" /></a>";
You can select any 16x16 icon that you want to use for ip lookup. Just name it lookup.gif
and copy it to the /components/com_joomlawatch/icons
folder. If your icon has another name, just change the src reference in the img tag.