Location: PHPKode > projects > VoxRank > voxrankfree/admin/ip.php
<?php
error_reporting(E_ALL);
require '../gzdoc.php';
require '../functions.php';

if (empty($_REQUEST['action'])) $action = ''; else $action = $_REQUEST['action'];
if (empty($_REQUEST['password'])) $password = ''; else $password = $_REQUEST['password'];


session_start();

SecureLoginRquireAuthentication('Admin');


db_connect();
checkip();

?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="Cache-control" content="no-cache">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Expires" content="-1">
<meta http-equiv="author" content="Jeremy Ross">
<title>VoxRank Administration Suite</title>
<link href="style.css" rel="stylesheet" type="text/css">
</head>

<body bgcolor="#FFFFFF" onLoad="document.form1.banedip.focus();">



<div align="center" class="pagetitle">Ban IP Addresses</div>
<br><br>
<div class="info">This function is only available in VoxRank, <a href="http://www.voxrank.com" target="_blank">click here</a> to upgrade now.</div>
<br><br>

<table border="0" cellpadding="3" cellspacing="1" width="95%" align="center">
<tr bgcolor="#CC0000"><td><b style="color:#FFFFFF;">IP Address</b></td><td><b style="color:#FFFFFF;">Full Ban</b></td><td><b style="color:#FFFFFF;">No Vote Ban</b></td><td><b style="color:#FFFFFF;">Lift Ban</b></td></tr>
</table>

<br>

<table border="0" cellpadding="3" cellspacing="1" width="95%" align="center">
<tr bgcolor="#CC0000"><td colspan="2"><font face="verdana" size="2" color="#FFFFFF"><b>Ban IP Address</b></font></td></tr>
<tr bgcolor="#FFFFFF"><td width="55%"><font face="verdana" size="2"><b>IP Address:</b><br></td><td><input type="text" name="banedip"></td></tr>
<tr bgcolor="#EEEEEE"><td width="55%"><font face="verdana" size="2"><b>No Vote IP Ban:</b><br>
  <font size="1" face="verdana">Set  this option to Yes if you to allow the IP address to vote, but votes do no count.</font></td><td><select name="voteban"><option value="Y">Yes<option value="N">No</select></td></tr>
<tr bgcolor="#FFFFFF"><td width="55%"><font face="verdana" size="2"><b>Full IP Ban:</b><br><font size="1" face="verdana">No pages will be viewable and they cannot vote.</font></td><td><select name="fullban"><option value="N">No<option value="Y">Yes</select></td></tr>
<tr bgcolor="#EEEEEE"><td colspan="2"><center><input type="submit" value="Place Ban"></center></td></tr>
</table>


</body>
</html>
<? gzdocout(); ?>
Return current item: VoxRank