$_POST['submit'] = false; } unset($_SESSION['btComposeList'][$pmSessionID]); } if (!$_POST['submit']) { $pmSessionID = uniqid(); $composeListJS = ""; $_SESSION['btComposeList'][$pmSessionID]['member'] = array(); $_SESSION['btComposeList'][$pmSessionID]['rankcategory'] = array(); $_SESSION['btComposeList'][$pmSessionID]['rank'] = array(); $_SESSION['btComposeList'][$pmSessionID]['squad'] = array(); $_SESSION['btComposeList'][$pmSessionID]['tournament'] = array(); $_SESSION['btComposeList'][$pmSessionID]['exptime'] = time() + 3600; if (isset($_GET['threadID']) && $pmObj->select($_GET['threadID']) && isset($_GET['replyID']) && $pmObj->select($_GET['replyID'])) { $replyPMInfo = $pmObj->get_info(); $arrReceivers = $pmObj->getAssociateIDs(); $_POST['subject'] = "RE: " . filterText($replyPMInfo['subject']); if ($replyPMInfo['receiver_id'] != 0 && ($replyPMInfo['sender_id'] == $memberInfo['member_id'] || $replyPMInfo['receiver_id'] == $memberInfo['member_id'])) { $member->select($replyPMInfo['sender_id']); $member->objRank->select($member->get_info("rank_id")); $_SESSION['btComposeList'][$pmSessionID]['member'][] = $replyPMInfo['sender_id']; $composeListJS = "\n\t\t\t\t\n\t\t\t\t\$('#composeTextBox').before(\"<div class='pmComposeSelection' data-composeid = 'member_" . $replyPMInfo['sender_id'] . "'><div style='float: left'>" . $member->objRank->get_info_filtered("name") . " " . $member->get_info_filtered("username") . "</div><div class='pmComposeSelectionDelete' data-deleteid = 'member_" . $replyPMInfo['sender_id'] . "'>×</div></div>\");\n\t\t\t\t\n\t\t\t\t"; } elseif ($replyPMInfo['receiver_id'] == 0 && ($replyPMInfo['sender_id'] == $memberInfo['member_id'] || in_array($memberInfo['member_id'], $arrReceivers))) { if (isset($_GET['replyall'])) { $pmObj->set_assocTableKey("pmmember_id"); $arrPMMID = $pmObj->getAssociateIDs(); $arrGroups['list'] = array(); $arrGroups['rank'] = array(); $arrGroups['squad'] = array(); $arrGroups['tournament'] = array(); $arrGroups['rankcategory'] = array();
$memberModObj = new Member($mysqli); $categoryObj = new BasicOrder($mysqli, "forum_category", "forumcategory_id"); $categoryObj->set_assocTableName("forum_board"); $categoryObj->set_assocTableKey("forumboard_id"); $boardObj = new ForumBoard($mysqli); // Check Login $LOGIN_FAIL = true; if ($member->authorizeLogin($_SESSION['btPassword']) && $member->hasAccess($consoleObj)) { echo "\n\t\n\t\t<table class='formTable' style='margin-bottom: 20px'>\n\t\t\t<tr>\n\t\t\t\t<td class='formTitle' style='width: 50%'>Board:</td>\n\t\t\t\t<td class='formTitle' style='width: 35%'>Date Added:</td>\n\t\t\t\t<td class='formTitle' style='width: 15%'>Actions:</td>\n\t\t\t</tr>\n\t\n\t"; if (isset($_POST['mID']) && $memberModObj->select($_POST['mID'])) { $memberModInfo = $memberModObj->get_info_filtered(); if ($_POST['action'] == "add") { if (substr($_POST['bID'], 0, 4) == "cat_") { $catID = str_replace("cat_", "", $_POST['bID']); if ($categoryObj->select($catID)) { $arrBoards = $categoryObj->getAssociateIDs(); foreach ($arrBoards as $boardID) { $boardObj->select($boardID); $boardObj->addMod($memberModInfo['member_id']); } } } elseif (substr($_POST['bID'], 0, 6) == "board_") { $boardID = str_replace("board_", "", $_POST['bID']); if ($boardObj->select($boardID)) { $boardObj->addMod($memberModInfo['member_id']); } } } elseif ($_POST['action'] == "delete") { if ($boardObj->select($_POST['bID'])) { $boardObj->removeMod($memberModInfo['member_id']); }
$appComponentSelectOptionObj->addNew(array("appcomponent_id", "componentvalue"), array($appCompInfo['appcomponent_id'], $_POST['profileOptionID'])); } $member->logAction("Modified the member application."); echo "\n\t\t\t\t\t\n\t\t\t\t\t\t<div id='editAppComponentSuccess' style='display: none'>\n\t\t\t\t\t\t\t<p class='main' align='center'>\n\t\t\t\t\t\t\t\tMember Application Component Saved!<br><br>\n\t\t\t\t\t\t\t\tClick OK to continue modifying the member application.\n\t\t\t\t\t\t\t</p>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\n\t\t\t\t\t\t<script type='text/javascript'>\n\t\t\t\t\t\t\t\$(document).ready(function() {\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\$('#editAppComponentSuccess').dialog({\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\ttitle: 'Edit Application Component',\n\t\t\t\t\t\t\t\t\tmodal: true,\n\t\t\t\t\t\t\t\t\tzIndex: 99999,\n\t\t\t\t\t\t\t\t\tshow: 'scale',\n\t\t\t\t\t\t\t\t\twidth: 450,\n\t\t\t\t\t\t\t\t\tresizable: false,\n\t\t\t\t\t\t\t\t\tbuttons: {\n\t\t\t\t\t\t\t\t\t\t'OK': function() {\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\$('#loadingSpiral').show();\n\t\t\t\t\t\t\t\t\t\t\t\$('#appComponentList').fadeOut(250);\n\t\t\t\t\t\t\t\t\t\t\t\$.post('" . $MAIN_ROOT . "members/include/membermanagement/include/appcomponentlist.php', { }, function(data) {\n\t\t\t\t\t\t\t\t\t\t\t\t\$('#appComponentList').html(data);\n\t\t\t\t\t\t\t\t\t\t\t\t\$('#loadingSpiral').hide();\n\t\t\t\t\t\t\t\t\t\t\t\t\$('#appComponentList').fadeIn(250);\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\$(this).dialog('close');\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\$('#appComponentForm').dialog('close');\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t</script>\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t"; } else { $addAppForm->errors[] = " <b>·</b> Unable to save information to the database. Please contact the website administrator."; } } if (count($addAppForm->errors) > 0) { $_POST['saveComponent'] = false; } } if (!$_POST['saveComponent']) { if (($appCompInfo['componenttype'] == "select" || $appCompInfo['componenttype'] == "multiselect") && $countErrors == 0) { $appSelectOptionObj = new Basic($mysqli, "app_selectvalues", "appselectvalue_id"); $arrSelectValues = $appComponentObj->getAssociateIDs(); $tempArr = array(); foreach ($arrSelectValues as $selectValueID) { $appSelectOptionObj->select($selectValueID); $appSelectValue = $appSelectOptionObj->get_info_filtered("componentvalue"); $tempArr[$selectValueID] = $appSelectValue; } asort($tempArr); $_SESSION['btAppComponent']['cOptions'] = $tempArr; } elseif ($countErrors == 0) { $_SESSION['btAppComponent']['cOptions'] = array(); } } } else { echo "\n\t\t\t<script type='text/javascript'>\n\t\t\t\t\$(document).ready(function() {\n\t\t\t\t\t\$('#appComponentForm').dialog('close');\n\t\t\t\t});\n\t\t\t</script>\n\t\t"; }
if ($member->select($_SESSION['btUsername']) && $member->authorizeLogin($_SESSION['btPassword'])) { $memberInfo = $member->get_info_filtered(); $LOGGED_IN = true; } $breadcrumbObj->setTitle("Forum"); $breadcrumbObj->addCrumb("Home", $MAIN_ROOT); $breadcrumbObj->addCrumb("Forum"); include $prevFolder . "include/breadcrumb.php"; $boardObj->showSearchForm(); echo "\t\n\t<table class='forumTable'>\n"; $result = $mysqli->query("SELECT forumcategory_id FROM " . $dbprefix . "forum_category ORDER BY ordernum DESC"); while ($row = $result->fetch_assoc()) { $arrForumCats[] = $row['forumcategory_id']; $categoryObj->select($row['forumcategory_id']); $catInfo = $categoryObj->get_info_filtered(); $arrBoards = $categoryObj->getAssociateIDs("AND subforum_id = '0' ORDER BY sortnum", true); $dispBoards = ""; foreach ($arrBoards as $boardID) { $boardObj->select($boardID); if ($boardObj->memberHasAccess($memberInfo)) { $boardInfo = $boardObj->get_info_filtered(); $arrForumTopics = $boardObj->getForumTopics(); $newTopicBG = ""; $dispNewTopicIMG = ""; if ($LOGGED_IN && $boardObj->hasNewTopics($memberInfo['member_id'])) { $dispNewTopicIMG = " <img style='margin-left: 5px' src='" . $MAIN_ROOT . "themes/" . $THEME . "/images/forum-new.png' title='New Posts!'>"; $newTopicBG = " boardNewPostBG"; } // Get Last Post Display Info if (count($arrForumTopics) > 0) { $boardObj->objPost->select($arrForumTopics[0]);
* Author: Bluethrust Web Development * E-mail: support@bluethrust.com * Website: http://www.bluethrust.com * * License: http://www.bluethrust.com/license.php * */ include_once "../../../../_setup.php"; include_once "../../../../classes/member.php"; $member = new Member($mysqli); $member->select($_SESSION['btUsername']); $consoleObj = new ConsoleOption($mysqli); $manageStatusCID = $consoleObj->findConsoleIDByName("Manage Diplomacy Statuses"); $consoleObj->select($manageStatusCID); $diplomacyStatusObj = new BasicOrder($mysqli, "diplomacy_status", "diplomacystatus_id"); $diplomacyStatusObj->set_assocTableName("diplomacy"); $diplomacyStatusObj->set_assocTableKey("diplomacy_id"); if ($member->authorizeLogin($_SESSION['btPassword']) && $diplomacyStatusObj->select($_POST['sID']) && $member->hasAccess($consoleObj)) { $statusName = $diplomacyStatusObj->get_info_filtered("name"); $arrAssociates = $diplomacyStatusObj->getAssociateIDs(); if (count($arrAssociates) > 0) { echo "\n\t\t\t\n\t\t\t<div id='deleteDialogBox' style='display: none'>\n\t\t\t\t<p align='center' class='main'>\n\t\t\t\t\tThere are currently clans on the diplomacy page with the " . $statusName . " status. You must change their status before deleting.\n\t\t\t\t</p>\n\t\t\t</div>\n\t\t\t\n\t\t\t<script type='text/javascript'>\n\t\t\t\n\t\t\t\t\$(document).ready(function() {\n\t\t\t\t\n\t\t\t\t\t\$('#deleteDialogBox').dialog({\n\t\t\t\t\t\ttitle: 'Delete Diplomacy Status',\n\t\t\t\t\t\twidth: 400,\n\t\t\t\t\t\tshow: 'scale',\n\t\t\t\t\t\tmodal: true,\n\t\t\t\t\t\tzIndex: 99999,\n\t\t\t\t\t\tresizable: false,\n\t\t\t\t\t\tbuttons: {\n\t\t\t\t\t\t\t'OK': function() {\n\t\t\t\t\t\t\t\t\$(this).dialog('close');\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t},\n\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t});\n\t\t\t\t\n\t\t\t\t});\n\t\t\t\n\t\t\t</script>\n\t\t\t\n\t\t"; } elseif (count($arrAssociates) == 0 && !isset($_POST['confirmDelete'])) { echo "\n\t\t\t\n\t\t\t<div id='deleteDialogBox' style='display: none'>\n\t\t\t\t<p align='center' class='main'>\n\t\t\t\t\tAre you sure you want to delete the <b>" . $statusName . "</b> diplomacy status?\n\t\t\t\t</p>\n\t\t\t</div>\n\t\t\t\n\t\t\t<script type='text/javascript'>\n\t\t\t\n\t\t\t\t\$(document).ready(function() {\n\t\t\t\t\n\t\t\t\t\t\$('#deleteDialogBox').dialog({\n\t\t\t\t\t\ttitle: 'Delete Diplomacy Status',\n\t\t\t\t\t\twidth: 400,\n\t\t\t\t\t\tshow: 'scale',\n\t\t\t\t\t\tmodal: true,\n\t\t\t\t\t\tzIndex: 99999,\n\t\t\t\t\t\tresizable: false,\n\t\t\t\t\t\tbuttons: {\n\t\t\t\t\t\t\t'Yes': function() {\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\$('#loadingSpiral').show();\n\t\t\t\t\t\t\t\t\$('#statusListDiv').hide();\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\$.post('" . $MAIN_ROOT . "members/include/diplomacy/include/deletestatus.php', { sID: '" . $_POST['sID'] . "', confirmDelete: 1 }, function(data1) {\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\$('#statusListDiv').html(data1);\n\t\t\t\t\t\t\t\t\t\$('#loadingSpiral').hide();\n\t\t\t\t\t\t\t\t\t\$('#statusListDiv').fadeIn(250);\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\$(this).dialog('close');\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t'Cancel': function() {\n\t\t\t\t\t\t\t\t\$(this).dialog('close');\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t});\n\t\t\t\t\n\t\t\t\t});\n\t\t\t\n\t\t\t</script>\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t"; } elseif (count($arrAssociates) == 0 && isset($_POST['confirmDelete'])) { $diplomacyStatusObj->set_assocTableName(""); $diplomacyStatusObj->delete(); $member->logAction("Deleted the " . $statusName . " diplomacy status."); include "main_managestatuses.php"; } }
$consoleObj->select($_GET['cID']); if (!$member->hasAccess($consoleObj)) { exit; } } $cID = $_GET['cID']; $boardObj = new ForumBoard($mysqli); $categoryObj = new BasicOrder($mysqli, "forum_category", "forumcategory_id"); $categoryObj->set_assocTableName("forum_board"); $categoryObj->set_assocTableKey("forumboard_id"); $memberOptions = "<option value='select'>[SELECT]</option>"; $result = $mysqli->query("SELECT " . $dbprefix . "members.*, " . $dbprefix . "ranks.ordernum FROM " . $dbprefix . "members, " . $dbprefix . "ranks WHERE " . $dbprefix . "members.rank_id != '1' AND " . $dbprefix . "members.rank_id = " . $dbprefix . "ranks.rank_id ORDER BY " . $dbprefix . "ranks.ordernum DESC"); while ($row = $result->fetch_assoc()) { $memberRank->select($row['rank_id']); $dispRankName = $memberRank->get_info_filtered("name"); $memberOptions .= "<option value='" . $row['member_id'] . "'>" . $dispRankName . " " . filterText($row['username']) . "</option>"; } $boardOptions = "<option value='select'>[SELECT]</option>"; $result = $mysqli->query("SELECT forumcategory_id FROM " . $dbprefix . "forum_category ORDER BY ordernum DESC"); while ($row = $result->fetch_assoc()) { $categoryObj->select($row['forumcategory_id']); $arrBoards = $categoryObj->getAssociateIDs(" ORDER BY sortnum"); $catInfo = $categoryObj->get_info_filtered(); $boardOptions .= "<option value='cat_" . $catInfo['forumcategory_id'] . "'>" . $catInfo['name'] . "</option>"; foreach ($arrBoards as $boardID) { $boardObj->select($boardID); $boardInfo = $boardObj->get_info_filtered(); $boardOptions .= "<option value='board_" . $boardInfo['forumboard_id'] . "'> " . $boardInfo['name'] . "</option>"; } } echo "\n\t<div class='formDiv'>\n\t\tUse the form below to assign moderators to different boards in your forum.\n\t\t<table class='formTable'>\n\t\t\t<tr>\n\t\t\t\t<td class='formLabel'>Member:</td>\n\t\t\t\t<td class='main'><select id='memberModList' class='textBox'>" . $memberOptions . "</select></td>\n\t\t\t</tr>\n\t\t\t<tr>\n\t\t\t\t<td class='formLabel'>Board:</td>\n\t\t\t\t<td class='main'><select id='boardList' class='textBox'>" . $boardOptions . "</select></td>\n\t\t\t</tr>\n\t\t\t<tr>\n\t\t\t\t<td class='main' align='center' colspan='2'>\n\t\t\t\t\t<input type='button' class='submitButton' id='assignMod' style='width: 145px; margin: 20px auto' value='Assign as Moderator'>\n\t\t\t\t</td>\n\t\t\t</tr>\n\t\t\t<tr>\n\t\t\t\t<td class='main' colspan='2'>\n\t\t\t\t\t<div class='dottedLine' style='padding-bottom: 3px; margin-top: 10px'><b>Board List:</b></div>\n\t\t\t\t</td>\n\t\t\t</tr>\n\t\t</table>\n\t\t\n\t\t<div id='loadingSpiralPageList' style='display: none'>\n\t\t\t<p align='center' class='main'>\n\t\t\t\t<img src='" . $MAIN_ROOT . "themes/" . $THEME . "/images/loading-spiral2.gif'><br>Loading\n\t\t\t</p>\n\t\t</div>\n\t\t\n\t\t<div id='moderatorDiv'>\n\t\t\t<table class='formTable'>\n\t\t\t\t<tr>\n\t\t\t\t\t<td class='formTitle' style='width: 50%'>Board:</td>\n\t\t\t\t\t<td class='formTitle' style='width: 35%'>Date Added:</td>\n\t\t\t\t\t<td class='formTitle' style='width: 15%'>Actions:</td>\n\t\t\t\t</tr>\n\t\t\t\t<tr>\n\t\t\t\t\t<td colspan='3' align='center'>\n\t\t\t\t\t\t<div class='shadedBox' style='width: 40%; margin: 20px auto'>\n\t\t\t\t\t\t\t<p class='main' align='center'>\n\t\t\t\t\t\t\t\t<i>No member selected!</i>\n\t\t\t\t\t\t\t</p>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</td>\n\t\t\t\t</tr>\n\t\t\t</table>\n\t\t</div>\n\t</div>\n\t\n\t<div id='boardError' style='display: none'>\n\t\t<p class='main' align='center'>\n\t\t\tYou must select a board!\n\t\t</p>\n\t</div>\n\t\n\t<div id='memberError' style='display: none'>\n\t\t<p class='main' align='center'>\n\t\t\tYou must select a member!\n\t\t</p>\n\t</div>\n\t\n\t<script type='text/javascript'>\n\t\n\t\t\$(document).ready(function() {\n\t\t\n\t\t\t\$('#memberModList').change(function() {\n\t\t\t\n\t\t\t\t\$('#loadingSpiral').show();\n\t\t\t\t\$('#moderatorDiv').fadeOut(250);\n\n\t\t\t\t\$.post('" . $MAIN_ROOT . "members/include/forum/include/moderatorlist.php', { mID: \$('#memberModList').val() }, function(data) {\n\t\t\t\t\n\t\t\t\t\t\$('#moderatorDiv').html(data);\n\t\t\t\t\t\$('#loadingSpiral').hide();\n\t\t\t\t\t\$('#moderatorDiv').fadeIn(250);\n\t\t\t\t\n\t\t\t\t});\n\t\t\t\t\n\t\t\t\n\t\t\t});\n\t\t\t\n\t\t\t\n\t\t\t\$('#assignMod').click(function() {\n\t\t\t\n\t\t\t\tif(\$('#boardList').val() != 'select' && \$('#memberModList').val() != 'select') {\n\t\t\t\t\t\t\$('#loadingSpiral').show();\n\t\t\t\t\t\t\$('#moderatorDiv').fadeOut(250);\n\t\t\t\n\t\t\t\t\t\t\$.post('" . $MAIN_ROOT . "members/include/forum/include/moderatorlist.php', { mID: \$('#memberModList').val(), bID: \$('#boardList').val(), action: 'add' }, function(data) {\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\$('#moderatorDiv').html(data);\n\t\t\t\t\t\t\t\$('#loadingSpiral').hide();\n\t\t\t\t\t\t\t\$('#moderatorDiv').fadeIn(250);\n\t\t\t\t\t\t\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t\telse if(\$('#memberModList').val() == 'select') {\n\t\t\t\t\t\n\t\t\t\t\t\t\$('#memberError').dialog({\n\t\t\t\t\t\t\n\t\t\t\t\t\t\ttitle: 'Manage Moderators - Error',\n\t\t\t\t\t\t\twidth: 400,\n\t\t\t\t\t\t\tmodal: true,\n\t\t\t\t\t\t\tresizable: false,\n\t\t\t\t\t\t\tshow: 'scale',\n\t\t\t\t\t\t\tzIndex: 999999,\n\t\t\t\t\t\t\tbuttons: {\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t'OK': function() {\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\$(this).dialog('close');\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t\t});\n\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\n\t\t\t\t\t\t\$('#boardError').dialog({\n\t\t\t\t\t\t\n\t\t\t\t\t\t\ttitle: 'Manage Moderators - Error',\n\t\t\t\t\t\t\twidth: 400,\n\t\t\t\t\t\t\tmodal: true,\n\t\t\t\t\t\t\tresizable: false,\n\t\t\t\t\t\t\tshow: 'scale',\n\t\t\t\t\t\t\tzIndex: 999999,\n\t\t\t\t\t\t\tbuttons: {\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t'OK': function() {\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\$(this).dialog('close');\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t\t});\n\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\n\t\t\t\n\t\t\t});\n\t\t\n\t\t});\t\n\t\t\n\t\t\n\t\tfunction deleteMod(boardID, memberID) {\n\t\t\n\t\t\t\$(document).ready(function() {\n\t\t\t\t\$('#loadingSpiral').show();\n\t\t\t\t\$('#moderatorDiv').fadeOut(250);\n\t\n\t\t\t\t\$.post('" . $MAIN_ROOT . "members/include/forum/include/moderatorlist.php', { mID: memberID, bID: boardID, action: 'delete' }, function(data) {\n\t\t\t\t\n\t\t\t\t\t\$('#moderatorDiv').html(data);\n\t\t\t\t\t\$('#loadingSpiral').hide();\n\t\t\t\t\t\$('#moderatorDiv').fadeIn(250);\n\t\t\t\t\n\t\t\t\t});\n\t\t\t});\n\n\t\t}\n\t\n\t</script>\n";