Cheetah
modules
cheetah
board
rules.php
Go to the documentation of this file.
1
<?
php
2
8
require_once( CH_DIRECTORY_PATH_MODULES .
$aModule
[
'path'
] .
'/classes/'
.
$aModule
[
'class_prefix'
] .
'Module.php'
);
9
10
global
$_page
;
11
global
$_page_cont
;
12
13
$iId
= isset($_COOKIE[
'memberID'
]) ? (int)$_COOKIE[
'memberID'
] : 0;
14
$_page
[
'name_index'
] = 57;
15
$_page
[
'css_name'
] =
'main.css'
;
16
17
// --------------- page variables and login
18
19
check_logged
();
20
21
$_page
[
'header'
] =
_t
(
"_board_page_rules_caption"
);
22
$_page
[
'header_text'
] =
_t
(
"_board_page_rules_caption"
);
23
24
// --------------- page components
25
26
$_ni
=
$_page
[
'name_index'
];
27
$_page_cont
[
$_ni
][
'page_main_code'
] =
PageCompMainCode
();
28
29
// --------------- [END] page components
30
31
PageCode
();
32
33
// --------------- page components functions
34
38
function
PageCompMainCode
()
39
{
40
return
DesignBoxContent
(
_t
(
"_board_page_rules_caption"
),
'<div class="dbContent">'
.
_t
(
"_board_rules"
) .
'</div>'
,
$GLOBALS
[
'oTemplConfig'
] -> PageCompThird_db_num);
41
}
$_page_cont
global $_page_cont
Definition:
rules.php:11
check_logged
check_logged()
Definition:
admin.inc.php:238
$aModule
$aModule
Definition:
classifieds.php:21
php
PageCompMainCode
PageCompMainCode()
Definition:
rules.php:38
$_page
global $_page
Definition:
rules.php:8
global
if(!defined("GLOBAL_MODULE")) define("GLOBAL_MODULE" global
Definition:
header.inc.php:25
_t
_t($key, $arg0="", $arg1="", $arg2="")
Definition:
languages.inc.php:509
PageCode
PageCode($oTemplate=null)
Definition:
design.inc.php:91
$_ni
$_ni
Definition:
rules.php:26
$iId
$iId
Definition:
rules.php:13
DesignBoxContent
DesignBoxContent($title, $content, $db_num=0, $caption_item='', $bottom_item='')
Definition:
design.inc.php:78
$GLOBALS
$GLOBALS['iAdminPage']
Definition:
advanced_settings.php:10
Generated by
1.8.20