Ejemplo n.º 1
0
                            <tr>
                                <td>&nbsp;</td>
                                <td><input type="hidden" name="idSitio"></td>
                            </tr>
                            <tr>
                                <td>idSitio</td>
                                <td><input type="text" name="idSitioView" disabled=""></td>
                            </tr>
                            <tr>
                                <td>Sitio</td>
                                <td><input type="text" name="enlace" disabled=""></td>
                            </tr>
                            <tr>
                                <td><input type="submit" value="Eliminar" class="btn btn-primary"></td>
                                <td><input type="reset" value="Cancelar" class="btn btn-info"></td>
                            </tr>
                        </table>                        
                    </form>
                </div>
            </div>
            <div id="divLista" class="table-responsive">
                 <div><p>Lista de Sitios</p></div>
                 <?php 
$control = new SitioController('');
echo $control->Listar();
?>
            </div>
        </div>
    </body>
</html>
Ejemplo n.º 2
0
                            <th class="Cabecera"><p>Editar</p></th>
                            <th><input type="hidden" name="Transaccion" value="Editar"></th>
                        </tr>
                        <tr>
                            <td>id Cuenta</td>
                            <td><input name="idCuentaView" type="text" value="" disabled=""></td>
                        </tr>
                        <tr>
                            <th>&nbsp;</th>
                            <td><input name="idCuenta" type="hidden" value=""></td>
                        </tr>
                        <tr>
                            <td>id Sitio</td>
                            <td>
                                <?php 
$contol = new SitioController();
echo $contol->LlenarSelect('idSitioEditar');
?>
                            </td>
                        </tr>
                        <tr>
                            <td>email</td>
                            <td><input type="email" name="email" ></td>
                        </tr>
                        <tr>
                            <td>usuario</td>
                            <td><input type="text" name="usuario" ></td>
                        </tr>                        
                        <tr>
                            <td><input type="submit" value="Editar" class="btn btn-primary"></td>
                            <td><input type="reset" value="cancelar" class="btn btn-info"></td>