Ejemplo n.º 1
0
        
          <tr>
          <td >
           <div align="center">
            A&ntilde;o: <?php 
echo select13("ano", "ano", $var_ano, "select distinct(ano) as ano from valores where id_pais in (select id from paises_mesoamericanos) order by ano", "ano", 3, 1, 0, $conn, "", "");
?>
            </div>
          </td>
          
          </tr>
          <tr>
          <td >
           <div align="center">
            Pais:<?php 
echo select13("id", "nombre", $var_id_pais, "select id,nombre from paises_mesoamericanos order by id", "id_pais", 3, 1, 0, $conn, "", "");
?>
            </div>
          </td>
          
          </tr>
          <tr>
          
            <td colspan="2">
             <div align="center">
                    <input class="btn btn-primary" type="submit" value="Buscar">
               </div>
            </td>
           
          </tr>
           <tr>
Ejemplo n.º 2
0
    </td>
  </tr>
   
</table>

<div class="table-responsive">
<table class="table table-striped" border="0">
  <tr class="">
    <td colspan="2">
    <div align="center">INGRESAR INDICADOR</div>
    </td>
  </tr>
  <tr class="">
    <td>Categoria:</td>
    <td><?php 
echo select13("id", "ES", $clase, "select id,ES from categorias_indicadores order by id", "categorias_indicadores", 1, 3, 0, $conn, "");
?>
</td>
  </tr>
  <tr class="">
    <td>Indicador:</td>
    <td>
    <input type="text" name="nombre_es" id="nombre_es" class="form-control" value="<?php 
echo $var_traduccion_indic['ES'];
?>
" placeholder="ES" required>
    <input type="text" name="nombre_en" id="nombre_en" class="form-control" value="<?php 
echo $var_traduccion_indic['EN'];
?>
" placeholder="EN" required>
    <input type="text" name="nombre_pt" id="nombre_pt" class="form-control" value="<?php 
Ejemplo n.º 3
0
<form action="indicadores_view.php" method="post" name="form1">
        <table class="table" border="0">
          <tr class="active">
            <td colspan="2">
            <a title="Regresar" href="index.php" class="btn btn-primary" role="button"><?php 
echo "Regresar";
?>
</a>
            
            </td>
          </tr>
         
          <tr>
          <td colspan="2">
          <div align="center">Categorias: <?php 
echo select13("id", "ES", $var_id_categorias_indicadores, "select id,ES from categorias_indicadores order by id", "categorias_indicadores", 3, 3, 0, $conn, "", "");
?>
            </div>
            
          </td>
          </tr>
        
          
         
          <tr>
          
            <td colspan="2">
             <div align="center">
                    <input class="btn btn-primary" type="submit" value="Buscar">
               </div>
            </td>
Ejemplo n.º 4
0
    <td><?php 
echo select13("id", "nombre", "{$id_pais}", "select id,nombre from paises_mesoamericanos order by id", "id_pais", 1, 1, 0, $conn, "buscar_entidad(this.value)");
?>
</td>
  </tr>
  <tr>
    <td>Año:</td>
    <td><input type="text" id="ano" name="ano" class="form-control" placeholder="Año" value="<?php 
echo $ano;
?>
" required></td>
  </tr>
    <td>Entidad:</td>
     <td>
     <?php 
echo select13("id_ent", "nombre", "{$id_ent}", "select id_ent,entidad as nombre from entidad where id_pais = '{$id_pais}' order by id_ent", "id_ent", 1, 1, 0, $conn, "", "");
?>
     <!-- <select name="id_ent" id="id_ent">
       
     </select> -->
     </td>
  </tr>
  <!-- <tr>
    <td>Fuente:</td>
    <td><input type="text" id="fuenta" readonly="true" class="form-control" placeholder="Fuente" required></td>
  </tr> -->
  <tr>
    <td>Valor</td>
    <td><input type="text" name="valor" id="valor" class="form-control" placeholder="Valor" value="<?php 
echo $valor;
?>
Ejemplo n.º 5
0
  </tr>
  <tr class="">
    <td>Indicador:</td>
    <td>
    <?php 
//echo select13("id", "ES", $var_id_indicadores, "select id,ES from categorias_indicadores order by id", "categorias_indicadores", 1,3,0,$conn,"","");
?>
    <select name="id_indic" id="id_indic">
       
     </select>
    </td>
  </tr>
  <tr>
    <td>Pais:</td>
    <td><?php 
echo select13("id", "nombre", $var_id_pais, "select id,nombre from paises_mesoamericanos order by id", "id_pais", 1, 1, 0, $conn, "buscar_entidad(this.value)");
?>
</td>
  </tr>
  <tr>
    <td>Año:</td>
    <td><input type="text" id="ano" name="ano" class="form-control" placeholder="Año" required></td>
  </tr>
    <td>Entidad:</td>
     <td>
     <?php 
//echo select13("id_ent", "nombre", $var_id_pais, "select id_ent,entidad as nombre from entidad order by id_ent", "id_ent", 1,1,0,$conn,"","");
?>
     <select name="id_ent" id="id_ent">
       
     </select>