<?php 
include 'sesion.php';	
include 'concha.php';
include 'concha_extras.php';

$ID = $_POST['ID'];
$url = $_POST['url'];
$lugar = $_POST['lugar'];

$sSQL="UPDATE  `$basedatos`.`publicidades_gif` SET  `url` =  '$url' WHERE  `publicidades_gif`.`ID` = '$ID';";
$conn->query($sSQL);




$sSQL="UPDATE  `$basedatos`.`publicidades_gif` SET   `lugar` =  '$lugar' WHERE  `publicidades_gif`.`ID` = '$ID';";
$conn->query($sSQL);


?>
<!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>
<style type="text/css">

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


</style>


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



<link href="../estilo.css" rel="stylesheet" type="text/css" />
  
</head>
<?php
if($estiloweb == 9) {?>
    <script>
        setTimeout(function(){ window.history.back() }, 1000);
    </script>
<?} else {?>
    <body>
    
    
    
      
    <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">
          
        
        
        
       
    
    <script>
    location.href=('menu_publicidades_gif.php');
    </script>
    
        
        
            </td>
      </tr>
      </table>
    
</body>
<?}
?>
</html>
