<?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'>



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



<link href="../estilo.css" rel="stylesheet" type="text/css" />
  

</head>

<body>



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


<?php 
  $ID = (int)$_GET['ID'];?>
  
  
  
<?php 



$sql = "SELECT * FROM notas WHERE ID = '$ID' ";

$consulta = $conn->query($sql);

while ($row = $consulta->fetch_assoc())

{

$ID = $row["ID"];



$carpetafoto = $row["carpetafoto"];

$foto = $row["foto"];

$titulo = $row["titulo"];

$texto = $row["texto"];

$bajada = $row["bajada"];

$audio = $row["audio"];


$d = $row["d"];

$m = $row["m"];
$m2 = $row["m"];

$a = $row["a"];


$tag1 = $row["tag1"];

$tag2 = $row["tag2"];

$tag3 = $row["tag3"];
$tag4 = $row["tag4"];
$tag5 = $row["tag5"];
$youtube = $row["youtube"];
$visitas = $row["visitas"];

$html = $row["html"];

}

$consulta->free_result();?>
  
  
  
<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">PONER HTML<br />
            EMBED</div></td>
          </tr>
        </table>
        <p>PUEDE AGREGAR VIDEOS DE FACEBOOK. TWITTER. VIMEO. ETC.</p>
        <p>CUALQUIER PAGINA WEB QUE BRINDE UN CODIGO EMBED PARA COLOCAR</p>
        <p>LO PUEDE PONER AQUI Y SE VERA TAL CUAL EN EL CUERPO DE LA NOTICIA</p>
        <form id="form1" name="form1" method="post" action="form_poner_html.php">
          <textarea name="html" cols="150" rows="30" class="Estilo9" id="html"><?php echo $html ?></textarea>
                       <input name="ID" type="hidden" value="<?php echo $ID ?>" />
                        <label>
             
             
            <input name="button" type="submit" class="Estilo41" id="button" value="GUARDAR CAMBIOS" />
          </label>
        </form>
        <p>&nbsp;</p>
        <p>&nbsp;</p>
        <p>EJ: FACEBOOK<br />
        UBIQUE EL VIDEO QUE DESEA COMPARTIR EN SU SITIO<br />
          </p>
        <p>HAGA CLIC EN INSERTAR VIDEO<br />
        </p>
        <p><img src="1" /></p>
        <p>LUEGO PEGUE EL CODIGO COMPLETO EN EL CAMPO DE TEXTO DE ARRIBA</p>
        <p><img src="2" /></p>
        </div></td>
  </tr>
  </table>

</body>
</html>
