$filter = 0; $kick = 0; if (isset($_POST['kick'])) { $kick = 1; } if (isset($_POST['filter'])) { $filter = 1; } $badNameQueries->addBadName($_POST['badName'], $filter, $kick); } // The user is wanting to delete a badname if (isset($_POST['deleteBadName'])) { $badNameQueries->removeBadName($_POST['idToDelete']); } // Get list of bad names $badNames = $badNameQueries->getBadNames(); ?> <script src="javascript/ajax.js" language="javascript" type="text/javascript"></script> <div class="tborder"> <div id="tableHead"> <div><b><?php echo $LAN_BADNAMES_001; ?> </b></div> </div> <form action="index.php?page=badNames&adminPage=1" method="POST"> <table class="bordercolor" width="100%" cellspacing="1" cellpadding="5" border="0" style="margin-top: 1px;"> <tr> <td class="rowColor1" width="1%" valign="top" nowrap> <input type="text" id="badName" name="badName" value="" size="40" maxlength="40"/> <span onmouseover="Tip('<?php