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 |
|
require_on
ce( 'inc/h
eader.inc.
php' );
|
|
21 |
|
require_on
ce( 'inc/h
eader.inc.
php' );
|
22 |
|
require_on
ce( BX_DIR
ECTORY_PAT
H_INC . 'd
esign.inc.
php' );
|
|
22 |
|
require_on
ce( BX_DIR
ECTORY_PAT
H_INC . 'd
esign.inc.
php' );
|
23 |
|
require_on
ce( BX_DIR
ECTORY_PAT
H_INC . 'p
rofiles.in
c.php' );
|
|
23 |
|
require_on
ce( BX_DIR
ECTORY_PAT
H_INC . 'p
rofiles.in
c.php' );
|
24 |
|
|
|
24 |
|
|
25 |
|
// -------
-------- p
age variab
les and lo
gin
|
|
25 |
|
// -------
-------- p
age variab
les and lo
gin
|
26 |
|
|
|
26 |
|
|
27 |
|
//$_page['
name_index
'] = 38;
|
|
27 |
|
//$_page['
name_index
'] = 38;
|
28 |
|
$_page['na
me_index']
= 44;
|
|
28 |
|
$_page['na
me_index']
= 44;
|
29 |
|
$_page['cs
s_name']
= 'fre
email.css'
;
|
|
29 |
|
$_page['cs
s_name']
= 'fre
email.css'
;
|
30 |
|
|
|
30 |
|
|
31 |
|
$_page['he
ader'] = _
t( "_FREEM
AIL_H" );
|
|
31 |
|
$_page['he
ader'] = _
t( "_FREEM
AIL_H" );
|
32 |
|
|
|
32 |
|
|
33 |
|
$logged['m
ember'] =
member_aut
h(0, false
);
|
|
33 |
|
$logged['m
ember'] =
member_aut
h(0, false
);
|
34 |
|
|
|
34 |
|
|
35 |
|
// -------
-------- p
age compon
ents
|
|
35 |
|
// -------
-------- p
age compon
ents
|
36 |
|
|
|
36 |
|
|
37 |
|
$_ni = $_p
age['name_
index'];
|
|
37 |
|
$_ni = $_p
age['name_
index'];
|
38 |
|
$_page_con
t[$_ni]['p
age_main_c
ode'] = De
signBoxCon
tent( $_pa
ge['header
'], PageCo
mpPageMain
Code(), $o
TemplConfi
g -> PageF
reeMailPop
_db_num);
|
|
38 |
|
$_page_con
t[$_ni]['p
age_main_c
ode'] = De
signBoxCon
tent( $_pa
ge['header
'], PageCo
mpPageMain
Code(), $o
TemplConfi
g -> PageF
reeMailPop
_db_num);
|
39 |
|
$_page_con
t[$_ni]['b
ody_onload
'] = '';
|
|
39 |
|
$_page_con
t[$_ni]['b
ody_onload
'] = '';
|
40 |
|
|
|
40 |
|
|
41 |
|
// -------
-------- [
END] page
components
|
|
41 |
|
// -------
-------- [
END] page
components
|
42 |
|
|
|
42 |
|
|
43 |
|
PageCode()
;
|
|
43 |
|
PageCode()
;
|
44 |
|
|
|
44 |
|
|
45 |
|
// -------
-------- p
age compon
ents funct
ions
|
|
45 |
|
// -------
-------- p
age compon
ents funct
ions
|
46 |
|
|
|
46 |
|
|
47 |
|
/**
|
|
47 |
|
/**
|
48 |
|
* page co
de functio
n
|
|
48 |
|
* page co
de functio
n
|
49 |
|
*/
|
|
49 |
|
*/
|
50 |
|
function P
ageCompPag
eMainCode(
)
|
|
50 |
|
function P
ageCompPag
eMainCode(
)
|
51 |
|
{
|
|
51 |
|
{
|
52 |
|
global
$_page;
|
|
52 |
|
global
$_page;
|
53 |
|
|
|
53 |
|
|
54 |
|
$membe
r['ID'] =
(int)$_COO
KIE['membe
rID'];
|
|
54 |
|
$membe
r['ID'] =
(int)$_COO
KIE['membe
rID'];
|
55 |
|
|
|
55 |
|
|
56 |
|
if ( !
$_REQUEST[
'ID'] )
|
|
56 |
|
if ( !
$_REQUEST[
'ID'] )
|
57 |
|
{
|
|
57 |
|
{
|
58 |
|
re
turn _t_er
r( "_No me
mber speci
fied" );
|
|
58 |
|
re
turn _t_er
r( "_No me
mber speci
fied" );
|
59 |
|
}
|
|
59 |
|
}
|
60 |
|
|
|
60 |
|
|
61 |
|
$ID =
getID($_RE
QUEST['ID'
], 0);
|
|
61 |
|
$ID =
getID($_RE
QUEST['ID'
], 0);
|
62 |
|
|
|
62 |
|
|
63 |
|
if( !$
ID )
|
|
63 |
|
if( !$
ID )
|
64 |
|
re
turn _t_er
r("_PROFIL
E_NOT_AVAI
LABLE");
|
|
64 |
|
re
turn _t_er
r("_PROFIL
E_NOT_AVAI
LABLE");
|
65 |
|
|
|
65 |
|
|
66 |
|
$profile
=
getProfile
Info(
$ID
);
//db_arr(
"SELECT
*
FROM
`Profiles`
WHERE
`ID`
=
'$ID'
LIMIT
1;"
);
|
|
66 |
|
$profile
=
getProfile
Info(
$ID
);
|
67 |
|
|
|
67 |
|
|
68 |
|
|
|
68 |
|
|
69 |
|
// Che
ck if memb
er can get
email ADD
CART CHEC
K HERE
|
|
69 |
|
// Che
ck if memb
er can get
email ADD
CART CHEC
K HERE
|
70 |
|
$check
_res = che
ckAction(
$member['I
D'], ACTIO
N_ID_GET_E
MAIL );
|
|
70 |
|
$check
_res = che
ckAction(
$member['I
D'], ACTIO
N_ID_GET_E
MAIL );
|
71 |
|
if ( $
check_res[
CHECK_ACTI
ON_RESULT]
!= CHECK_
ACTION_RES
ULT_ALLOWE
D )
|
|
71 |
|
if ( $
check_res[
CHECK_ACTI
ON_RESULT]
!= CHECK_
ACTION_RES
ULT_ALLOWE
D )
|
72 |
|
{
|
|
72 |
|
{
|
73 |
|
$r
et = '<div
class="so
undPop">'
. $check_r
es[CHECK_A
CTION_MESS
AGE] . '</
div>';
|
|
73 |
|
$r
et = '<div
class="so
undPop">'
. $check_r
es[CHECK_A
CTION_MESS
AGE] . '</
div>';
|
74 |
|
re
turn $ret;
|
|
74 |
|
re
turn $ret;
|
75 |
|
}
|
|
75 |
|
}
|
76 |
|
|
|
76 |
|
|
77 |
|
// Che
ck if prof
ile found
|
|
77 |
|
// Che
ck if prof
ile found
|
78 |
|
|
|
78 |
|
|
79 |
|
if( !$
profile )
|
|
79 |
|
if( !$
profile )
|
80 |
|
{
|
|
80 |
|
{
|
81 |
|
$r
et = _t_er
r("_PROFIL
E_NOT_AVAI
LABLE");
|
|
81 |
|
$r
et = _t_er
r("_PROFIL
E_NOT_AVAI
LABLE");
|
82 |
|
re
turn $ret;
|
|
82 |
|
re
turn $ret;
|
83 |
|
}
|
|
83 |
|
}
|
84 |
|
|
|
84 |
|
|
85 |
|
$actio
n_result =
"";
|
|
85 |
|
$actio
n_result =
"";
|
86 |
|
$get_r
esult = Me
mberFreeEm
ail( $memb
er['ID'],
$profile )
;
|
|
86 |
|
$get_r
esult = Me
mberFreeEm
ail( $memb
er['ID'],
$profile )
;
|
87 |
|
|
|
87 |
|
|
88 |
|
switch
( $get_re
sult )
|
|
88 |
|
switch
( $get_re
sult )
|
89 |
|
{
|
|
89 |
|
{
|
90 |
|
ca
se 7:
|
|
90 |
|
ca
se 7:
|
91 |
|
$action_
result = _
t_err( "_P
ROFILE_NOT
_AVAILABLE
" );
|
|
91 |
|
$action_
result = _
t_err( "_P
ROFILE_NOT
_AVAILABLE
" );
|
92 |
|
break;
|
|
92 |
|
break;
|
93 |
|
ca
se 13:
|
|
93 |
|
ca
se 13:
|
94 |
|
$action_
result = _
t_err( "_Y
OUR PROFIL
E_IS_NOT_A
CTIVE" );
|
|
94 |
|
$action_
result = _
t_err( "_Y
OUR PROFIL
E_IS_NOT_A
CTIVE" );
|
95 |
|
break;
|
|
95 |
|
break;
|
96 |
|
ca
se 20:
|
|
96 |
|
ca
se 20:
|
97 |
|
$action_
result = _
t_err( "_F
REEMAIL_NO
T_ALLOWED"
);
|
|
97 |
|
$action_
result = _
t_err( "_F
REEMAIL_NO
T_ALLOWED"
);
|
98 |
|
break;
|
|
98 |
|
break;
|
99 |
|
ca
se 21:
|
|
99 |
|
ca
se 21:
|
100 |
|
$action_
result = _
t_err( "_F
REEMAIL_AL
READY_SENT
", $ID );
|
|
100 |
|
$action_
result = _
t_err( "_F
REEMAIL_AL
READY_SENT
", $ID );
|
101 |
|
break;
|
|
101 |
|
break;
|
102 |
|
ca
se 25:
|
|
102 |
|
ca
se 25:
|
103 |
|
$action_
result = _
t_err( "_F
REEMAIL_BL
OCK", $ID
);
|
|
103 |
|
$action_
result = _
t_err( "_F
REEMAIL_BL
OCK", $ID
);
|
104 |
|
break;
|
|
104 |
|
break;
|
105 |
|
ca
se 44:
|
|
105 |
|
ca
se 44:
|
106 |
|
$action_
result = _
t_err( "_F
REEMAIL_NO
T_KISSED",
$ID );
|
|
106 |
|
$action_
result = _
t_err( "_F
REEMAIL_NO
T_KISSED",
$ID );
|
107 |
|
break;
|
|
107 |
|
break;
|
108 |
|
ca
se 45:
|
|
108 |
|
ca
se 45:
|
109 |
|
$action_
result = _
t_err("_FR
EEMAIL_ERR
OR");
|
|
109 |
|
$action_
result = _
t_err("_FR
EEMAIL_ERR
OR");
|
110 |
|
break;
|
|
110 |
|
break;
|
111 |
|
de
fault:
|
|
111 |
|
de
fault:
|
112 |
|
$action_
result = _
t( "_FREEM
AIL_SENT",
$profile[
'NickName'
] );
|
|
112 |
|
$action_
result = _
t( "_FREEM
AIL_SENT",
$profile[
'NickName'
] );
|
113 |
|
break;
|
|
113 |
|
break;
|
114 |
|
}
|
|
114 |
|
}
|
115 |
|
|
|
115 |
|
|
116 |
|
if ( $
get_result
)
|
|
116 |
|
if ( $
get_result
)
|
117 |
|
{
|
|
117 |
|
{
|
118 |
|
$_
page['head
er_text']
= _t( "_Co
ntact info
rmation no
t sent" );
|
|
118 |
|
$_
page['head
er_text']
= _t( "_Co
ntact info
rmation no
t sent" );
|
119 |
|
}
|
|
119 |
|
}
|
120 |
|
else
|
|
120 |
|
else
|
121 |
|
{
|
|
121 |
|
{
|
122 |
|
$_
page['head
er_text']
= _t( "_Co
ntact info
rmation se
nt" );
|
|
122 |
|
$_
page['head
er_text']
= _t( "_Co
ntact info
rmation se
nt" );
|
123 |
|
}
|
|
123 |
|
}
|
124 |
|
|
|
124 |
|
|
125 |
|
|
|
125 |
|
|
126 |
|
/*
|
|
126 |
|
/*
|
127 |
|
if ( $
get_result
!= 0 && $
get_result
!= 25 )
|
|
127 |
|
if ( $
get_result
!= 0 && $
get_result
!= 25 )
|
128 |
|
$s
end_form =
send_form
();
|
|
128 |
|
$s
end_form =
send_form
();
|
129 |
|
else
|
|
129 |
|
else
|
130 |
|
$s
end_form =
"";
|
|
130 |
|
$s
end_form =
"";
|
131 |
|
*/
|
|
131 |
|
*/
|
132 |
|
$ret =
'<div cla
ss="soundP
op">' . $a
ction_resu
lt . '</di
v>' . "\n"
;
|
|
132 |
|
$ret =
'<div cla
ss="soundP
op">' . $a
ction_resu
lt . '</di
v>' . "\n"
;
|
133 |
|
|
|
133 |
|
|
134 |
|
return
$ret;
|
|
134 |
|
return
$ret;
|
135 |
|
}
|
|
135 |
|
}
|
136 |
|
|
|
136 |
|
|
137 |
|
function M
emberFreeE
mail( $rec
ipientID,
$profile )
|
|
137 |
|
function M
emberFreeE
mail( $rec
ipientID,
$profile )
|
138 |
|
{
|
|
138 |
|
{
|
139 |
|
global
$site;
|
|
139 |
|
global
$site;
|
140 |
|
global
$anon_mod
e;
|
|
140 |
|
global
$anon_mod
e;
|
141 |
|
|
|
141 |
|
|
142 |
|
$recip
ientID = (
int)$recip
ientID;
|
|
142 |
|
$recip
ientID = (
int)$recip
ientID;
|
143 |
|
$aReci
pientArr =
db_arr( "
SELECT `Em
ail` FROM
`Profiles`
WHERE `ID
` = '$reci
pientID' A
ND `Status
` = 'Activ
e'", 0 );
|
|
143 |
|
$aReci
pientArr =
db_arr( "
SELECT `Em
ail` FROM
`Profiles`
WHERE `ID
` = '$reci
pientID' A
ND `Status
` = 'Activ
e'", 0 );
|
144 |
|
/*
|
|
144 |
|
|
145 |
|
$check
BlockQuery
= "
|
|
|
146 |
|
SE
LECT
|
|
|
147 |
|
`sou
rceID`,
|
|
|
148 |
|
FR
OM
|
|
|
149 |
|
`Pro
filesRelat
ions`
|
|
|
150 |
|
WH
ERE
|
|
|
151 |
|
`sou
rceID` = '
{$profile[
'ID']}'
|
|
|
152 |
|
AN
D
|
|
|
153 |
|
`tar
getID` = '
{$recipien
tID}'
|
|
|
154 |
|
AN
D
|
|
|
155 |
|
`act
ion` = 'bl
ock'
|
|
|
156 |
|
LI
MIT 1;
|
|
|
157 |
|
";
|
|
|
158 |
|
*/
|
|
|
159 |
|
if ( d
b_arr( "SE
LECT `ID`
FROM `Bloc
kList` WHE
RE `ID` =
'{$profile
['ID']}' A
ND `Profil
e` = '$rec
ipientID';
", 0 ) )
|
|
145 |
|
if ( d
b_arr( "SE
LECT `ID`
FROM `Bloc
kList` WHE
RE `ID` =
'{$profile
['ID']}' A
ND `Profil
e` = '$rec
ipientID';
", 0 ) )
|
160 |
|
{
|
|
146 |
|
{
|
161 |
|
re
turn 25;
|
|
147 |
|
re
turn 25;
|
162 |
|
}
|
|
148 |
|
}
|
163 |
|
|
|
149 |
|
|
164 |
|
|
|
150 |
|
|
165 |
|
if ( !
db_arr( "S
ELECT `ID`
FROM `Pro
files` WHE
RE `ID` =
'{$profile
['ID']}' A
ND `Status
` = 'Activ
e'", 0 ) )
|
|
151 |
|
if ( !
db_arr( "S
ELECT `ID`
FROM `Pro
files` WHE
RE `ID` =
'{$profile
['ID']}' A
ND `Status
` = 'Activ
e'", 0 ) )
|
166 |
|
{
|
|
152 |
|
{
|
167 |
|
re
turn 7;
|
|
153 |
|
re
turn 7;
|
168 |
|
}
|
|
154 |
|
}
|
169 |
|
|
|
155 |
|
|
170 |
|
if ($a
non_mode)
|
|
156 |
|
if ($a
non_mode)
|
171 |
|
{
|
|
157 |
|
{
|
172 |
|
re
turn 20;
|
|
158 |
|
re
turn 20;
|
173 |
|
}
|
|
159 |
|
}
|
174 |
|
|
|
160 |
|
|
175 |
|
$messa
ge = getPa
ram( "t_Fr
eeEmail" )
;
|
|
161 |
|
$messa
ge = getPa
ram( "t_Fr
eeEmail" )
;
|
176 |
|
$subje
ct = getPa
ram('t_Fre
eEmail_sub
ject');
|
|
162 |
|
$subje
ct = getPa
ram('t_Fre
eEmail_sub
ject');
|
177 |
|
|
|
163 |
|
|
178 |
|
if ( $
recipientI
D )
|
|
164 |
|
if ( $
recipientI
D )
|
179 |
|
{
|
|
165 |
|
{
|
180 |
|
$r
ecipient =
$aRecipie
ntArr['Ema
il'];
|
|
166 |
|
$r
ecipient =
$aRecipie
ntArr['Ema
il'];
|
181 |
|
}
|
|
167 |
|
}
|
182 |
|
else
|
|
168 |
|
else
|
183 |
|
{
|
|
169 |
|
{
|
184 |
|
if
( $_GET['
Email'] )
|
|
170 |
|
if
( $_GET['
Email'] )
|
185 |
|
$recipie
nt = $_GET
['Email'];
|
|
171 |
|
$recipie
nt = $_GET
['Email'];
|
186 |
|
el
se
|
|
172 |
|
el
se
|
187 |
|
return 4
5;
|
|
173 |
|
return 4
5;
|
188 |
|
}
|
|
174 |
|
}
|
189 |
|
|
|
175 |
|
|
190 |
|
$conta
ct_info =
"Email: {$
profile['E
mail']}";
|
|
176 |
|
$conta
ct_info =
"Email: {$
profile['E
mail']}";
|
191 |
|
if ( s
trlen( $pr
ofile['Pho
ne'] ) )
|
|
177 |
|
if ( s
trlen( $pr
ofile['Pho
ne'] ) )
|
192 |
|
$c
ontact_inf
o .= "\nPh
one: {$pro
file['Phon
e']}";
|
|
178 |
|
$c
ontact_inf
o .= "\nPh
one: {$pro
file['Phon
e']}";
|
193 |
|
if ( s
trlen( $pr
ofile['Hom
eAddress']
) )
|
|
179 |
|
if ( s
trlen( $pr
ofile['Hom
eAddress']
) )
|
194 |
|
$c
ontact_inf
o .= "\nHo
meAddress:
{$profile
['HomeAddr
ess']}";
|
|
180 |
|
$c
ontact_inf
o .= "\nHo
meAddress:
{$profile
['HomeAddr
ess']}";
|
195 |
|
if ( s
trlen( $pr
ofile['Hom
ePage'] )
)
|
|
181 |
|
if ( s
trlen( $pr
ofile['Hom
ePage'] )
)
|
196 |
|
$c
ontact_inf
o .= "\nHo
mePage: {$
profile['H
omePage']}
";
|
|
182 |
|
$c
ontact_inf
o .= "\nHo
mePage: {$
profile['H
omePage']}
";
|
197 |
|
if ( s
trlen( $pr
ofile['Icq
UIN'] ) )
|
|
183 |
|
if ( s
trlen( $pr
ofile['Icq
UIN'] ) )
|
198 |
|
$c
ontact_inf
o .= "\nIC
Q: {$profi
le['IcqUIN
']}";
|
|
184 |
|
$c
ontact_inf
o .= "\nIC
Q: {$profi
le['IcqUIN
']}";
|
199 |
|
|
|
185 |
|
|
200 |
|
$m
essage = s
tr_replace
( "<Contac
tInfo>", $
contact_in
fo, $messa
ge );
|
|
186 |
|
$m
essage = s
tr_replace
( "<Contac
tInfo>", $
contact_in
fo, $messa
ge );
|
201 |
|
$m
essage = s
tr_replace
( "<YourRe
alName>",
($memberID
? $memb_a
rr['NickNa
me'] : _t(
"_Visitor"
)), $messa
ge );
|
|
187 |
|
$m
essage = s
tr_replace
( "<YourRe
alName>",
($memberID
? $memb_a
rr['NickNa
me'] : _t(
"_Visitor"
)), $messa
ge );
|
202 |
|
$m
essage = s
tr_replace
( "<NickNa
me>", $pro
file['Nick
Name'], $m
essage );
|
|
188 |
|
$m
essage = s
tr_replace
( "<NickNa
me>", $pro
file['Nick
Name'], $m
essage );
|
203 |
|
$m
essage = s
tr_replace
( "<StrID>
", $profil
e['ID'], $
message );
|
|
189 |
|
$m
essage = s
tr_replace
( "<StrID>
", $profil
e['ID'], $
message );
|
204 |
|
$m
essage = s
tr_replace
( "<ID>",
$profile['
ID'], $mes
sage );
|
|
190 |
|
$m
essage = s
tr_replace
( "<ID>",
$profile['
ID'], $mes
sage );
|
205 |
|
|
|
191 |
|
|
206 |
|
$aPlus
= array()
;
|
|
192 |
|
$aPlus
= array()
;
|
207 |
|
$aPlus
['profileC
ontactInfo
'] = $cont
act_info;
|
|
193 |
|
$aPlus
['profileC
ontactInfo
'] = $cont
act_info;
|
208 |
|
$aPlus
['profileN
ickName']
= $profile
['NickName
'];
|
|
194 |
|
$aPlus
['profileN
ickName']
= $profile
['NickName
'];
|
209 |
|
$aPlus
['profileI
D'] = $pro
file['ID']
;
|
|
195 |
|
$aPlus
['profileI
D'] = $pro
file['ID']
;
|
210 |
|
|
|
196 |
|
|
211 |
|
$mail_
ret = send
Mail( $aRe
cipientArr
['Email'],
$subject,
$message,
$recipien
tID, $aPlu
s );
|
|
197 |
|
$mail_
ret = send
Mail( $aRe
cipientArr
['Email'],
$subject,
$message,
$recipien
tID, $aPlu
s );
|
212 |
|
|
|
198 |
|
|
213 |
|
if ( $
mail_ret )
|
|
199 |
|
if ( $
mail_ret )
|
214 |
|
//
Perform a
ction
|
|
200 |
|
//
Perform a
ction
|
215 |
|
ch
eckAction(
$memberID
, ACTION_I
D_GET_EMAI
L, true );
|
|
201 |
|
ch
eckAction(
$memberID
, ACTION_I
D_GET_EMAI
L, true );
|
216 |
|
else
|
|
202 |
|
else
|
217 |
|
re
turn 10;
|
|
203 |
|
re
turn 10;
|
218 |
|
|
|
204 |
|
|
219 |
|
return
0;
|
|
205 |
|
return
0;
|
220 |
|
}
|
|
206 |
|
}
|
221 |
|
|
|
207 |
|
|
222 |
|
/**
|
|
208 |
|
/**
|
223 |
|
* Prints
HTML code
for enter
ID
|
|
209 |
|
* Prints
HTML code
for enter
ID
|
224 |
|
*/
|
|
210 |
|
*/
|
225 |
|
/*
|
|
211 |
|
/*
|
226 |
|
function s
end_form()
|
|
212 |
|
function s
end_form()
|
227 |
|
{
|
|
213 |
|
{
|
228 |
|
global
$logged;
|
|
214 |
|
global
$logged;
|
229 |
|
|
|
215 |
|
|
230 |
|
$ret =
'
|
|
216 |
|
$ret =
'
|
231 |
|
<f
orm action
="'. $_SER
VER['PHP_S
ELF'] .'"
method=get
>
|
|
217 |
|
<f
orm action
="'. $_SER
VER['PHP_S
ELF'] .'"
method=get
>
|
232 |
|
<div sty
le="positi
on:relativ
e; border:
0px solid
red; margi
n-left:30p
x; margin-
top:10px;"
>
|
|
218 |
|
<div sty
le="positi
on:relativ
e; border:
0px solid
red; margi
n-left:30p
x; margin-
top:10px;"
>
|
233 |
|
<div
style="po
sition:rel
ative; bor
der:0px so
lid red; w
idth:150px
; text-ali
gn:right;
float:left
; padding-
right:5px;
margin-bo
ttom:5px;"
>
|
|
219 |
|
<div
style="po
sition:rel
ative; bor
der:0px so
lid red; w
idth:150px
; text-ali
gn:right;
float:left
; padding-
right:5px;
margin-bo
ttom:5px;"
>
|
234 |
|
'. _t("_En
ter profil
e ID") .':
|
|
220 |
|
'. _t("_En
ter profil
e ID") .':
|
235 |
|
</di
v>
|
|
221 |
|
</di
v>
|
236 |
|
|
|
222 |
|
|
237 |
|
<div
style="po
stion:rela
tive; bord
er:0px sol
id red; te
xt-align:l
eft; width
:300px; ma
rgin-botto
m:5px;">
|
|
223 |
|
<div
style="po
stion:rela
tive; bord
er:0px sol
id red; te
xt-align:l
eft; width
:300px; ma
rgin-botto
m:5px;">
|
238 |
|
<input cla
ss="no" ty
pe="text"
size="30"
name="ID"
/>
|
|
224 |
|
<input cla
ss="no" ty
pe="text"
size="30"
name="ID"
/>
|
239 |
|
</di
v>';
|
|
225 |
|
</di
v>';
|
240 |
|
if ( !
$logged['m
ember'] )
|
|
226 |
|
if ( !
$logged['m
ember'] )
|
241 |
|
{
|
|
227 |
|
{
|
242 |
|
$r
et .= '
|
|
228 |
|
$r
et .= '
|
243 |
|
<div
style="po
sition:rel
ative; wid
th:150px;
text-align
:right; fl
oat:left;
padding-ri
ght:5px; m
argin-bott
om:5px;">
|
|
229 |
|
<div
style="po
sition:rel
ative; wid
th:150px;
text-align
:right; fl
oat:left;
padding-ri
ght:5px; m
argin-bott
om:5px;">
|
244 |
|
'. _t("_Yo
ur email")
. ':
|
|
230 |
|
'. _t("_Yo
ur email")
. ':
|
245 |
|
</di
v>
|
|
231 |
|
</di
v>
|
246 |
|
|
|
232 |
|
|
247 |
|
<div
style="po
stion:rela
tive; text
-align:lef
t; width:3
00px; marg
in-bottom:
5px;">
|
|
233 |
|
<div
style="po
stion:rela
tive; text
-align:lef
t; width:3
00px; marg
in-bottom:
5px;">
|
248 |
|
<input cla
ss="no" ty
pe="text"
size="30"
name="Emai
l" />
|
|
234 |
|
<input cla
ss="no" ty
pe="text"
size="30"
name="Emai
l" />
|
249 |
|
</di
v>';
|
|
235 |
|
</di
v>';
|
250 |
|
}
|
|
236 |
|
}
|
251 |
|
$ret .
= '
|
|
237 |
|
$ret .
= '
|
252 |
|
<div
style="po
stion:rela
tive; bord
er:0px sol
id red; te
xt-align:l
eft; width
:300px; ma
rgin-botto
m:5px; mar
gin-left:
100px;">
|
|
238 |
|
<div
style="po
stion:rela
tive; bord
er:0px sol
id red; te
xt-align:l
eft; width
:300px; ma
rgin-botto
m:5px; mar
gin-left:
100px;">
|
253 |
|
<input cla
ss=no type
="submit"
value="'.
_t("_Submi
t") .'" />
|
|
239 |
|
<input cla
ss=no type
="submit"
value="'.
_t("_Submi
t") .'" />
|
254 |
|
</di
v>
|
|
240 |
|
</di
v>
|
255 |
|
</div>
|
|
241 |
|
</div>
|
256 |
|
</
form>';
|
|
242 |
|
</
form>';
|
257 |
|
|
|
243 |
|
|
258 |
|
return
$ret;
|
|
244 |
|
return
$ret;
|
259 |
|
}
|
|
245 |
|
}
|
260 |
|
*/
|
|
246 |
|
*/
|
261 |
|
|
|
247 |
|
|
262 |
|
?>
|
|
248 |
|
?>
|