Exemplo n.º 1
0
                    <div class="col-lg-12">
                        <h1 class="page-header">Transparencia</h1>
                    </div>
                    <!-- /.col-lg-12 -->
                </div>
                <div class="row" >
                    <div class="col-sm-8">&nbsp;</div>
                    <div class="col-sm-8"><span class="glyphicon glyphicon-calendar"></span>&nbsp;&nbsp;<a href="cambiar_anio_trimestre.php">Cambiar año & trimestre</a></div>
                    <div class="col-sm-8">
                        <form role="form" name="frmDocumentacion" id="frmDocumentacion" action="cat_documentacion.php" method="POST">
                            <div class="form-group">
                                <label for="xAccion"><input type="hidden" class="form-control" name="xAccion" id="xAccion" value="0" /></label>

                                <input type="hidden" class="form-control" id="txtCveExpediente" name="txtCveExpediente"
                                       placeholder="ID Expediente" value="<?php 
echo $documentacion->getCveExpediente();
?>
">
                            </div>
                            <div class="form-group">
                                <label for="cmbCveArticulo">Artículo</label>
                                <select name="cmbCveArticulo" id="cmbCveArticulo" class="form-control" placeholder="Artículo">
                                    <option value="0">--------- SELECCIONE UNA OPCIÓN ---------</option>
                                    <?php 
$sql2 = "SELECT * FROM cat_articulos where activo=1 ORDER BY descripcion";
$rst2 = UtilDB::ejecutaConsulta($sql2);
foreach ($rst2 as $row) {
    echo "<option value='" . $row['cve_articulo'] . "' " . ($documentacion->getCveArticulo() != 0 ? $documentacion->getCveArticulo() == $row['cve_articulo'] ? "selected" : "" : "") . ">" . $row['descripcion'] . "</option>";
}
$rst2->closeCursor();
?>
Exemplo n.º 2
0
                <div class="row">
                    <div class="col-lg-12">
                        <h1 class="page-header">Transparencia</h1>
                    </div>
                    <!-- /.col-lg-12 -->
                </div>
                <div class="row" >
                    <div class="col-sm-8">&nbsp;</div>
                    <div class="col-sm-8">
                        <form role="form" name="frmDocumentacion" id="frmDocumentacion" action="documentacion.php" method="POST">
                            <div class="form-group">
                                <label for="xAccion"><input type="hidden" class="form-control" name="xAccion" id="xAccion" value="0" /></label>

                                <input type="hidden" class="form-control" id="txtCveExpediente" name="txtCveExpediente"
                                       placeholder="ID Expediente" value="<?php 
echo $documentacion->getCveExpediente();
?>
">
                            </div>
                            


                            <button type="button" class="btn btn-default" id="btnLimpiar" name="btnLimpiar" onclick="limpiar();">Limpiar</button>
                            <button type="button" class="btn btn-default" id="btnGrabar" name="btnGrabar" onclick="grabar();">Enviar</button>

                            <br/>
                            <br/>
                            <table class="table table-bordered table-striped table-hover table-responsive">
                                <thead>
                                    <tr>
                                        <th>ID Noticia</th>
    header('Location:login.php');
    return;
}
$documentacion = new Documentacion();
if (isset($_POST['id'])) {
    $documentacion = new Documentacion((int) $_POST['id']);
}
?>
<div class="modal-header">
    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
    <h4 class="modal-title">Transparencia | opciones </h4>
</div>
<div class="modal-body">
    <div class="te">
        <p><strong>ID:</strong> <?php 
echo $documentacion->getCveExpediente();
?>
</p>
        <p><strong>Descripción:</strong> <?php 
echo $documentacion->getDescripcion();
?>
</p>
        <p><strong>Expediente:</strong> <?php 
echo $documentacion->getExpediente();
?>
</p>
        <p><strong>Folio:</strong> <?php 
echo $documentacion->getFolio();
?>
</p>
        <p><strong>¿Es una solicitud?:</strong> <?php