|
Cheetah
|
Go to the source code of this file.
Functions | |
| isLogged () | |
| isLoggedActive () | |
| getLoggedId () | |
| getLoggedPassword () | |
| isMember ($iId=0) | |
| if(!function_exists("isAdmin")) | isAffiliate ($iId=0) |
| isModerator ($iId=0) | |
| isRole ($iRole, $iId=0) | |
| ShowZodiacSign ( $date) | |
| age ( $birth_date) | |
| GetMembershipStatus ($memberID, $bOfferUpgrade=true, $bViewActions=true) | |
| deleteUserDataFile ( $userID) | |
| createUserDataFile ( $userID) | |
| isProfileActive ($iId=0) | |
| getProfileInfoDirect ($iProfileID) | |
| getProfileInfo ($iProfileID=0, $checkActiveStatus=false, $forceCache=false) | |
| getNewLettersNum ( $iID) | |
| getFriendNumber ($iID, $iFrStatus=1, $iOnline=0, $sqlWhere='') | |
| getFriendRequests ($iID) | |
| getMutualFriendsCount ($iId, $iProfileId) | |
| isFaved ($iId, $iProfileId) | |
| isFriendRequest ($iId, $iProfileId) | |
| getMyFriendsEx ($iID, $sWhereParam='', $sSortParam='', $sqlLimit='') | |
| getUsername ( $ID='') | |
| getNickName ( $ID='') | |
| getPassword ( $ID='') | |
| getProfileLink ( $iID, $sLinkAdd='') | |
| isLoggedBanned ($iCurUserID=0) | |
| ch_login ($iId, $bRememberMe=false, $bAlert=true) | |
| ch_logout ($bNotify=true) | |
| setSearchStartAge ($iMin) | |
| setSearchEndAge ($iMax) | |
| ch_check_profile_visibility ($iViewedId, $iViewerId=0, $bReturn=false) | |
Variables | |
| const | CH_WSB_ROLE_GUEST 0 |
| const | CH_WSB_ROLE_MEMBER 1 |
| const | CH_WSB_ROLE_ADMIN 2 |
| const | CH_WSB_ROLE_AFFILIATE 4 |
| const | CH_WSB_ROLE_MODERATOR 8 |
| $aUser = array() | |
| age | ( | $birth_date | ) |
Definition at line 119 of file profiles.inc.php.
| ch_check_profile_visibility | ( | $iViewedId, | |
$iViewerId = 0, |
|||
$bReturn = false |
|||
| ) |
Check profile existing, membership/acl, profile status and privacy. If some of visibility options are not allowed then appropritate page is shown and exit called.
| $iViewedId | viewed member id |
| $iViewerId | viewer member id |
Definition at line 605 of file profiles.inc.php.
Definition at line 514 of file profiles.inc.php.
| ch_logout | ( | $bNotify = true | ) |
Definition at line 538 of file profiles.inc.php.
| createUserDataFile | ( | $userID | ) |
Definition at line 192 of file profiles.inc.php.
| deleteUserDataFile | ( | $userID | ) |
Definition at line 178 of file profiles.inc.php.
| getFriendNumber | ( | $iID, | |
$iFrStatus = 1, |
|||
$iOnline = 0, |
|||
$sqlWhere = '' |
|||
| ) |
Definition at line 301 of file profiles.inc.php.
| getFriendRequests | ( | $iID | ) |
Get number of friend requests sent to the specified profile. It doesn't count pending friend requests which was sent by specified profile.
| $iID | specified profile |
Definition at line 329 of file profiles.inc.php.
| getLoggedId | ( | ) |
Definition at line 32 of file profiles.inc.php.
| getLoggedPassword | ( | ) |
Definition at line 36 of file profiles.inc.php.
Print code for membership status $memberID - member ID $offer_upgrade - will this code be printed at [c]ontrol [p]anel
Definition at line 148 of file profiles.inc.php.
| getMutualFriendsCount | ( | $iId, | |
| $iProfileId | |||
| ) |
Get number of mutual friends.
| $iId | first profile ID |
| $iProfileId | second profile ID |
Definition at line 347 of file profiles.inc.php.
| getMyFriendsEx | ( | $iID, | |
$sWhereParam = '', |
|||
$sSortParam = '', |
|||
$sqlLimit = '' |
|||
| ) |
Definition at line 384 of file profiles.inc.php.
| getNewLettersNum | ( | $iID | ) |
Definition at line 275 of file profiles.inc.php.
| getNickName | ( | $ID = '' | ) |
Definition at line 461 of file profiles.inc.php.
| getPassword | ( | $ID = '' | ) |
Definition at line 475 of file profiles.inc.php.
Definition at line 249 of file profiles.inc.php.
| getProfileInfoDirect | ( | $iProfileID | ) |
Definition at line 244 of file profiles.inc.php.
| getProfileLink | ( | $iID, | |
$sLinkAdd = '' |
|||
| ) |
Definition at line 484 of file profiles.inc.php.
| getUsername | ( | $ID = '' | ) |
Definition at line 443 of file profiles.inc.php.
| if (!function_exists("isAdmin")) isAffiliate | ( | $iId = 0 | ) |
Definition at line 54 of file profiles.inc.php.
| isFaved | ( | $iId, | |
| $iProfileId | |||
| ) |
Definition at line 365 of file profiles.inc.php.
| isFriendRequest | ( | $iId, | |
| $iProfileId | |||
| ) |
Checks whether friend request is available.
| int | $iId | - inviter ID |
| int | $iProfileId | - invited ID |
Definition at line 377 of file profiles.inc.php.
| isLogged | ( | ) |
The following functions are needed to check whether user is logged in or not, active or not and get his ID.
Definition at line 24 of file profiles.inc.php.
| isLoggedActive | ( | ) |
Definition at line 28 of file profiles.inc.php.
| isLoggedBanned | ( | $iCurUserID = 0 | ) |
Definition at line 498 of file profiles.inc.php.
| isMember | ( | $iId = 0 | ) |
The following functions are needed to check the ROLE of user.
Definition at line 44 of file profiles.inc.php.
| isModerator | ( | $iId = 0 | ) |
Definition at line 58 of file profiles.inc.php.
| isProfileActive | ( | $iId = 0 | ) |
Check whether the requested profile is active or not.
Definition at line 236 of file profiles.inc.php.
| isRole | ( | $iRole, | |
$iId = 0 |
|||
| ) |
Definition at line 62 of file profiles.inc.php.
| setSearchEndAge | ( | $iMax | ) |
Definition at line 584 of file profiles.inc.php.
| setSearchStartAge | ( | $iMin | ) |
Definition at line 570 of file profiles.inc.php.
| ShowZodiacSign | ( | $date | ) |
Definition at line 76 of file profiles.inc.php.
| $aUser = array() |
Definition at line 74 of file profiles.inc.php.
| const CH_WSB_ROLE_ADMIN 2 |
Definition at line 17 of file profiles.inc.php.
| const CH_WSB_ROLE_AFFILIATE 4 |
Definition at line 18 of file profiles.inc.php.
| const CH_WSB_ROLE_GUEST 0 |
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 15 of file profiles.inc.php.
| const CH_WSB_ROLE_MEMBER 1 |
Definition at line 16 of file profiles.inc.php.
| const CH_WSB_ROLE_MODERATOR 8 |
Definition at line 19 of file profiles.inc.php.