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 //Paging
if(isset($_GET['p'])){ if(isset($_GET['p'])){

View File

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

View File

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

View File

@@ -192,7 +192,7 @@
</a> </a>
</li> </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> <li class="nav-header mt-3">ACCOUNTING</li>

View File

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