コード例 #1
0
                            <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>
                            <label onclick="javascript:$('#divCaracteristicas').slideToggle('slow');" style="cursor: pointer; margin-top: 15px;"><strong>CARACTERISTICAS</strong></label>
                            <div id="divCaracteristicas" style="display: none;">
                                <fieldset>
                                    <legend>Caracteristica 1</legend>
                                    <label>Nombre</label>
                                    <input type="text" name="nombreCaracteristica[]" class="other"/>
                                    <label>Descripcion</label>
コード例 #2
0
    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>
                                                     </div>
                                                     <label onclick="javascript:$('#divCaracteristicas').slideToggle('slow');" style="cursor: pointer; margin-top: 15px;"><strong>CARACTERISTICAS</strong></label>
                                                     <div id="divCaracteristicas" style="display: none;">
                                <?php 
$dato->obtenerListadoCaracteristicasProducto($_GET['id']);
?>
                                                         <a href="javascript:void(0);" onclick="agregarCaracteristica();">Agregar Caracter&iacute;stica</a>