-require_once "../common.php";
-require_once "../header.php";
+require_once "../inc/common.php";
+require_once "../inc/connection.php";
+require_once "../inc/header.php";
<!-- Modal for Add Ban -->
<div class="modal fade" id="ban" tabindex="-1" role="dialog" aria-labelledby="confirmModalCenterTitle" aria-hidden="true">
<!-- Modal for Add Ban -->
<div class="modal fade" id="ban" tabindex="-1" role="dialog" aria-labelledby="confirmModalCenterTitle" aria-hidden="true">
<select class="form-control" name="bantype_sel_type" id="bantype_sel_type">
<option></option>
<option>Match Account</option>
<select class="form-control" name="bantype_sel_type" id="bantype_sel_type">
<option></option>
<option>Match Account</option>
<input type="hidden" id="server" name="add_chex" value="e"></input>
<button id="CloseButton" type="button" class="btn btn-secondary" data-dismiss="modal">Cancel</button>
<button type="submit" action="post" class="btn btn-danger">Update</button>
<input type="hidden" id="server" name="add_chex" value="e"></input>
<button id="CloseButton" type="button" class="btn btn-secondary" data-dismiss="modal">Cancel</button>
<button type="submit" action="post" class="btn btn-danger">Update</button>
<p class="card-text"><?php generate_html_chansettings($channelObj); ?></p>
</div><form id="editchanmodes" method="post" name="editchanmodes">
<div class="tab-pane" style="display: none" id="chanmodes_edit">
<p class="card-text"><?php generate_html_chansettings($channelObj); ?></p>
</div><form id="editchanmodes" method="post" name="editchanmodes">
<div class="tab-pane" style="display: none" id="chanmodes_edit">