Go to the documentation of this file.
19 SELECT `p`.*, `f`.`ID`
21 SELECT `ID` AS `ID` FROM `sys_friend_list` WHERE `Profile` = '{$iIdProfile}' AND `Check` =1
23 SELECT `Profile` AS `ID` FROM `sys_friend_list` WHERE `ID` = '{$iIdProfile}' AND `Check` =1
25 INNER JOIN `Profiles` AS `p` ON `p`.`ID` = `f`.`ID`
26 ORDER BY p.`Avatar` DESC
35 $aProfiles = array ();
36 while ($aRow = $r->fetch())
39 return new xmlrpcval ($aProfiles,
"array");
50 SELECT `Profiles`.* FROM `sys_friend_list`
51 LEFT JOIN `Profiles` ON `Profiles`.`ID` = `sys_friend_list`.`ID`
52 WHERE `sys_friend_list`.`Profile` = $iId AND `Check` = 0
53 ORDER BY `Profiles`.`NickName` ASC");
55 $aProfiles = array ();
56 while ($aRow = $r->fetch())
59 return new xmlrpcval ($aProfiles,
"array");
116 $_GET[
'action'] =
'1';
117 require_once( CH_DIRECTORY_PATH_ROOT .
'list_pop.php' );
122 return new xmlrpcval (trim(strip_tags($sRet)));
addFriend($sUser, $sPwd, $sNick, $sLang)
ch_import($sClassName, $aModule=array())
static getIdByNickname($sUser)
PageListFriend($iProfileId, $iMemberId=0)
acceptFriendRequest($sUser, $sPwd, $sNick)
declineFriendRequest($sUser, $sPwd, $sNick)
getFriends($sUser, $sPwd, $sNick, $sLang)
getFriendRequests($sUser, $sPwd, $sLang)
static setLanguage($sLang)
db_res($query, $bindings=[])
static fillProfileArray($a, $sImage='icon', $iIdViewer=0)
static checkLogin($sUser, $sPwd)
removeFriend($sUser, $sPwd, $sNick)