<?php require_once "getTable.php"; require_once "library/dialog.php"; require_once "library/pagination.php"; $pg = new bootPagination(); $pg->pagenumber = $page; $pg->pagesize = 10; $pg->totalrecords = $row_dates; $pg->showfirst = true; $pg->showlast = true; $pg->paginationcss = "pagination"; $pg->paginationstyle = 0; // 1: advance, 0: normal $pg->defaultUrl = "index.php"; $pg->paginationUrl = "index.php?page=[p]&dates_count={$dates_count}&month_value={$month_value}&time_start={$time_start}&time_end={$time_end}"; echo $pg->process(); echo "<br>"; ?> </div> <div id="confirmdiv" title="Подтвердите введенную информацию"> </div> <script> $("select").select2({dropdownCssClass: 'dropdown-inverse'}); $(document ).ready(function() { $("#loader").fadeOut("slow"); }); </script> </body> </html>
echo $student['skola_id']; ?> "><img src="assets/img/edit.png"></a> <a href="" class="btn-delete-student" data-id="<?php echo $student['ucenik_id']; ?> "><img src="assets/img/delete.png"></a></td> </tr> <? endforeach; ?> </table> <!-- ATTENTION ON NEXT COMMENT LINE SIMANIC!!!! --> <!-- this is one kind of showing modal, i will explain you another with jquery later --> <!--a data-toggle="modal" href="#myModal">Novi ucenik</a--> <div class="row"> <div class="col-md-8"><? echo $pg->process(); ?></div> <div class="col-md-4"> <div class="pagination pagination-large pull-right"> <ul class="list-group"> <li class="list-group-item active"> Ukupno: <span class="badge"> <?php echo $pg->totalrecords; ?> </span> </li> </ul> </div> </div> </div>