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

<body>




</script>

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



  
<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">
      
    
    
    
    
    
    
    
<?php include 'concha.php';


$ID = (int)$_GET['ID'];



?>

<!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>Documento sin t&iacute;tulo</title>



<script type="text/javascript" src="http://radioshosting.com/recursos/ckeditor/ckeditor.js"></script>
	<script src="http://radioshosting.com/recursos/ckeditor/ckeditor.js"></script>
	<script src="http://radioshosting.com/recursos/ckeditor/sample.js"></script>

<?
include('concha.php');


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

$consulta = $conn->query($sql);
while ($row = $consulta->fetch_assoc())
{
$ID  = $row["ID"];

$titulo  = $row["titulo"];


$texto  = $row["texto"];
}
$consulta->free_result();
?>




</script>

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


<!--


.Estilo1 {


	font-family: Verdana, Arial, Helvetica, sans-serif;


	font-size: 14px;


}


.Estilo2 {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 24px; font-weight: bold; }
.Estilo3 {font-weight: bold}


-->


</style>


</head>
<body>

<p align="center" class="Estilo2"><?php echo "$nombre"; ?><br>
</p>


<table width="695" border="0" align="center" cellpadding="10">


  <tr>


    <td width="671" bgcolor="#DDDDDD" class="Estilo1" valign="top">
    <form id="form1" name="form1" method="post" action="form_actualizar_externa.php">
      <label>
        <textarea name="texto" id="texto" cols="70" rows="5" class="ckeditor" ><?php echo $texto ?></textarea>
        </label>
   
        
        <input name="ID" type="hidden" value="<?php echo $ID ?>" />
      <div align="center">
        <p><br />  
          <a href="../upload_imagen.php" target="_blank">PONER UNA IMAGEN</a></p>
        <p><br />  
            <input type="submit" name="button" id="button" value="GUARDAR CAMBIOS" />
          </p>
      </div>
    </form>
    <p>&nbsp;</p>
    <p><br />
    </p></td>
  </tr>
</table>



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

</body>
</html>

