Cheetah
searchKeywordContent.php
Go to the documentation of this file.
1
<?
php
2
8
require_once(
'inc/header.inc.php'
);
9
require_once(CH_DIRECTORY_PATH_INC .
'design.inc.php'
);
10
require_once(CH_DIRECTORY_PATH_INC .
'languages.inc.php'
);
11
ch_import
(
'ChWsbSearch'
);
12
13
$bAjaxMode
= ( isset( $_SERVER[
'HTTP_X_REQUESTED_WITH'
] )
and
$_SERVER[
'HTTP_X_REQUESTED_WITH'
] ==
'XMLHttpRequest'
) ?
true
:
false
;
14
$aChoice
=
ch_get
(
'section'
);
15
$oZ
=
new
ChWsbSearch
(
$aChoice
);
16
$sCode
=
$oZ
->response();
17
if
(mb_strlen(
$sCode
) > 0)
18
echo
$sCode
;
19
else
20
echo
$oZ
->getEmptyResult();
ch_import
ch_import($sClassName, $aModule=array())
Definition:
utils.inc.php:1218
ch_get
ch_get($sName)
Definition:
utils.inc.php:1664
php
and
and
Definition:
license.txt:18
$aChoice
$aChoice
Definition:
searchKeywordContent.php:14
$bAjaxMode
$bAjaxMode
Definition:
searchKeywordContent.php:13
$sCode
$sCode
Definition:
searchKeywordContent.php:16
$oZ
$oZ
Definition:
searchKeywordContent.php:15
ChWsbSearch
Definition:
ChWsbSearch.php:39
Generated by
1.8.20