mirror of
https://github.com/itflow-org/itflow
synced 2026-03-07 22:34:52 +00:00
Fixed client details page as functions was declared twice
This commit is contained in:
@@ -1,4 +1,6 @@
|
|||||||
<?php include("header.php");
|
<?php include("header.php"); ?>
|
||||||
|
|
||||||
|
<?php
|
||||||
|
|
||||||
//Paging
|
//Paging
|
||||||
if(isset($_GET['p'])){
|
if(isset($_GET['p'])){
|
||||||
|
|||||||
@@ -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";
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|
||||||
|
|||||||
@@ -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");
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|||||||
Reference in New Issue
Block a user