No regular expressions were active.
1 |
|
<?
|
|
1 |
|
<?
|
2 |
|
|
|
2 |
|
|
3 |
|
/*********
**********
**********
**********
**********
**********
**********
******
|
|
3 |
|
/*********
**********
**********
**********
**********
**********
**********
******
|
4 |
|
*
D
olphin Sma
rt Communi
ty Builder
|
|
4 |
|
*
D
olphin Sma
rt Communi
ty Builder
|
5 |
|
*
---------
--------
|
|
5 |
|
*
---------
--------
|
6 |
|
* begi
n
: M
on Mar 23
2006
|
|
6 |
|
* begi
n
: M
on Mar 23
2006
|
7 |
|
* copy
right
: (
C) 2006 Bo
onEx Group
|
|
7 |
|
* copy
right
: (
C) 2006 Bo
onEx Group
|
8 |
|
* webs
ite
: h
ttp://www.
boonex.com
/
|
|
8 |
|
* webs
ite
: h
ttp://www.
boonex.com
/
|
9 |
|
* This fil
e is part
of Dolphin
- Smart C
ommunity B
uilder
|
|
9 |
|
* This fil
e is part
of Dolphin
- Smart C
ommunity B
uilder
|
10 |
|
*
|
|
10 |
|
*
|
11 |
|
* Dolphin
is free so
ftware. Th
is work is
licensed
under a Cr
eative Com
mons Attri
bution 3.0
License.
|
|
11 |
|
* Dolphin
is free so
ftware. Th
is work is
licensed
under a Cr
eative Com
mons Attri
bution 3.0
License.
|
12 |
|
* http://c
reativecom
mons.org/l
icenses/by
/3.0/
|
|
12 |
|
* http://c
reativecom
mons.org/l
icenses/by
/3.0/
|
13 |
|
*
|
|
13 |
|
*
|
14 |
|
* Dolphin
is distrib
uted in th
e hope tha
t it will
be useful,
but WITHO
UT ANY WAR
RANTY;
|
|
14 |
|
* Dolphin
is distrib
uted in th
e hope tha
t it will
be useful,
but WITHO
UT ANY WAR
RANTY;
|
15 |
|
* without
even the i
mplied war
ranty of
MERCHANTAB
ILITY or F
ITNESS FOR
A PARTICU
LAR PURPOS
E.
|
|
15 |
|
* without
even the i
mplied war
ranty of
MERCHANTAB
ILITY or F
ITNESS FOR
A PARTICU
LAR PURPOS
E.
|
16 |
|
* See the
Creative C
ommons Att
ribution 3
.0 License
for more
details.
|
|
16 |
|
* See the
Creative C
ommons Att
ribution 3
.0 License
for more
details.
|
17 |
|
* You shou
ld have re
ceived a c
opy of the
Creative
Commons At
tribution
3.0 Licens
e along wi
th Dolphin
,
|
|
17 |
|
* You shou
ld have re
ceived a c
opy of the
Creative
Commons At
tribution
3.0 Licens
e along wi
th Dolphin
,
|
18 |
|
* see lice
nse.txt fi
le; if not
, write to
marketing
@boonex.co
m
|
|
18 |
|
* see lice
nse.txt fi
le; if not
, write to
marketing
@boonex.co
m
|
19 |
|
**********
**********
**********
**********
**********
**********
**********
*****/
|
|
19 |
|
**********
**********
**********
**********
**********
**********
**********
*****/
|
20 |
|
|
|
20 |
|
|
21 |
|
|
|
21 |
|
|
22 |
|
require_on
ce( 'inc/h
eader.inc.
php' );
|
|
22 |
|
require_on
ce( 'inc/h
eader.inc.
php' );
|
23 |
|
require_on
ce( BX_DIR
ECTORY_PAT
H_INC . 'd
esign.inc.
php' );
|
|
23 |
|
require_on
ce( BX_DIR
ECTORY_PAT
H_INC . 'd
esign.inc.
php' );
|
24 |
|
require_on
ce( BX_DIR
ECTORY_PAT
H_INC . 'p
rofiles.in
c.php' );
|
|
24 |
|
require_on
ce( BX_DIR
ECTORY_PAT
H_INC . 'p
rofiles.in
c.php' );
|
25 |
|
|
|
25 |
|
|
26 |
|
$_page['na
me_index']
= 82;
|
|
26 |
|
$_page['na
me_index']
= 82;
|
27 |
|
$_page['cs
s_name'] =
'browse.c
ss';
|
|
27 |
|
$_page['cs
s_name'] =
'browse.c
ss';
|
28 |
|
|
|
28 |
|
|
29 |
|
|
|
29 |
|
check_logg
ed();
|
30 |
|
if ( !( $l
ogged['adm
in'] = mem
ber_auth(
1, false )
) )
|
|
|
31 |
|
if ( !
( $logged[
'member']
= member_a
uth( 0, fa
lse ) ) )
|
|
|
32 |
|
if
( !( $log
ged['aff']
= member_
auth( 2, f
alse )) )
|
|
|
33 |
|
$logged[
'moderator
'] = membe
r_auth( 3,
false );
|
|
|
34 |
|
|
|
30 |
|
|
35 |
|
if ( isset
($_GET['iU
ser']) )
|
|
31 |
|
if ( isset
($_GET['iU
ser']) )
|
36 |
|
{
|
|
32 |
|
{
|
37 |
|
$iID =
(int)$_GE
T['iUser']
;
|
|
33 |
|
$iID =
(int)$_GE
T['iUser']
;
|
38 |
|
$_page
['header']
= getNick
Name( $iID
)."'s "._t
("_Friends
");
|
|
34 |
|
$_page
['header']
= getNick
Name( $iID
)."'s "._t
("_Friends
");
|
39 |
|
$_page
['header_t
ext'] = ge
tNickName(
$iID)."'s
"._t("_Fr
iends");
|
|
35 |
|
$_page
['header_t
ext'] = ge
tNickName(
$iID)."'s
"._t("_Fr
iends");
|
40 |
|
}
|
|
36 |
|
}
|
41 |
|
|
|
37 |
|
|
42 |
|
$_ni = $_p
age['name_
index'];
|
|
38 |
|
$_ni = $_p
age['name_
index'];
|
43 |
|
$_page_con
t[$_ni]['p
age_main_c
ode'] = Pa
geCompPage
MainCode()
;
|
|
39 |
|
$_page_con
t[$_ni]['p
age_main_c
ode'] = Pa
geCompPage
MainCode()
;
|
44 |
|
|
|
40 |
|
|
45 |
|
PageCode()
;
|
|
41 |
|
PageCode()
;
|
46 |
|
|
|
42 |
|
|
47 |
|
function P
ageCompPag
eMainCode(
)
|
|
43 |
|
function P
ageCompPag
eMainCode(
)
|
48 |
|
{
|
|
44 |
|
{
|
49 |
|
global
$iID;
|
|
45 |
|
global
$iID;
|
50 |
|
|
|
46 |
|
|
51 |
|
$sFrie
ndList = g
etFriendLi
st( $iID )
;
|
|
47 |
|
$sFrie
ndList = g
etFriendLi
st( $iID )
;
|
52 |
|
|
|
48 |
|
|
53 |
|
return
$sFriendL
ist;
|
|
49 |
|
return
$sFriendL
ist;
|
54 |
|
}
|
|
50 |
|
}
|
55 |
|
|
|
51 |
|
|
56 |
|
function g
etFriendLi
st( $id )
|
|
52 |
|
function g
etFriendLi
st( $id )
|
57 |
|
{
|
|
53 |
|
{
|
58 |
|
global
$site;
|
|
54 |
|
global
$site;
|
59 |
|
global
$max_thum
b_width;
|
|
55 |
|
global
$max_thum
b_width;
|
60 |
|
global
$max_thum
b_height;
|
|
56 |
|
global
$max_thum
b_height;
|
61 |
|
|
|
57 |
|
|
62 |
|
$id =
(int)$id;
|
|
58 |
|
$id =
(int)$id;
|
63 |
|
$frien
d_list_que
ry = "SELE
CT `Profil
es`.* FROM
`FriendLi
st`
|
|
59 |
|
$frien
d_list_que
ry = "SELE
CT `Profil
es`.* FROM
`FriendLi
st`
|
64 |
|
LEFT JO
IN `Profil
es` ON (`P
rofiles`.`
ID` = `Fri
endList`.`
Profile` A
ND `Friend
List`.`ID`
= '$id' O
R `Profile
s`.`ID` =
`FriendLis
t`.`ID` AN
D `FriendL
ist`.`Prof
ile` = '$i
d')
|
|
60 |
|
LEFT JO
IN `Profil
es` ON (`P
rofiles`.`
ID` = `Fri
endList`.`
Profile` A
ND `Friend
List`.`ID`
= '$id' O
R `Profile
s`.`ID` =
`FriendLis
t`.`ID` AN
D `FriendL
ist`.`Prof
ile` = '$i
d')
|
65 |
|
WHERE (
`FriendLis
t`.`Profil
e` = '$id'
OR `Frien
dList`.`ID
` = '$id')
AND `Frie
ndList`.`C
heck` = '1
' ORDER BY
`Profiles
`.`Picture
` DESC";
|
|
61 |
|
WHERE (
`FriendLis
t`.`Profil
e` = '$id'
OR `Frien
dList`.`ID
` = '$id')
AND `Frie
ndList`.`C
heck` = '1
' ORDER BY
`Profiles
`.`Picture
` DESC";
|
66 |
|
|
|
62 |
|
|
67 |
|
$frien
d_list_res
= db_res(
"$friend_l
ist_query"
);
|
|
63 |
|
$frien
d_list_res
= db_res(
"$friend_l
ist_query"
);
|
68 |
|
|
|
64 |
|
|
69 |
|
$iCoun
ter = 0;
|
|
65 |
|
$iCoun
ter = 0;
|
70 |
|
while
( $friend_
list_arr =
mysql_fet
ch_assoc(
$friend_li
st_res ) )
|
|
66 |
|
while
( $friend_
list_arr =
mysql_fet
ch_assoc(
$friend_li
st_res ) )
|
71 |
|
{
|
|
67 |
|
{
|
72 |
|
$i
Counter ++
;
|
|
68 |
|
$i
Counter ++
;
|
73 |
|
$s
Key = '1';
|
|
69 |
|
$s
Key = '1';
|
74 |
|
if
( $iCounte
r == 3 )
|
|
70 |
|
if
( $iCounte
r == 3 )
|
75 |
|
{
|
|
71 |
|
{
|
76 |
|
$sKey =
'1';
|
|
72 |
|
$sKey =
'1';
|
77 |
|
}
|
|
73 |
|
}
|
78 |
|
|
|
74 |
|
|
79 |
|
$ret
.=
'<div
class="fri
ends_thumb
_'.$sKey.'
">'
.
get_member
_thumbnail
($friend_l
ist_arr['I
D'],
'none'
)
.
'<div
class="bro
wse_nick">
<a
href="'
.
getProfile
Link($frie
nd_list_ar
r['ID'])
.
'">'
.
$friend_li
st_arr['Ni
ckName']
.
'</a></div
><div
class="cle
ar_both"><
/div></div
>';
|
|
75 |
|
$ret
.=
'<div
class="fri
ends_thumb
_'.$sKey.'
">'
.
get_member
_thumbnail
($friend_l
ist_arr['I
D'],
'none'
,
true
)
.
'<div
class="bro
wse_nick">
<a
href="'
.
getProfile
Link($frie
nd_list_ar
r['ID'])
.
'">'
.
$friend_li
st_arr['Ni
ckName']
.
'</a></div
><div
class="cle
ar_both"><
/div></div
>';
|
80 |
|
|
|
76 |
|
|
81 |
|
if
( $iCounte
r == 3)
|
|
77 |
|
if
( $iCounte
r == 3)
|
82 |
|
$iCounte
r = 0;
|
|
78 |
|
$iCounte
r = 0;
|
83 |
|
}
|
|
79 |
|
}
|
84 |
|
|
|
80 |
|
|
85 |
|
return
$ret;
|
|
81 |
|
return
$ret;
|
86 |
|
}
|
|
82 |
|
}
|