", "", "" ); } // Add user(s) to ignored list else { if (!isset($Ign)) $Ign=""; $Ignore = explode (",", stripslashes($Cmd[3])); for ($i = 0; $i < count($Ignore); $i++) { $Ignore[$i] = trim($Ignore[$i]); if ($Ignore[$i] == "") continue; if ($Ignore[$i] != "" && $Ignore[$i] != stripslashes($U) && !is_user_ignored($Ignore[$i], $Ign)) { $tmp = urlencode($Ignore[$i]); $IsCommand = true; $Ign .= $Ign != "" ? ",".$tmp : $tmp; $RefreshMessages = true; } } } } else { // Unset ignored list if ($Cmd[3] == "") { $IsCommand = true; if (isset($Ign) && $Ign != "") { $RefreshMessages = true; unset($Ign); } } // Remove user(s) from ignored list else { $IsCommand = true; if (isset($Ign) && $Ign != "") { $Ignore = explode (",", stripslashes($Cmd[3])); for ($i = 0; $i < count($Ignore); $i++) { $Ignore[$i] = trim($Ignore[$i]); if ($Ignore[$i] == "") continue; if ($Ignore[$i] != "" && is_user_ignored($Ignore[$i], $Ign)) { $users = explode(",", $Ign); $Ign = ""; for (reset($users); $user_name=current($users); next($users)) { if ($Ignore[$i] != urldecode($user_name)) $Ign .= ($Ign != "")? ",".$user_name : $user_name; } if ($Ign == "") unset($Ign); $RefreshMessages = true; } } } } } if ($IsCommand) $First = 1; // Will completly reload the loader script if (!$IsPopup && $IsCommand) { $Tmp = (isset($Ign) && $Ign != "") ? "&Ign=".urlencode(stripslashes($Ign)) : ""; // Define a table that contains JavaScript instructions to be ran $jsTbl = array( "" ); }; ?>