Go to the documentation of this file.
8 require_once(
'./inc/header.inc.php' );
9 require_once(
'./inc/db.inc.php' );
10 require_once(
'./inc/profiles.inc.php' );
13 'cheetah_news' =>
'https://www.cheetahwsb.com/m/news/act_rss',
14 'cheetah_version' =>
'https://www.cheetahwsb.com/version.rss',
15 'cheetah_market' =>
'https://www.cheetahwsb.com/m/market/act_rss',
16 'cheetah_market_lang_files' =>
'https://www.cheetahwsb.com/m/market/act_rss/language',
17 'cheetah_market_templates' =>
'https://www.cheetahwsb.com/m/market/act_rss/template',
18 'cheetah_market_featured' =>
'https://www.cheetahwsb.com/m/market/act_rss/featured',
25 } elseif (0 === strncmp(
'forum|',
$_GET[
'ID'], 6)) {
27 $a = explode(
'|',
$_GET[
'ID']);
28 if (!is_array($a) || 3 != count($a))
31 $sCont = CH_WSB_URL_ROOT . $a[0] .
'/' . $a[1] .
'/rss/forum/' . $a[2] .
'.htm';
35 $sQuery =
"SELECT `Content` FROM `sys_page_compose` WHERE `ID` = " . (int)
$_GET[
'ID'];
48 $sUrl = str_replace(
'{NickName}', $aMember[
'NickName'],
$sUrl );
51 header(
'Content-Type: text/xml' );
</code > Be careful enabling this directive if you have a redirector script that does not use the< code > Location</code > HTTP header
ch_append_url_params($sUrl, $mixedParams)
ch_file_get_contents($sFileUrl, $aParams=array(), $sMethod='get', $aHeaders=array(), &$sHttpCode=null)
db_value($query, $bindings=[], $error_checking=true, $index=0)
getProfileInfo($iProfileID=0, $checkActiveStatus=false, $forceCache=false)