<?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 $ID = (int)$_GET['ID'];
?>
<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; }


-->


</style>


<p align="center" class="Estilo2"><span class="Estilo2 Estilo3"><?php echo $nombresitio ?> - Panel</span>
  <?


include('concha.php');


mysql_connect ("$host", "$usuario", "$contra");


mysql_select_db ("$basedatos");





$sql = "SELECT * FROM agenda WHERE ID = $ID";





$consulta = mysql_query ($sql);


while ($row = mysql_fetch_array($consulta))


{


$ID = $row["ID"];


$titulo = $row["titulo"];

$texto = $row["texto"];

}


mysql_free_result($consulta);


?>
</p>


<p align="center" class="Estilo1"><br>


</p>


<table width="899" border="0" align="center">


  <tr>


    <td valign="top" width="200"  bgcolor="#C3C3C3" class="Estilo1"> <a href="index.php">VOLVER</a> &gt;


      <br>


      <br>


      <br>


      <br>


      <br></td>


    <td bgcolor="#DDDDDD" width="689">


<form action="form_editar_evento.php" method="POST" enctype="multipart/form-data">


 
<input name="ID" type="hidden" value="<?php echo $ID ?>" />

 


      <table width="100%" border="0">


      <tr>


        <td width="33%" class="Estilo1"><div align="right">TITULO:</div></td>


        <td width="67%"><label>


          <input name="titulo" type="text" class="Estilo1" id="titulo" size="55"  value="<?php echo $titulo ?>"/>


        </label></td>
      </tr>


      <tr>


        <td valign="top" class="Estilo1"><div align="right">TEXTO:</div></td>


        <td><textarea name="texto" cols="60" rows="13" class="Estilo1" id="texto"><?php echo $texto ?></textarea></td>
      </tr>


      <tr>


        <td class="Estilo1">&nbsp;</td>


        <td>&nbsp;</td>
      </tr>


      <tr>


        <td class="Estilo1">&nbsp;</td>


        <td><input name="button" type="submit" class="Estilo1" id="button" value="CARGAR EVENTO" /></td>
      </tr>
    </table>     


</form></td>


  </tr>


</table>


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

</body>
</html>
