Fixed client details page as functions was declared twice

This commit is contained in:
johnnyq 2021-12-23 10:58:16 -05:00
parent 308bf0967f
commit a9fb11e3ef
5 changed files with 8 additions and 5 deletions

View File

@ -1,4 +1,6 @@
<?php include("header.php");
<?php include("header.php"); ?>
<?php
//Paging
if(isset($_GET['p'])){

View File

@ -80,8 +80,8 @@
$iPhone = stripos($_SERVER['HTTP_USER_AGENT'],"iPhone");
$iPad = stripos($_SERVER['HTTP_USER_AGENT'],"iPad");
if( $iPod || $iPhone || $iPad){
$session_map_source = "apple";
if($iPod || $iPhone || $iPad){
$session_map_source = "apple";
}else{
$session_map_source = "google";
}

View File

@ -1,4 +1,5 @@
<?php include("config.php"); ?>
<?php include("functions.php"); ?>
<?php include("check_login.php"); ?>
<?php

View File

@ -192,7 +192,7 @@
</a>
</li>
<?php if($session_permission_level == 1 OR $session_permission_level > 3){ ?>
<?php if($session_user_role == 1 OR $session_user_role > 3){ ?>
<li class="nav-header mt-3">ACCOUNTING</li>

View File

@ -1,7 +1,7 @@
<?php
include("config.php");
include("functions.php");
include_once("functions.php");
include("check_login.php");
?>