<script src="<?php echo $jquery_dir; ?>plugins/jquery.validate.js" type="text/javascript"></script>
<script src="<?php echo $jquery_dir; ?>plugins/jquery.validation.functions.js" type="text/javascript"></script>
<script>
jQuery(function(){
jQuery("#range").validate({
expression: "if (VAL) return true; else return false;",
message: "Can not be blank!"
});
});
</script>
<br />
<div style="padding-left:3%;">
<div id="layer" style="padding:4px; width:96%; " class="ui-widget-content ui-corner-all">
<form method="POST" action="ban-range.php" name="AF">
<input type="hidden" name="save" value="1"><div align="center"><center><table border="0"
width="60%" cellspacing="8" cellpadding="8" bgcolor="#E6FFE6">
<tr>
<td width="100%"><em><font color="#008000" face="Times New Roman"><big><strong><big>i</big>
</strong></big></font></em><font color="#000000">Adding an IP range will block
(displaying the page: <strong>/members-section/html-members/blocked.html</strong><a href="../members/blocked.html" target="_blank"></a>)
when anyone using an IP address in that range attempts to login or join. IP Address
ranges per country can be found here: <a
href="http://www.apnic.net/apnic-bin/ipv4-by-country.pl?country=id">www.apnic.net</a><br>
<br>
<strong>Only the first two octets should be entered</strong>. If you
are testing this on a LOCAL server using LOCALHOST then you can add: 127.0 and then
test this by trying to login to the members area from: <a href="http://localhost">http://localhost</a>
<br>
<strong><br>
If unsure, DO NOT add any banned ranges. </strong></font></td>
</tr>
</table>
</center></div><div align="center"><center><p><strong><big>IP Range to ban:</big><br>
<input type="text" name="range" id="range" size="6"><br>
i.e. 192.168</strong></p>
</center></div><div align="center"><center><p><input type="submit" value="Add" name="B1"
class="button"> <input type="button" value="Cancel" name="B2"
class="button" onClick="javascript:document.location='./'"></p>
</center></div>
</form>
<div align="center"><center>
<table border="0" width="60%" cellspacing="8" cellpadding="8" bgcolor="#E6FFE6">
<tr>
<td width="100%"><em><font color="#008000" face="Times New Roman"><big><strong><big>i</big>
</strong></big></font></em><font color="#000000">To remove existing IP ranges on
your system (if they exist) click the DELETE link next to the appropriate range below.</font>
</td>
</tr>
</table>
<br />
<?php echo $ranges; ?>
</center></div></div></div>