To use it without the image use the below code...make certain the file locations are correct for your install.
<?php
require_once('libs/common.php');
require_once('libs/chat.php');
require_once('libs/operator.php');
require_once('libs/groups.php');
$groupid = verifyparam( "group", "/^\d{1,8}$/", "");
if($groupid) {
loadsettings();
if($settings['enablegroups'] == '1') {
$group = group_by_id($groupid);
if(!$group) {
$groupid = "";
}
} else {
$groupid = "";
}
}
$image_postfix = has_online_operators($groupid) ? "on" : "off";
if ( $image_postfix == "on" ) {
echo "<a class=\"button\" href=\"/wordpressmwl/chat/client.php?locale=en\" target=\"_blank\" onclick=\"if(navigator.userAgent.toLowerCase().indexOf('opera') != -1 && window.event.preventDefault) window.event.preventDefault();this.newWindow = window.open('/wordpressmwl/chat/client.php?locale=en&url='+escape(document.location.href)+'&referrer='+escape(document.referrer), 'webim', 'toolbar=0,scrollbars=0,location=0,status=1,menubar=0,width=640,height=480,resizable=1');this.newWindow.focus();this.newWindow.opener=window;return false;\"><img src=\"\locales\en\button\webmin_on.gif\" /></a>";
}
echo "";
if ( $image_postfix == "off" ) {
echo "";
}
echo "";
?>