<?php include 'panel/sesion.php'; include 'concha.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>Documento sin t&iacute;tulo</title>
<style type="text/css">
<!--
.Estilo1 {
	font-family: "Trebuchet MS";
	font-size: 16px;
}
.Estilo2 {font-size: 16px}
-->
</style>
</head>

<body>

<form action="upload_crop_foto.php" method="get">
  <p class="Estilo1 Estilo2">SELECCIONE UN ALBUM PARA LA IMAGEN</p>
  <p class="Estilo1">
    <select name="album" id="album">
      <option selected="selected">Ninguno</option>
      
      
      
      <?php 

  include 'concha.php';





$sql = "SELECT * FROM albumes ORDER BY nombre";


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


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


{


$ID = $row["ID"];


$nombre = $row["nombre"];

?>
      <option value="<?php echo $ID ?>"><?php echo $nombre ?></option>
      <?
}


$consulta->free_result();

?>
    </select>
  (<a href="panel/crear_album.php">crear un álbum</a>)</p>
  <p class="Estilo1"><span class="Estilo1">
    <input type="submit" name="button" id="button" value="Siguiente" />
  </span> </p>
</form>
</body>
</html>
