Location: PHPKode > scripts > Ban Control > Ban Control/ban_control/ban_delete1.php
<?php
require('include/header.php');
$bannedid = $_GET['id'];
$result = mysql_query("SELECT * FROM ".$prefix."banned WHERE b_id = ".$bannedid." ORDER BY b_id");

while($row = mysql_fetch_array($result)) {
$ip = $row['b_ip'];
$answer = $row['answer'];

//read out the faqs
?>



<table class="table" width="100%" class="table">
	<tr class="table_header">
		<td>Delete a Ban</td>
	</tr>
	<tr class="row1">
		<td>
		<span class="genmed">





<form action="ban_delete2.php?id=<?php echo $bannedid ?>" method="post">
<p align="center">Are you sure you want to delete the ip: <b><?php echo $ip; ?></b>






 </p>






 <p align="center"><br>
 <input type="submit" value="Yes" />

<script>
function goBack()
	   {
	   window.history.back()
	   }
</script>
<input type="button" value="No" onclick="goBack()" />
 



 </form>





		</td>
	</tr>
</table>





<?php
//end read out the faqs

}

require('include/footer.php');

 ?>
Return current item: Ban Control