get settings vars updates added default net_terms to settings and some php var fixes in dashboard

This commit is contained in:
johnny@pittpc.com
2019-08-23 00:35:56 -04:00
parent 67a0c8bfbf
commit be1b4d50fb
8 changed files with 35 additions and 17 deletions

View File

@@ -3,7 +3,8 @@
$total_found_rows = $num_rows[0];
$total_pages = ceil($total_found_rows / 10);
if ($total_found_rows > 10) {
if ($total_found_rows > 10) {
$i=0;
?>
@@ -37,7 +38,7 @@ if ($total_found_rows > 10) {
if($p > 1){
echo "<li class='page-item $prev_class'><a class='page-link' href='?$url_query_strings&p=$prev_page'>Prev</a></li>";
}
while($i < $total_pages){
$i++;
if(($i == 1) OR (($p <= 3) AND ($i <= 6)) OR (($i > $total_pages - 6) AND ($p > $total_pages - 3 )) OR (is_int($i / $pages_split)) OR (($p > 3) AND ($i >= $p - 2) AND ($i <= $p + 3)) OR ($i == $total_pages)){