admin.php 1 location
|
@@ 33-37 (lines=5) @@
|
30 |
|
|
31 |
|
/* do checks */ |
32 |
|
require_once $SETTINGS['cpassman_dir'].'/sources/checks.php'; |
33 |
|
if (!checkUser($_SESSION['user_id'], $_SESSION['key'], "manage_main")) { |
34 |
|
$_SESSION['error']['code'] = ERR_NOT_ALLOWED; //not allowed page |
35 |
|
include $SETTINGS['cpassman_dir'].'/error.php'; |
36 |
|
exit(); |
37 |
|
} |
38 |
|
|
39 |
|
// get current statistics items |
40 |
|
$statistics_items = array(); |
admin.settings.php 1 location
|
@@ 34-38 (lines=5) @@
|
31 |
|
|
32 |
|
/* do checks */ |
33 |
|
require_once $SETTINGS['cpassman_dir'].'/sources/checks.php'; |
34 |
|
if (!checkUser($_SESSION['user_id'], $_SESSION['key'], curPage())) { |
35 |
|
$_SESSION['error']['code'] = ERR_NOT_ALLOWED; //not allowed page |
36 |
|
include $SETTINGS['cpassman_dir'].'/error.php'; |
37 |
|
exit(); |
38 |
|
} |
39 |
|
|
40 |
|
echo ' |
41 |
|
<input type="hidden" id="user_token" value="" /> |
sources/upload/upload.attachments.php 1 location
|
@@ 33-37 (lines=5) @@
|
30 |
|
|
31 |
|
/* do checks */ |
32 |
|
require_once '../checks.php'; |
33 |
|
if (!checkUser($_SESSION['user_id'], $_SESSION['key'], "items")) { |
34 |
|
$_SESSION['error']['code'] = ERR_NOT_ALLOWED; //not allowed page |
35 |
|
handleAttachmentError('Not allowed to ...', 110); |
36 |
|
exit(); |
37 |
|
} |
38 |
|
|
39 |
|
//check for session |
40 |
|
if (null !== filter_input(INPUT_POST, 'PHPSESSID', FILTER_SANITIZE_STRING)) { |
find.php 1 location
|
@@ 30-34 (lines=5) @@
|
27 |
|
|
28 |
|
/* do checks */ |
29 |
|
require_once $SETTINGS['cpassman_dir'].'/sources/checks.php'; |
30 |
|
if (!checkUser($_SESSION['user_id'], $_SESSION['key'], curPage())) { |
31 |
|
$_SESSION['error']['code'] = ERR_NOT_ALLOWED; //not allowed page |
32 |
|
include $SETTINGS['cpassman_dir'].'/error.php'; |
33 |
|
exit(); |
34 |
|
} |
35 |
|
|
36 |
|
require_once $SETTINGS['cpassman_dir'].'/sources/SplClassLoader.php'; |
37 |
|
|
folders.php 1 location
|
@@ 34-38 (lines=5) @@
|
31 |
|
|
32 |
|
/* do checks */ |
33 |
|
require_once $SETTINGS['cpassman_dir'].'/sources/checks.php'; |
34 |
|
if (!checkUser($_SESSION['user_id'], $_SESSION['key'], curPage())) { |
35 |
|
$_SESSION['error']['code'] = ERR_NOT_ALLOWED; //not allowed page |
36 |
|
include $SETTINGS['cpassman_dir'].'/error.php'; |
37 |
|
exit(); |
38 |
|
} |
39 |
|
|
40 |
|
require_once $SETTINGS['cpassman_dir'].'/sources/SplClassLoader.php'; |
41 |
|
|
items.php 1 location
|
@@ 34-38 (lines=5) @@
|
31 |
|
|
32 |
|
/* do checks */ |
33 |
|
require_once $SETTINGS['cpassman_dir'].'/sources/checks.php'; |
34 |
|
if (!checkUser($_SESSION['user_id'], $_SESSION['key'], curPage())) { |
35 |
|
$_SESSION['error']['code'] = ERR_NOT_ALLOWED; //not allowed page |
36 |
|
include $SETTINGS['cpassman_dir'].'/error.php'; |
37 |
|
exit(); |
38 |
|
} |
39 |
|
|
40 |
|
require_once $SETTINGS['cpassman_dir'].'/sources/SplClassLoader.php'; |
41 |
|
require_once $SETTINGS['cpassman_dir'].'/sources/main.functions.php'; |
kb.php 1 location
|
@@ 37-41 (lines=5) @@
|
34 |
|
|
35 |
|
/* do checks */ |
36 |
|
require_once $SETTINGS['cpassman_dir'].'/sources/checks.php'; |
37 |
|
if (!checkUser($_SESSION['user_id'], $_SESSION['key'], curPage())) { |
38 |
|
$_SESSION['error']['code'] = ERR_NOT_ALLOWED; //not allowed page |
39 |
|
include $SETTINGS['cpassman_dir'].'/error.php'; |
40 |
|
exit(); |
41 |
|
} |
42 |
|
|
43 |
|
//load language |
44 |
|
require_once $SETTINGS['cpassman_dir'].'/sources/main.functions.php'; |
roles.php 1 location
|
@@ 33-37 (lines=5) @@
|
30 |
|
|
31 |
|
/* do checks */ |
32 |
|
require_once $SETTINGS['cpassman_dir'].'/sources/checks.php'; |
33 |
|
if (!checkUser($_SESSION['user_id'], $_SESSION['key'], curPage())) { |
34 |
|
$_SESSION['error']['code'] = ERR_NOT_ALLOWED; //not allowed page |
35 |
|
include $SETTINGS['cpassman_dir'].'/error.php'; |
36 |
|
exit(); |
37 |
|
} |
38 |
|
|
39 |
|
require_once $SETTINGS['cpassman_dir'].'/sources/main.functions.php'; |
40 |
|
|
suggestion.php 1 location
|
@@ 37-41 (lines=5) @@
|
34 |
|
|
35 |
|
/* do checks */ |
36 |
|
require_once $SETTINGS['cpassman_dir'].'/sources/checks.php'; |
37 |
|
if (!checkUser($_SESSION['user_id'], $_SESSION['key'], curPage())) { |
38 |
|
$_SESSION['error']['code'] = ERR_NOT_ALLOWED; //not allowed page |
39 |
|
include $SETTINGS['cpassman_dir'].'/error.php'; |
40 |
|
exit(); |
41 |
|
} |
42 |
|
|
43 |
|
require_once $SETTINGS['cpassman_dir'].'/sources/SplClassLoader.php'; |
44 |
|
|
users.php 1 location
|
@@ 34-38 (lines=5) @@
|
31 |
|
|
32 |
|
/* do checks */ |
33 |
|
require_once $SETTINGS['cpassman_dir'].'/sources/checks.php'; |
34 |
|
if (!checkUser($_SESSION['user_id'], $_SESSION['key'], curPage())) { |
35 |
|
$_SESSION['error']['code'] = ERR_NOT_ALLOWED; //not allowed page |
36 |
|
include $SETTINGS['cpassman_dir'].'/error.php'; |
37 |
|
exit(); |
38 |
|
} |
39 |
|
|
40 |
|
require_once $SETTINGS['cpassman_dir'].'/sources/SplClassLoader.php'; |
41 |
|
require_once $SETTINGS['cpassman_dir'].'/sources/main.functions.php'; |
views.php 1 location
|
@@ 33-37 (lines=5) @@
|
30 |
|
|
31 |
|
/* do checks */ |
32 |
|
require_once $SETTINGS['cpassman_dir'].'/sources/checks.php'; |
33 |
|
if (!checkUser($_SESSION['user_id'], $_SESSION['key'], curPage())) { |
34 |
|
$_SESSION['error']['code'] = ERR_NOT_ALLOWED; //not allowed page |
35 |
|
include $SETTINGS['cpassman_dir'].'/error.php'; |
36 |
|
exit(); |
37 |
|
} |
38 |
|
|
39 |
|
//Load file |
40 |
|
require_once 'views.load.php'; |
sources/views.queries.php 1 location
|
@@ 36-40 (lines=5) @@
|
33 |
|
/* do checks */ |
34 |
|
require_once $SETTINGS['cpassman_dir'].'/includes/config/include.php'; |
35 |
|
require_once $SETTINGS['cpassman_dir'].'/sources/checks.php'; |
36 |
|
if (!checkUser($_SESSION['user_id'], $_SESSION['key'], "manage_views")) { |
37 |
|
$_SESSION['error']['code'] = ERR_NOT_ALLOWED; //not allowed page |
38 |
|
include $SETTINGS['cpassman_dir'].'/error.php'; |
39 |
|
exit(); |
40 |
|
} |
41 |
|
|
42 |
|
include $SETTINGS['cpassman_dir'].'/includes/language/'.$_SESSION['user_language'].'.php'; |
43 |
|
include $SETTINGS['cpassman_dir'].'/includes/config/settings.php'; |
views_database.php 1 location
|
@@ 36-40 (lines=5) @@
|
33 |
|
/* do checks */ |
34 |
|
include $SETTINGS['cpassman_dir'].'/includes/config/include.php'; |
35 |
|
require_once $SETTINGS['cpassman_dir'].'/sources/checks.php'; |
36 |
|
if (!checkUser($_SESSION['user_id'], $_SESSION['key'], "manage_views")) { |
37 |
|
$_SESSION['error']['code'] = ERR_NOT_ALLOWED; //not allowed page |
38 |
|
include $SETTINGS['cpassman_dir'].'/error.php'; |
39 |
|
exit(); |
40 |
|
} |
41 |
|
|
42 |
|
include $SETTINGS['cpassman_dir'].'/includes/language/'.$_SESSION['user_language'].'.php'; |
43 |
|
include $SETTINGS['cpassman_dir'].'/includes/config/settings.php'; |
views_logs.php 1 location
|
@@ 36-40 (lines=5) @@
|
33 |
|
|
34 |
|
/* do checks */ |
35 |
|
require_once $SETTINGS['cpassman_dir'].'/sources/checks.php'; |
36 |
|
if (!checkUser($_SESSION['user_id'], $_SESSION['key'], "manage_views")) { |
37 |
|
$_SESSION['error']['code'] = ERR_NOT_ALLOWED; //not allowed page |
38 |
|
include $SETTINGS['cpassman_dir'].'/error.php'; |
39 |
|
exit(); |
40 |
|
} |
41 |
|
|
42 |
|
include $SETTINGS['cpassman_dir'].'/includes/language/'.$_SESSION['user_language'].'.php'; |
43 |
|
include $SETTINGS['cpassman_dir'].'/includes/config/settings.php'; |
admin.settings_api.php 1 location
|
@@ 37-41 (lines=5) @@
|
34 |
|
|
35 |
|
/* do checks */ |
36 |
|
require_once $SETTINGS['cpassman_dir'].'/sources/checks.php'; |
37 |
|
if (checkUser($_SESSION['user_id'], $_SESSION['key'], "manage_settings") === false) { |
38 |
|
$_SESSION['error']['code'] = ERR_NOT_ALLOWED; //not allowed page |
39 |
|
include $SETTINGS['cpassman_dir'].'/error.php'; |
40 |
|
exit(); |
41 |
|
} |
42 |
|
|
43 |
|
require_once $SETTINGS['cpassman_dir'].'/includes/language/'.$_SESSION['user_language'].'.php'; |
44 |
|
require_once $SETTINGS['cpassman_dir'].'/includes/config/settings.php'; |