No regular expressions were active.
1 |
|
<?php
|
|
1 |
|
<?php
|
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['na
me_index']
= 44;
|
|
27 |
|
$_page['na
me_index']
= 44;
|
28 |
|
|
|
28 |
|
|
29 |
|
if ( !( $l
ogged['adm
in'] = mem
ber_auth(
1, false )
) )
|
|
29 |
|
if ( !( $l
ogged['adm
in'] = mem
ber_auth(
1, false )
) )
|
30 |
|
if ( !
( $logged[
'member']
= member_a
uth( 0, fa
lse ) ) )
|
|
30 |
|
if ( !
( $logged[
'member']
= member_a
uth( 0, fa
lse ) ) )
|
31 |
|
if
( !( $log
ged['aff']
= member_
auth( 2, f
alse )) )
|
|
31 |
|
if
( !( $log
ged['aff']
= member_
auth( 2, f
alse )) )
|
32 |
|
$logged[
'moderator
'] = membe
r_auth( 3,
false );
|
|
32 |
|
$logged[
'moderator
'] = membe
r_auth( 3,
false );
|
33 |
|
|
|
33 |
|
|
34 |
|
|
|
34 |
|
|
35 |
|
if ( $_GET
['explain'
] != 'imad
d' )
|
|
35 |
|
if ( $_GET
['explain'
] != 'imad
d' )
|
36 |
|
{
|
|
36 |
|
{
|
37 |
|
$_page
['header']
= _t( "_E
XPLANATION
_H" ).": "
._t("_".$_
GET['expla
in']);
|
|
37 |
|
$_page
['header']
= _t( "_E
XPLANATION
_H" ).": "
._t("_".$_
GET['expla
in']);
|
38 |
|
$_page
['header_t
ext'] = _t
( "_EXPLAN
ATION_H" )
.": "._t("
_".$_GET['
explain'])
;
|
|
38 |
|
$_page
['header_t
ext'] = _t
( "_EXPLAN
ATION_H" )
.": "._t("
_".$_GET['
explain'])
;
|
39 |
|
}
|
|
39 |
|
}
|
40 |
|
else
|
|
40 |
|
else
|
41 |
|
{
|
|
41 |
|
{
|
42 |
|
$_page
['header']
= _t("_Us
er was add
ed to im")
;
|
|
42 |
|
$_page
['header']
= _t("_Us
er was add
ed to im")
;
|
43 |
|
$_page
['header_t
ext'] = _t
("_User wa
s added to
im");
|
|
43 |
|
$_page
['header_t
ext'] = _t
("_User wa
s added to
im");
|
44 |
|
}
|
|
44 |
|
}
|
45 |
|
|
|
45 |
|
|
46 |
|
|
|
46 |
|
|
47 |
|
|
|
47 |
|
|
48 |
|
// -------
-------- p
age compon
ents
|
|
48 |
|
// -------
-------- p
age compon
ents
|
49 |
|
|
|
49 |
|
|
50 |
|
$_ni = $_p
age['name_
index'];
|
|
50 |
|
$_ni = $_p
age['name_
index'];
|
51 |
|
$_page_con
t[$_ni]['b
ody_onload
'] = 'java
script: vo
id(0)';
|
|
51 |
|
$_page_con
t[$_ni]['b
ody_onload
'] = 'java
script: vo
id(0)';
|
52 |
|
$_page_con
t[$_ni]['p
age_main_c
ode'] = De
signBoxCon
tent($_pag
e['header_
text'], Pa
geMainCode
(), $oTemp
lConfig ->
PageExpla
nation_db_
num);
|
|
52 |
|
$_page_con
t[$_ni]['p
age_main_c
ode'] = De
signBoxCon
tent($_pag
e['header_
text'], Pa
geMainCode
(), $oTemp
lConfig ->
PageExpla
nation_db_
num);
|
53 |
|
|
|
53 |
|
|
54 |
|
// -------
-------- [
END] page
components
|
|
54 |
|
// -------
-------- [
END] page
components
|
55 |
|
|
|
55 |
|
|
56 |
|
PageCode()
;
|
|
56 |
|
PageCode()
;
|
57 |
|
|
|
57 |
|
|
58 |
|
// -------
-------- p
age compon
ents funct
ions
|
|
58 |
|
// -------
-------- p
age compon
ents funct
ions
|
59 |
|
|
|
59 |
|
|
60 |
|
function i
m_up()
|
|
60 |
|
function i
m_up()
|
61 |
|
{
|
|
61 |
|
{
|
62 |
|
|
|
62 |
|
|
63 |
|
ob_start(
);
|
|
63 |
|
ob_start(
);
|
64 |
|
?>
|
|
64 |
|
?>
|
65 |
|
|
|
65 |
|
|
66 |
|
<table al
ign="cente
r" cellspa
cing=4 cel
lpadding=4
class=sma
ll width=9
0% border=
0>
|
|
66 |
|
<table al
ign="cente
r" cellspa
cing=4 cel
lpadding=4
class=sma
ll width=9
0% border=
0>
|
67 |
|
<tr><td>
|
|
67 |
|
<tr><td>
|
68 |
|
|
|
68 |
|
|
69 |
|
Your curr
ent member
ship statu
s doesn't
allow You
to use thi
s feature.
|
|
69 |
|
Your curr
ent member
ship statu
s doesn't
allow You
to use thi
s feature.
|
70 |
|
Please <a
href="<?=
$site[url]
?>membersh
ip.php" ta
rget="_bla
nk">click
here</a> t
o upgrade
your membe
rship.
|
|
70 |
|
Please <a
href="<?=
$site[url]
?>membersh
ip.php" ta
rget="_bla
nk">click
here</a> t
o upgrade
your membe
rship.
|
71 |
|
</td></tr
>
|
|
71 |
|
</td></tr
>
|
72 |
|
</table>
|
|
72 |
|
</table>
|
73 |
|
|
|
73 |
|
|
74 |
|
<?php
|
|
74 |
|
<?php
|
75 |
|
|
|
75 |
|
|
76 |
|
$ret = ob
_get_conte
nts();
|
|
76 |
|
$ret = ob
_get_conte
nts();
|
77 |
|
ob_end_cl
ean();
|
|
77 |
|
ob_end_cl
ean();
|
78 |
|
|
|
78 |
|
|
79 |
|
return $r
et;
|
|
79 |
|
return $r
et;
|
80 |
|
|
|
80 |
|
|
81 |
|
}
|
|
81 |
|
}
|
82 |
|
|
|
82 |
|
|
83 |
|
function m
embershipA
ctionsList
($membersh
ipID)
|
|
83 |
|
function m
embershipA
ctionsList
($membersh
ipID)
|
84 |
|
{
|
|
84 |
|
{
|
85 |
|
$resLe
velActions
= db_res(
"
|
|
85 |
|
$resLe
velActions
= db_res(
"
|
86 |
|
SE
LECT IDAc
tion,
|
|
86 |
|
SE
LECT IDAc
tion,
|
87 |
|
Name
,
|
|
87 |
|
Name
,
|
88 |
|
Allo
wedCount,
|
|
88 |
|
Allo
wedCount,
|
89 |
|
Allo
wedPeriodL
en,
|
|
89 |
|
Allo
wedPeriodL
en,
|
90 |
|
Allo
wedPeriodS
tart,
|
|
90 |
|
Allo
wedPeriodS
tart,
|
91 |
|
Allo
wedPeriodE
nd,
|
|
91 |
|
Allo
wedPeriodE
nd,
|
92 |
|
Addi
tionalPara
mName,
|
|
92 |
|
Addi
tionalPara
mName,
|
93 |
|
Addi
tionalPara
mValue
|
|
93 |
|
Addi
tionalPara
mValue
|
94 |
|
FR
OM MemL
evelAction
s
|
|
94 |
|
FR
OM MemL
evelAction
s
|
95 |
|
INNE
R JOIN Mem
Actions
|
|
95 |
|
INNE
R JOIN Mem
Actions
|
96 |
|
ON M
emLevelAct
ions.IDAct
ion = MemA
ctions.ID
|
|
96 |
|
ON M
emLevelAct
ions.IDAct
ion = MemA
ctions.ID
|
97 |
|
WH
ERE MemLev
elActions.
IDLevel =
$membershi
pID
|
|
97 |
|
WH
ERE MemLev
elActions.
IDLevel =
$membershi
pID
|
98 |
|
OR
DER BY Mem
Actions.Na
me");
|
|
98 |
|
OR
DER BY Mem
Actions.Na
me");
|
99 |
|
|
|
99 |
|
|
100 |
|
ob_start()
;
|
|
100 |
|
ob_start()
;
|
101 |
|
?>
|
|
101 |
|
?>
|
102 |
|
<!-- [STAR
T] List Me
mbership A
ctions -->
|
|
102 |
|
<!-- [STAR
T] List Me
mbership A
ctions -->
|
103 |
|
|
|
103 |
|
|
104 |
|
<style typ
e="text/cs
s">
|
|
104 |
|
<style typ
e="text/cs
s">
|
105 |
|
table.allo
wedActions
Table{
|
|
105 |
|
table.allo
wedActions
Table{
|
106 |
|
border
-bottom:1p
x solid;
|
|
106 |
|
border
-bottom:1p
x solid;
|
107 |
|
border
-right:1px
solid;
|
|
107 |
|
border
-right:1px
solid;
|
108 |
|
}
|
|
108 |
|
}
|
109 |
|
table.allo
wedActions
Table td{
|
|
109 |
|
table.allo
wedActions
Table td{
|
110 |
|
paddin
g: 5px;
|
|
110 |
|
paddin
g: 5px;
|
111 |
|
text-a
lign: cent
er;
|
|
111 |
|
text-a
lign: cent
er;
|
112 |
|
border
-top:1px s
olid;
|
|
112 |
|
border
-top:1px s
olid;
|
113 |
|
border
-left:1px
solid;
|
|
113 |
|
border
-left:1px
solid;
|
114 |
|
}
|
|
114 |
|
}
|
115 |
|
</style>
|
|
115 |
|
</style>
|
116 |
|
<table cel
lpadding="
0" cellspa
cing="0" b
order="0"
style="fon
t-size: 8p
t" class="
allowedAct
ionsTable"
align="ce
nter" widt
h="100%">
|
|
116 |
|
<table cel
lpadding="
0" cellspa
cing="0" b
order="0"
style="fon
t-size: 8p
t" class="
allowedAct
ionsTable"
align="ce
nter" widt
h="100%">
|
117 |
|
<tr>
|
|
117 |
|
<tr>
|
118 |
|
<t
d colspan=
"5" align=
"center"><
?= _t("_Al
lowed acti
ons") ?></
td>
|
|
118 |
|
<t
d colspan=
"5" align=
"center"><
?= _t("_Al
lowed acti
ons") ?></
td>
|
119 |
|
</tr>
|
|
119 |
|
</tr>
|
120 |
|
<tr>
|
|
120 |
|
<tr>
|
121 |
|
<t
d><b><?= _
t("_Action
") ?></b><
/td>
|
|
121 |
|
<t
d><b><?= _
t("_Action
") ?></b><
/td>
|
122 |
|
<t
d><b><?= _
t("_Times
allowed")
?></b></td
>
|
|
122 |
|
<t
d><b><?= _
t("_Times
allowed")
?></b></td
>
|
123 |
|
<t
d><b><?= _
t("_Period
(hours)")
?></b></t
d>
|
|
123 |
|
<t
d><b><?= _
t("_Period
(hours)")
?></b></t
d>
|
124 |
|
<t
d><b><?= _
t("_Allowe
d Since")
?></b></td
>
|
|
124 |
|
<t
d><b><?= _
t("_Allowe
d Since")
?></b></td
>
|
125 |
|
<t
d><b><?= _
t("_Allowe
d Until")
?></b></td
>
|
|
125 |
|
<t
d><b><?= _
t("_Allowe
d Until")
?></b></td
>
|
126 |
|
</tr>
|
|
126 |
|
</tr>
|
127 |
|
<?
|
|
127 |
|
<?
|
128 |
|
if(mys
ql_num_row
s($resLeve
lActions)
<= 0)
|
|
128 |
|
if(mys
ql_num_row
s($resLeve
lActions)
<= 0)
|
129 |
|
{
|
|
129 |
|
{
|
130 |
|
?>
|
|
130 |
|
?>
|
131 |
|
<tr>
|
|
131 |
|
<tr>
|
132 |
|
<t
d colspan=
"5"><?= _t
("_No acti
ons allowe
d for this
membershi
p") ?></td
>
|
|
132 |
|
<t
d colspan=
"5"><?= _t
("_No acti
ons allowe
d for this
membershi
p") ?></td
>
|
133 |
|
</tr>
|
|
133 |
|
</tr>
|
134 |
|
<?
|
|
134 |
|
<?
|
135 |
|
}
|
|
135 |
|
}
|
136 |
|
while(
$membershi
pAction =
mysql_fetc
h_assoc($r
esLevelAct
ions))
|
|
136 |
|
while(
$membershi
pAction =
mysql_fetc
h_assoc($r
esLevelAct
ions))
|
137 |
|
{
|
|
137 |
|
{
|
138 |
|
?>
|
|
138 |
|
?>
|
139 |
|
<tr>
|
|
139 |
|
<tr>
|
140 |
|
<t
d style="t
ext-align:
left;"><b
><?= _t("_
".$members
hipAction[
'Name']) ?
></b></td>
|
|
140 |
|
<t
d style="t
ext-align:
left;"><b
><?= _t("_
".$members
hipAction[
'Name']) ?
></b></td>
|
141 |
|
<t
d><?= $mem
bershipAct
ion['Allow
edCount']
? $members
hipAction[
'AllowedCo
unt'] : _t
("_no limi
t") ?></td
>
|
|
141 |
|
<t
d><?= $mem
bershipAct
ion['Allow
edCount']
? $members
hipAction[
'AllowedCo
unt'] : _t
("_no limi
t") ?></td
>
|
142 |
|
<t
d><?= $mem
bershipAct
ion['Allow
edPeriodLe
n'] ? $mem
bershipAct
ion['Allow
edPeriodLe
n'] : _t("
_no limit"
) ?></td>
|
|
142 |
|
<t
d><?= $mem
bershipAct
ion['Allow
edPeriodLe
n'] ? $mem
bershipAct
ion['Allow
edPeriodLe
n'] : _t("
_no limit"
) ?></td>
|
143 |
|
<t
d><?= $mem
bershipAct
ion['Allow
edPeriodSt
art'] ? $m
embershipA
ction['All
owedPeriod
Start'] :
_t("_no li
mit") ?></
td>
|
|
143 |
|
<t
d><?= $mem
bershipAct
ion['Allow
edPeriodSt
art'] ? $m
embershipA
ction['All
owedPeriod
Start'] :
_t("_no li
mit") ?></
td>
|
144 |
|
<t
d><?= $mem
bershipAct
ion['Allow
edPeriodEn
d'] ? $mem
bershipAct
ion['Allow
edPeriodEn
d'] : _t("
_no limit"
) ?></td>
|
|
144 |
|
<t
d><?= $mem
bershipAct
ion['Allow
edPeriodEn
d'] ? $mem
bershipAct
ion['Allow
edPeriodEn
d'] : _t("
_no limit"
) ?></td>
|
145 |
|
</tr>
|
|
145 |
|
</tr>
|
146 |
|
<?
|
|
146 |
|
<?
|
147 |
|
}
|
|
147 |
|
}
|
148 |
|
?>
|
|
148 |
|
?>
|
149 |
|
</table>
|
|
149 |
|
</table>
|
150 |
|
|
|
150 |
|
|
151 |
|
<?
|
|
151 |
|
<?
|
152 |
|
$resul
t = ob_get
_contents(
);
|
|
152 |
|
$resul
t = ob_get
_contents(
);
|
153 |
|
o
b_end_clea
n();
|
|
153 |
|
o
b_end_clea
n();
|
154 |
|
|
|
154 |
|
|
155 |
|
return
$result;
|
|
155 |
|
return
$result;
|
156 |
|
}
|
|
156 |
|
}
|
157 |
|
|
|
157 |
|
|
158 |
|
/**
|
|
158 |
|
/**
|
159 |
|
* Prints
HTML Code
for explan
ation
|
|
159 |
|
* Prints
HTML Code
for explan
ation
|
160 |
|
*/
|
|
160 |
|
*/
|
161 |
|
function P
ageMainCod
e()
|
|
161 |
|
function P
ageMainCod
e()
|
162 |
|
{
|
|
162 |
|
{
|
163 |
|
global
$site;
|
|
163 |
|
global
$site;
|
164 |
|
global
$oTemplCo
nfig;
|
|
164 |
|
global
$oTemplCo
nfig;
|
165 |
|
|
|
165 |
|
|
166 |
|
$b
=
"<table
width=".($
oTemplConf
ig
->
expl_db_w-
5)."
class=text
cellspacin
g=0
cellpaddin
g=0><td
width=5><i
mg
src={$site
['images']
}spacer.gi
f
width=5></
td><td
width=".($
oTemplConf
ig
->
expl_db_w-
15)."><div
width=".($
oTemplConf
ig
->
expl_db_w-
15)."
align=just
ify>";
|
|
166 |
|
$b
=
"<table
width=".($
oTemplConf
ig
->
expl_db_w-
5)."
class=text
cellspacin
g=0
cellpaddin
g=0><td
width=5><i
mg
src={$site
['images']
}spacer.gi
f
alt=\"\"
width=5></
td><td
width=".($
oTemplConf
ig
->
expl_db_w-
15)."><div
width=".($
oTemplConf
ig
->
expl_db_w-
15)."
align=just
ify>";
|
167 |
|
$a
=
"</div></t
d><td
width=5><i
mg
src={$site
['images']
}spacer.gi
f
width=5></
td></table
>";
|
|
167 |
|
$a
=
"</div></t
d><td
width=5><i
mg
src={$site
['images']
}spacer.gi
f
alt=\"\"
width=5></
td></table
>";
|
168 |
|
switch
( $_GET['
explain']
)
|
|
168 |
|
switch
( $_GET['
explain']
)
|
169 |
|
{
|
|
169 |
|
{
|
170 |
|
ca
se 'Unconf
irmed': re
turn $b._t
("_ATT_UNC
ONFIRMED_E
").$a;
|
|
170 |
|
ca
se 'Unconf
irmed': re
turn $b._t
("_ATT_UNC
ONFIRMED_E
").$a;
|
171 |
|
ca
se 'Approv
al': retur
n $b._t("_
ATT_APPROV
AL_E").$a;
|
|
171 |
|
ca
se 'Approv
al': retur
n $b._t("_
ATT_APPROV
AL_E").$a;
|
172 |
|
ca
se 'Active
': return
$b._t("_AT
T_ACTIVE_E
").$a;
|
|
172 |
|
ca
se 'Active
': return
$b._t("_AT
T_ACTIVE_E
").$a;
|
173 |
|
ca
se 'Reject
ed': retur
n $b._t("_
ATT_REJECT
ED_E").$a;
|
|
173 |
|
ca
se 'Reject
ed': retur
n $b._t("_
ATT_REJECT
ED_E").$a;
|
174 |
|
ca
se 'Suspen
ded': retu
rn $b._t("
_ATT_SUSPE
NDED_E", $
site['titl
e']).$a;
|
|
174 |
|
ca
se 'Suspen
ded': retu
rn $b._t("
_ATT_SUSPE
NDED_E", $
site['titl
e']).$a;
|
175 |
|
ca
se 'credit
s': return
$b._t("_M
EMBERSHIP_
CREDITS_E"
).$a;
|
|
|
176 |
|
ca
se 'member
ship': ret
urn member
shipAction
sList((int
)$_GET['ty
pe']);
|
|
175 |
|
ca
se 'member
ship': ret
urn member
shipAction
sList((int
)$_GET['ty
pe']);
|
177 |
|
ca
se 'im_up'
: return i
m_up();
|
|
176 |
|
ca
se 'im_up'
: return i
m_up();
|
178 |
|
ca
se 'imadd'
:
|
|
177 |
|
ca
se 'imadd'
:
|
179 |
|
?>
|
|
178 |
|
?>
|
180 |
|
<scrip
t type="te
xt/javascr
ipt">
|
|
179 |
|
<scrip
t type="te
xt/javascr
ipt">
|
181 |
|
<!--
|
|
180 |
|
<!--
|
182 |
|
var am
ount = 8
|
|
181 |
|
var am
ount = 8
|
183 |
|
functi
on pause()
|
|
182 |
|
functi
on pause()
|
184 |
|
{
|
|
183 |
|
{
|
185 |
|
my
ID = setTi
meout( "cl
ose_win()"
, amount*1
000 )
|
|
184 |
|
my
ID = setTi
meout( "cl
ose_win()"
, amount*1
000 )
|
186 |
|
}
|
|
185 |
|
}
|
187 |
|
functi
on close_w
in()
|
|
186 |
|
functi
on close_w
in()
|
188 |
|
{
|
|
187 |
|
{
|
189 |
|
wi
ndow.close
()
|
|
188 |
|
wi
ndow.close
()
|
190 |
|
}
|
|
189 |
|
}
|
191 |
|
pause(
);
|
|
190 |
|
pause(
);
|
192 |
|
//-->
|
|
191 |
|
//-->
|
193 |
|
</scri
pt>
|
|
192 |
|
</scri
pt>
|
194 |
|
<?php
|
|
193 |
|
<?php
|
195 |
|
$ID = (i
nt)$_GET['
ID'];
|
|
194 |
|
$ID = (i
nt)$_GET['
ID'];
|
196 |
|
db_res("
INSERT INT
O IMessage
s SET IDFr
om = ".(in
t)$_COOKIE
['memberID
'].", IDTo
= $ID, `W
hen`=NOW()
, Msg=''")
;
|
|
195 |
|
db_res("
INSERT INT
O IMessage
s SET IDFr
om = ".(in
t)$_COOKIE
['memberID
'].", IDTo
= $ID, `W
hen`=NOW()
, Msg=''")
;
|
197 |
|
return $
b._t("_Use
r was adde
d to im").
$a;
|
|
196 |
|
return $
b._t("_Use
r was adde
d to im").
$a;
|
198 |
|
}
|
|
197 |
|
}
|
199 |
|
return
"";
|
|
198 |
|
return
"";
|
200 |
|
}
|
|
199 |
|
}
|
201 |
|
|
|
200 |
|
|
202 |
|
?>
|
|
201 |
|
?>
|