<?php include 'sesion.php';?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo $nombresitio ?> - Panel de Administracion</title>
<link href='http://fonts.googleapis.com/css?family=Oswald' rel='stylesheet' type='text/css'>
<style type="text/css">
<!--


body {
	background-image: url(../fondeux.jpg);
	
}


-->
</style>


<?php include 'concha.php';?>



<link href="../estilo.css" rel="stylesheet" type="text/css" />
  
<style type="text/css">
<!--
.Estilo44 {
	font-family: 'Oswald', sans-serif;
	font-size: 50px;
	color: #FFFFFF;
}
-->
</style>
</head>

<body>




</script>

  <script language=javascript>
function ventanaSecundaria (URL){
   window.open(URL,"ventana1","width=550,height=450,scrollbars=NO")
}
  </script>


<?php 


  $ID = $_POST['ID'];
    $comentario = $_POST['comentario'];
	

  
  ?>
<table width="900" border="0" align="center" cellpadding="4" cellspacing="0">
      <tr>
      <td bgcolor="#F1F2ED"><?php include 'menu.php';?></td>
    </tr>
  
    <tr>
      <td bgcolor="#FFFFFF"><div align="center" class="Estilo41">
       
        <table width="100%" border="0" cellpadding="0" cellspacing="6" bordercolor="#D4D0C8" bgcolor="#0066CC">
          <tr>
            <td><div align="center" class="Estilo44">BLOQUEAR IP</div></td>
          </tr>
        </table>
        <p>&nbsp;</p>
        <p>
        
        
        
        

<?php 
include('concha.php');
$ssql = "UPDATE  `$basedatos`.`ip_bloq` SET  `comentario` =  '$comentario' WHERE  `ip_bloq`.`ID` = '$ID';

";
$conn->query($sSQL);

?>
       
       
       
      <a href="bloquear_ip.php">VOLVER</a></td>
  </tr>
  </table>
<script>
setTimeout(function(){ window.history.back() }, 1000);
</script>
</body>
</html>
