Cheetah
modules
cheetah
board
home.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'
]) && (
$GLOBALS
[
'logged'
][
'member'
] ||
$GLOBALS
[
'logged'
][
'admin'
]) ) ? (int) $_COOKIE[
'memberID'
] : 0;
14
$iIndex
= 57;
15
16
$_page
[
'name_index'
] =
$iIndex
;
17
$_page
[
'css_name'
] =
'main.css'
;
18
19
$_page
[
'header'
] =
_t
(
'_board_page_caption'
);
20
$_page
[
'header_text'
] =
_t
(
'_board_box_caption'
,
$site
[
'title'
]);
21
22
$oBoard
=
new
ChBoardModule
(
$aModule
);
23
$_page_cont
[
$iIndex
][
'page_main_code'
] =
$oBoard
->getContent(
$iId
, $aRequest[0]);
24
25
PageCode
(
$oBoard
->_oTemplate);
ChBoardModule
Definition:
ChBoardModule.php:11
$iIndex
$iIndex
Definition:
home.php:14
$aModule
$aModule
Definition:
classifieds.php:21
php
$_page_cont
global $_page_cont
Definition:
home.php:11
$_page
global $_page
Definition:
home.php:8
$iId
$iId
Definition:
home.php:13
$site
$site['ver']
Definition:
version.inc.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
$oBoard
$oBoard
Definition:
home.php:22
$GLOBALS
$GLOBALS['iAdminPage']
Definition:
advanced_settings.php:10
Generated by
1.8.20