Пример #1
0
                            </select>
                            <label>Colores (Separados por coma (,))</label>
                            <input type="text" name="colores" class="other" maxlength="100"  />
                            <label>Precio</label>
                            <input type="text" name="precio" class="other" maxlength="15"  />
                            <label>Precio Web</label>
                            <input type="text" name="precioWeb" class="other" maxlength="15"  />
                            <label>Tags</label>
                            <input type="text" name="tags" class="other" maxlength="50"  />
                            <label>Destacado&nbsp;<input type="checkbox" name="destacado" class="other" value="1" /></label>
                            <label>Recomendado&nbsp;<input type="checkbox" name="recomendado" class="other" value="1" /></label>
                            <label>Categoria</label>
                            <select name="idCategoria" style="width: auto;">
                                <option value="">---</option>
<?php 
$dato->obtenerListadoCategoriasProducto();
?>
                            </select>
                            <label>Usos</label>
                            <select multiple id="usosSelect" name="idUso[]" style="width: auto;">
                                <option value="">---</option>
<?php 
$dato->obtenerListadoUsosProducto();
?>
                            </select>
                            <label onclick="javascript:$('#divImagenes').slideToggle('slow');" style="cursor: pointer;"><strong>IMAGENES</strong> (Deben tener un tamaño de 280 x 200 px)</label>
                            <div id="divImagenes" style="display: none;">
                                <label>Imagen 1</label>
                                <input type="file" name="imagenes[]" />
                                <a href="javascript:void(0);" onclick="agregarImagen();">Agregar Imagen</a>
                            </div>
Пример #2
0
if ($dato->obtenerEspecificoProducto($_GET['id'], "destacado") == 1) {
    echo "checked";
}
?>
/></label>
                            <label>Recomendado&nbsp;<input type="checkbox" name="recomendado" class="other" value="1" <?php 
if ($dato->obtenerEspecificoProducto($_GET['id'], "recomendado") == 1) {
    echo "checked";
}
?>
 /></label>
                            <label>Categoria</label>
                            <select name="idCategoria" style="width: auto;">
                                <option value="">---</option>
                                <?php 
$dato->obtenerListadoCategoriasProducto($_GET['id']);
?>
                                                     </select>
                                                     <label>Usos</label>
                                                     <select multiple id="usosSelect" name="idUso[]" style="width: auto;">
                                                         <option value="">---</option>
                                <?php 
$dato->obtenerListadoUsosProducto($_GET['id']);
?>
                                                     </select>
                                                     <label onclick="javascript:$('#divImagenes').slideToggle('slow');" style="cursor: pointer;"><strong>IMAGENES</strong> (Deben tener un tamaño de 280 x 200 px)</label>
                                                     <div id="divImagenes" style="display: none;">
                                <?php 
$dato->obtenerListadoImagenesProducto($_GET['id']);
?>
                                                         <a href="javascript:void(0);" onclick="agregarImagen();">Agregar Imagen</a>