Cheetah
Variables
profile.php File Reference

Go to the source code of this file.

Variables

const CH_PROFILE_PAGE 1
 
 $profileID = getID( $_GET['ID'] )
 
 $memberID = getLoggedId()
 
if(isBlocked($profileID, $memberID)) $sCodeLang = 'lang'
 
 $sCodeTempl = $GLOBALS['oSysTemplate']->getCodeKey()
 
if($profileID !=$memberID) $oProfile = new ChTemplProfileGenerator( $profileID )
 
 $_ni = 5
 
 $_page ['name_index'] = $_ni
 
 $_page ['css_name'] = array('profile_view.css', 'profile_view_tablet.css', 'profile_view_phone.css')
 
 $p_arr = $oProfile -> _aProfile
 
 $sUserInfo = $oFunctions->getUserInfo($p_arr['ID'])
 
 $_page ['header'] = process_line_output(getNickName($p_arr['ID'])) . $sUserInfo
 
 $oPPV = new ChTemplProfileView($oProfile, $site, $dir)
 
 $_page_cont [$_ni]['page_main_code'] = $oPPV->getCode()
 
 $_page_cont [$_ni]['custom_block'] = ''
 
 $_page_cont [$_ni]['page_main_css'] = ''
 
if(ChWsbInstallerUtils::isModuleInstalled("profile_customize")) $iId = $profileID
 
 $iMemberId = $memberID
 
 $sTxtProfileAccountPage = _t('_sys_am_profile_account_page')
 
 $sTxtProfileMessage = _t('_sys_am_profile_message')
 
 $sTxtFriendAdd = _t('_sys_am_profile_friend_add')
 
 $sTxtFriendAccept = _t('_sys_am_profile_friend_accept')
 
 $sTxtFriendCancel = _t('_sys_am_profile_friend_cancel')
 
 $aVars
 
if(isFriendRequest($iMemberId, $iId)) else if(isFriendRequest($iId, $iMemberId)) else
 
 $aVars ['cpt_am_friend_cancel'] = $sTxtFriendCancel
 
 $aVars ['cpt_am_profile_message'] = $sTxtProfileMessage
 

Variable Documentation

◆ $_ni

$_ni = 5

Definition at line 63 of file profile.php.

◆ $_page [1/3]

$_page[ 'css_name'] = array('profile_view.css', 'profile_view_tablet.css', 'profile_view_phone.css')

Definition at line 66 of file profile.php.

◆ $_page [2/3]

$_page[ 'header'] = process_line_output(getNickName($p_arr['ID'])) . $sUserInfo

Definition at line 74 of file profile.php.

◆ $_page [3/3]

$_page[ 'name_index'] = $_ni

Definition at line 65 of file profile.php.

◆ $_page_cont [1/3]

$_page_cont[ $_ni][ 'custom_block'] = ''

Definition at line 78 of file profile.php.

◆ $_page_cont [2/3]

$_page_cont[ $_ni][ 'page_main_code'] = $oPPV->getCode()

Definition at line 77 of file profile.php.

◆ $_page_cont [3/3]

$_page_cont[ $_ni][ 'page_main_css'] = ''

Definition at line 79 of file profile.php.

◆ $aVars [1/3]

$aVars
Initial value:
= array(
'ID' => $iId,
'member_id' => $iMemberId,
'BaseUri' => CH_WSB_URL_ROOT,
'cpt_am_profile_account_page' => $sTxtProfileAccountPage
)

Definition at line 99 of file profile.php.

◆ $aVars [2/3]

$aVars[ 'cpt_am_friend_cancel'] = $sTxtFriendCancel

Definition at line 115 of file profile.php.

◆ $aVars [3/3]

$aVars[ 'cpt_am_profile_message'] = $sTxtProfileMessage

Definition at line 116 of file profile.php.

◆ $iId

if (ChWsbInstallerUtils::isModuleInstalled("profile_customize")) $iId = $profileID

Definition at line 90 of file profile.php.

◆ $iMemberId

$iMemberId = $memberID

Definition at line 91 of file profile.php.

◆ $memberID

$memberID = getLoggedId()

Definition at line 20 of file profile.php.

◆ $oPPV

$oPPV = new ChTemplProfileView($oProfile, $site, $dir)

Definition at line 76 of file profile.php.

◆ $oProfile

if ( $profileID !=$memberID) $oProfile = new ChTemplProfileGenerator( $profileID )

Definition at line 55 of file profile.php.

◆ $p_arr

$p_arr = $oProfile -> _aProfile

Definition at line 68 of file profile.php.

◆ $profileID

$profileID = getID( $_GET['ID'] )

Definition at line 19 of file profile.php.

◆ $sCodeLang

if (isBlocked( $profileID, $memberID)) $sCodeLang = 'lang'

Definition at line 29 of file profile.php.

◆ $sCodeTempl

$sCodeTempl = $GLOBALS['oSysTemplate']->getCodeKey()

Definition at line 30 of file profile.php.

◆ $sTxtFriendAccept

$sTxtFriendAccept = _t('_sys_am_profile_friend_accept')

Definition at line 96 of file profile.php.

◆ $sTxtFriendAdd

$sTxtFriendAdd = _t('_sys_am_profile_friend_add')

Definition at line 95 of file profile.php.

◆ $sTxtFriendCancel

$sTxtFriendCancel = _t('_sys_am_profile_friend_cancel')

Definition at line 97 of file profile.php.

◆ $sTxtProfileAccountPage

$sTxtProfileAccountPage = _t('_sys_am_profile_account_page')

Definition at line 93 of file profile.php.

◆ $sTxtProfileMessage

$sTxtProfileMessage = _t('_sys_am_profile_message')

Definition at line 94 of file profile.php.

◆ $sUserInfo

$sUserInfo = $oFunctions->getUserInfo($p_arr['ID'])

Definition at line 70 of file profile.php.

◆ CH_PROFILE_PAGE

const CH_PROFILE_PAGE 1

This work, "Cheetah - https://www.cheetahwsb.com", is a derivative of "Dolphin Pro V7.4.2" by BoonEx Pty Limited - https://www.boonex.com/, used under CC-BY. "Cheetah" is licensed under CC-BY by Dean J. Bassett Jr. CC-BY License - http://creativecommons.org/licenses/by/3.0/

Definition at line 8 of file profile.php.

◆ else

if (isFriendRequest( $iMemberId, $iId)) else if (isFriendRequest( $iId, $iMemberId)) else
Initial value:
{
$aVars['cpt_am_friend_add'] = $sTxtFriendAdd

Definition at line 113 of file profile.php.

$iMemberId
$iMemberId
Definition: profile.php:91
$sTxtProfileAccountPage
$sTxtProfileAccountPage
Definition: profile.php:93
$iId
if(ChWsbInstallerUtils::isModuleInstalled("profile_customize")) $iId
Definition: profile.php:90
$aVars
$aVars
Definition: profile.php:99
$sTxtFriendAdd
$sTxtFriendAdd
Definition: profile.php:95