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

<form id="form1" name="form1" method="post" action="formsub.php">



Categoría Madre:

<select name="IDC" id="IDC">



<option selected="selected">Seleccione &gt;</option>

<?

include('concha.php');





$sql = "SELECT * FROM cla_categorias";



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

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

{

$IDC = $row["ID"];

$nombre = $row["nombre"]; ?>







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







<?

}

$consulta->free_result();

?>

</select>

<p>

  Subcategoría: 

  <input type="text" name="nombresub" id="nombresub" />

</p>

<p>

  <input type="submit" name="button" id="button" value="Enviar" />

</p>



</form>


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

</body>
</html>
