Пример #1
0
}
?>
" class="form-control" placeholder="Palabra clave">
		</div>
    </div>
    <div class="col-lg-6">
    <button class="btn btn-primary btn-block">Procesar</button>
    </div>

  </div>
</form>
<?php 
$products = array();
if (isset($_GET["start_at"]) && $_GET["start_at"] != "" && isset($_GET["finish_at"]) && $_GET["finish_at"] != "") {
    if ($_GET["start_at"] < $_GET["finish_at"]) {
        $products = OperationData::getRentsByRange($_GET["start_at"], $_GET["finish_at"]);
    }
} else {
    $products = OperationData::getRents();
}
if (count($products) > 0) {
    ?>
<br>
<table class="table table-bordered table-hover	">
	<thead>
		<th>Ejemplar</th>
		<th>Libro</th>
		<th>Cliente</th>
		<th>Inicio</th>
		<th>Fin</th>
		<th></th>