Exemplo n.º 1
0
                <table>
                    <tr>
                        <td valign="top"><label for="txtcodigo">Codigo de categoria * :</label> </td>
                        <td><input type="text" id="txtcodigo" name="txtcodigo" value="<?php 
echo sprintf("%07d", $vFila["idcategoria"]);
?>
" placeholder="Codigo" readonly /> </td>
                    </tr>
                    <tr style="height:10px;"><td colspan="2"> </td></tr>
                    <tr>
                        <td valign="top"><label for="cmbClase">Familia * :</label> </td>
                        <td>    
                            <select name="cmbClase" id="cmbClase" data-required="true" title="Seleccionar Clase">
                                    <option value="0" selected>[--Selected--]</option>
                                    <?php 
echo Datos::getCombo("cmbClase", '', $vFila["idclase"]);
?>
                                </select>                            
                        </td>
                    </tr>
                    <tr style="height:10px;"><td colspan="2"> </td></tr>
                    <tr>
                        <td valign="top"><label for="txtnombre">Nombre de clase * :</label> </td>
                        <td><input type="text" id="txtnombre" name="txtnombre" value="<?php 
echo $vFila["nombre"];
?>
" placeholder="Nombre" data-required="true" /> </td>
                    </tr>
                    <tr>
                        <td colspan="2"></td>
                    </tr>
Exemplo n.º 2
0
                    <tr><td colspan="5" height="15"></td></tr>
                    <tr>
                            <td valign="top"><label>Contenido : </label> </td>
                            <td><select name="cmbContenido" id="cmbContenido" style="width:165px;" onclick="enlacesMenu();">
                                <option value="1">SIN ENLACE</option>
                                <option value="2">ENLACE INTERNO</option>
                                <option value="3">ENLACE EXTERNO</option>
                            </select></td>
                        </tr>
                        <tr id="enlaceInterno">
                            <td valign="top"><label>Enlace Interno : </label> </td>
                            <td>
                                <select id="cmbEnlace" name="cmbEnlace" style="width:165px" data-required="true" class="parsley-validated parsley-error"  title="Seleccionar Enlace">
                                    <option value="0">--Escoja--</option>
                                    <?php 
echo Datos::getCombo("cmbPagina", '', '');
?>
                                </select>
                            </td>
                        </tr>   
                        <tr id="enlaceExterno">
                            <td valign="top"><label>Enlace Externo : </label> </td>
                            <td>
                                <input type="text" id="txtEnlace" name="txtEnlace"  value ="http://" data-required="true" style="width:250px;" />
                            </td>
                        </tr>
                        <tr id="abrirEnlace">
                            <td valign="top"><label>Abrir en : </label> </td>
                            <td>
                                <select id="cmbAbrir" name="cmbAbrir" style="width:165px;">
                                    <option value="1">Misma Pestaña</option>
Exemplo n.º 3
0
                        <tr id="enlaceProducto">
                            <td valign="top"><label>Producto : </label> </td>
                            <td>
                                <select id="cmbProducto" name="cmbProducto" style="width:165px" data-required="true" class="parsley-validated parsley-error"  title="Seleccionar Enlace">
                                    <option value="0">--Escoja--</option>
                                    <?php 
if ($vFila["contenido"] == 6) {
    ?>
                                        <?php 
    echo Datos::getCombo("cmbProductos", '', $vFila["idpaginaweb"]);
    ?>
                                    <?php 
} else {
    ?>
                                        <?php 
    echo Datos::getCombo("cmbProductos", '', '');
    ?>
                                    <?php 
}
?>
                                </select>
                            </td>
                        </tr>
                        <tr id="abrirEnlace">
                            <td valign="top"><label>Abrir en : </label> </td>
                            <td>
                                <select id="cmbAbrir" name="cmbAbrir" style="width:165px;">
                                    <option value="1" <?php 
if ($vFila["abrir"] == 1) {
    ?>
selected<?php 
Exemplo n.º 4
0
?>
   
                             </select>   
                        </td>
                    </tr>
                    <tr>
                        <td></td>
                        <td valign="top"><label>Seleccionado 2 : </label> </td>
                        <td>    
                            <select name="cmbPertenece2" id="cmbPertenece2">
                                <option value="0" <?php 
if ($vFila["menu2"] == 0) {
    echo ' selected';
}
?>
>[--Selected--]</option>
                                <?php 
echo Datos::getCombo("cmbNivel", 1, $vFila["menu2"]);
?>
                             </select>   
                        </td>
                    </tr>
                </table>
        </form>
        </div>

        
        
    </body>
</html>
Exemplo n.º 5
0
                        <td><label for="txtnombre">Nombre de producto * :</label> </td>
                        <td><input type="text" id="txtnombre" name="txtnombre" value="<?php 
echo $vFila["nombre"];
?>
" placeholder="Nombre" data-required="true" /> </td>
                    </tr>
                    <tr>
                        <td colspan="4"></td>
                    </tr>
                    <tr>
                        <td><label for="cmbCategoria">Categoria * :</label> </td>
                        <td>    
                            <select name="cmbCategoria" id="cmbCategoria" data-required="true" title="Seleccionar categoria">
                                    <option value="" selected>[--Selected--]</option>
                                    <?php 
echo Datos::getCombo("cmbCategoria", '', $vFila["idcategoria"]);
?>
                            </select>                            
                        </td>
                    </tr>
                    <tr>
                        <td colspan="4"></td>
                    </tr>
                    <tr>
                        <td><label for="txtnombre">Voltaje * :</label> </td>
                        <td><input type="text" id="txtvoltaje" name="txtvoltaje" value="<?php 
echo $vFila["voltaje"];
?>
" placeholder="voltaje" /> </td>
                    </tr>
                    <tr>
Exemplo n.º 6
0
                        </div>
                        </center>
                        </td>
                    </tr>
                    <tr><td colspan="2"><label>*No puede subir más de una imagen por Banner</label></td></tr> 
<!--                    <tr>
                        <td><label for="fileFoto">Foto grande [930x360px] * :</label> </td>
                        <td colspan="4">
                            <input type="file" name="fileFoto" id="fileFoto" data-required="true"/>     
                        </td>
                    </tr>-->
                    <tr><td colspan="5" height="15"></td></tr>
                        <tr>
                            <td valign="top"><label>Pagina Asociada : </label> </td>
                            <td>
                                <select id="cmbEnlace" name="cmbEnlace" style="width:165px" data-required="true" class="parsley-validated parsley-error"  title="Seleccionar Enlace">
                                    <option value="0">--Escoja--</option>
                                    <?php 
echo Datos::getCombo("cmbPagina", '', $vFila["idpagina"]);
?>
                                </select>
                            </td>
                        </tr>
                    
                </table>
         <br/><br/>
        </div>
        </form>
    </body>
</html>
Exemplo n.º 7
0
                        <span class="btn btn" id="demo-form-valid" onclick="procesar();"><i class="icon-ok"></i></span>
                    </div>
                </h1>
            </div>
            <br/>    
		
                <form id="demo-form" data-validate="parsley">
                <input type="hidden" id="accion" name="accion" value="INS"/>
                <table>
                    <tr>
                        <td valign="top"><label for="cmbClase">Familia * :</label> </td>
                        <td>    
                            <select name="cmbClase" id="cmbClase" data-required="true" class="parsley-validated parsley-error"  title="Seleccionar Clase">
                                    <option value>[--Selected--]</option>
                                    <?php 
echo Datos::getCombo("cmbClase", '', '');
?>
                                </select>                            
                        </td>
                    </tr>
                    <tr>
                        <td valign="top"><label for="txtnombre">Nombre de categoria * :</label> </td>
                        <td><input type="text" id="txtnombre" name="txtnombre" placeholder="Categoria" data-required="true" /> </td>
                    </tr>
                    <tr>
                        <td colspan="2"></td>
                    </tr>

                            
                </table>
                
Exemplo n.º 8
0
                    <tr><td colspan="2" style="height:10px;"></td></tr>
                    <tr>
                        <td valign="top"><label for="txtclave">Clave* :</label> </td>
                        <td><input type="text" id="txtclave" name="txtclave" data-equalto="#txtclave" placeholder="Clave" data-required="true" /> </td>
                    </tr>
                    <tr><td colspan="2" style="height:10px;"></td></tr>
                    <tr>
                        <td valign="top"><label for="txtclaverep">Repetir clave* :</label> </td>
                        <td><input type="text" id="txtclaverep" name="txtclaverep" data-equalto="#txtclave" placeholder="Repetir clave" data-required="true" /> </td>
                    </tr>
                    <tr><td colspan="2" style="height:10px;"></td></tr>
                    <tr>
                        <td valign="top"><label for="cmbPerfil">Perfil * :</label> </td>
                        <td>    
                            <select name="cmbPerfil" id="cmbPerfil" data-required="true" title="Seleccionar Perfil">
                                    <option value="0" selected>[--Selected--]</option>
                                    <?php 
echo Datos::getCombo("cmbPerfil", '', '');
?>
                                </select>                            
                        </td>
                    </tr>
                </table>
                <br/>
            </div>
        </form>

        
    </body>
</html>
Exemplo n.º 9
0
                        <td colspan="4"></td>
                    </tr>
                    <tr>
                        <td><label for="txtnombre">Nombre de producto * :</label> </td>
                        <td><input type="text" id="txtnombre" name="txtnombre" placeholder="Nombre" data-required="true" /> </td>
                    </tr>
                    <tr>
                        <td colspan="4"></td>
                    </tr>
                    <tr>
                        <td><label for="cmbCategoria">Categoria * :</label> </td>
                        <td>    
                            <select name="cmbCategoria" id="cmbCategoria" data-required="true" title="Seleccionar categoria">
                                    <option value="" selected>[--Selected--]</option>
                                    <?php 
echo Datos::getCombo("cmbCategoria", '', '');
?>
                            </select>                            
                        </td>
                    </tr>
                    <tr>
                        <td colspan="4"></td>
                    </tr>
                    <tr>
                        <td><label for="txtnombre">Voltaje * :</label> </td>
                        <td><input type="text" id="txtvoltaje" name="txtvoltaje" placeholder="voltaje" /> </td>
                    </tr>
                    <tr>
                        <td colspan="4"></td>
                    </tr>
                    <tr>
Exemplo n.º 10
0
        break;
    case 'distrito':
        $html .= "<select name=\"cmbDistrito\" id=\"cmbDistrito\" title=\"Seleccionar Distrito\">";
        $html .= "<option value=\"vacio\" selected>[--Seleccionar--]</option>";
        $html .= Datos::getCombo("distrito", array($val, $val2), $valorPorDefecto);
        $html .= "</select>";
        break;
    case 'programa':
        $html .= "<select name=\"cmbPrograma\" id=\"cmbPrograma\" onchange=\"retirarError(this); getCombo('../_util/Getcombo.php','nsesiones',this.value,0,0,'comboAjaxNsesiones'); getCombo('../_util/Getcombo.php','horario',this.value,0,0,'comboAjaxHorario');\" title=\"Seleccionar Programa\">";
        $html .= "<option value=\"vacio\" selected>[--Seleccionar--]</option>";
        $html .= Datos::getCombo("programa", array($val, $val2), $valorPorDefecto);
        $html .= "</select>";
        break;
    case 'nsesiones':
        $html .= "<select name=\"cmbNsesiones\" id=\"cmbNsesiones\" onchange=\"retirarError(this); getCombo('../_util/Getcombo.php','costoSesion',this.value,0,0,'datoAjaxCosto');\" title=\"Seleccionar número de sesiones\">";
        $html .= "<option value=\"vacio\" selected>[--Seleccionar--]</option>";
        $html .= Datos::getCombo("nsesiones", array($val, $val2), $valorPorDefecto);
        $html .= "</select>";
        break;
    case 'horario':
        $html .= "<select name=\"cmbHorario\" id=\"cmbHorario\" title=\"Seleccionar horario\" onchange=\"retirarError(this); getContenido('../_util/Getgrilla.php','horario',this.value,0,0,'grillaAjaxHorario');\">";
        $html .= "<option value=\"vacio\" selected>[--Seleccionar--]</option>";
        $html .= Datos::getCombo("horario", array($val, $val2), $valorPorDefecto);
        $html .= "</select>";
        break;
    case "costoSesion":
        $vFila = Datos::getCombo("costoSesion", array($val, $val2), $valorPorDefecto);
        $html .= $vFila[0];
        break;
}
print $html;
Exemplo n.º 11
0
                    <tr><td colspan="2" style="height:10px;"></td></tr>
                    <tr>
                        <td valign="top"><label for="txtcorreo">Correo * :</label> </td>
                        <td><input type="text" id="txtcorreo" name="txtcorreo" data-type="email" data-trigger="change" value="<?php 
echo $vFila["correo"];
?>
"  placeholder="Correo"  data-required="true" style="width: 500px;"/> </td>
                    </tr>
                    <tr><td colspan="2" style="height:10pt;"></td></tr>
                    <tr>
                        <td valign="top"><label for="cmbPerfil">Perfil * :</label> </td>
                        <td>    
                            <select name="cmbPerfil" id="cmbPerfil" data-required="true" title="Seleccionar Perfil">
                                    <option value="0" selected>[--Selected--]</option>
                                    <?php 
echo Datos::getCombo("cmbPerfil", '', $vFila["idperfil"]);
?>
                                </select>                            
                        </td>
                    </tr>
                    <tr><td colspan="2" style="height:10px;"></td></tr>
                    <tr><td colspan="2" style="height:10px;font-size: 10px;text-align:left;">Si deseas cambiar la contraseña del usuario, escribe aquí dos veces la nueva. En caso contrario, deja las casillas en blanco.</td></tr>
                    <tr>
                        <td valign="top"><label for="txtclave">Nueva contraseña* :</label> </td>
                        <td><input type="text" id="txtclave" name="txtclave" data-equalto="#txtclave" placeholder="Clave" /> </td>
                    </tr>
                    <tr><td colspan="2" style="height:10px;"></td></tr>
                    <tr>
                        <td valign="top"><label for="txtclaverep">Repetir nueva contraseña* :</label> </td>
                        <td><input type="text" id="txtclaverep" name="txtclaverep" data-equalto="#txtclave" placeholder="Repetir clave" /> </td>
                    </tr>