<script type="text/javascript"> <!-- function pm(tform) { var users = new Array(); var arrCount = 0; for (i = 0; i < tform.elements.length; i++) { var element = tform.elements[i]; if ((element.name != "allbox") && (element.type == "checkbox") && (element.checked == true)) { users[arrCount] = element.value; arrCount++; } } if (arrCount == 0) { alert("$vbphrase[no_users_selected]"); } else { var querystring = ""; for (i = 0; i < users.length; i++) { querystring += "&userid[]=" + users[i]; } if (opener && !opener.closed ) { // parent window is still open self.location= "private.php?$session[sessionurl]do=newpm" + querystring; // opener.location="private.php?$session[sessionurl]do=newpm" + querystring; } else { // parent window has closed or went to a different URL. self.location= "private.php?$session[sessionurl]do=newpm" + querystring; //window.open("private.php?$session[sessionurl]do=newpm" + querystring, "pm"); } } } // --> </script> <form action="private.php" method="post" target="_blank" name="vbform"> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%"> <tr> <td class="tcat" colspan="3">$vbphrase[contacts]</td> </tr> <tr> <td class="thead" align="center" colspan="3"><span class="smallfont">-- <strong>$vbphrase[online]</strong> --</span></td> </tr> $onlineusers <tr> <td class="thead" align="center" colspan="3"><span class="smallfont">-- <strong>$vbphrase[offline]</strong> --</span></td> </tr> $offlineusers <tr> <td class="tfoot" align="center" colspan="3"> <input type="button" class="button" value="$vbphrase[pm_users]" onclick="pm(this.form);" title="$vbphrase[send_private_message_to_selected_users]" /> </td> </tr> </table> </form>
<tr> <td class="alt1"><a href="member.php?$session[sessionurl]u=$buddy[userid]"><img src="$stylevar[imgdir_statusicon]/user_$buddy[statusicon].gif" alt="" title="<phrase 1="$buddy[username]" 2="$buddy[statusicon]">$vbphrase[x_is_y]</phrase>" border="0" /></a></td> <td class="alt2" width="100%"><label class="smallfont" for="buddy_$buddy[userid]"><a href="member.php?$session[sessionurl]u=$buddy[userid]"><if condition="$show['highlightuser']"><span class="highlight">$buddy[username]</span><else />$buddy[username]</if></a></label></td> <td class="alt1"><input type="checkbox" name="userid[]" id="buddy_$buddy[userid]" value="$buddy[userid]" /></td> </tr>
Show Your Support