moved all table listing to server side tables and set the header to dark for better contrast

This commit is contained in:
root
2019-06-18 18:31:13 -04:00
parent fd61728da5
commit 571223d920
34 changed files with 1522 additions and 271 deletions

View File

@@ -42,6 +42,9 @@ if(isset($_GET['o'])){
$sql = mysqli_query($mysqli,"SELECT SQL_CALC_FOUND_ROWS * FROM contacts WHERE client_id = $client_id AND (contact_name LIKE '%$q%') ORDER BY $sb $o LIMIT $record_from, $record_to");
$num_rows = mysqli_fetch_row(mysqli_query($mysqli,"SELECT FOUND_ROWS()"));
$total_found_rows = $num_rows[0];
$total_pages = ceil($total_found_rows / 10);
?>