No regular expressions were active.
1 |
|
<?
|
|
|
2 |
|
|
|
|
3 |
|
/*********
**********
**********
**********
**********
**********
**********
******
|
|
|
4 |
|
*
D
olphin Sma
rt Communi
ty Builder
|
|
|
5 |
|
*
---------
--------
|
|
|
6 |
|
* begi
n
: M
on Mar 23
2006
|
|
|
7 |
|
* copy
right
: (
C) 2006 Bo
onEx Group
|
|
|
8 |
|
* webs
ite
: h
ttp://www.
boonex.com
/
|
|
|
9 |
|
* This fil
e is part
of Dolphin
- Smart C
ommunity B
uilder
|
|
|
10 |
|
*
|
|
|
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/
|
|
|
13 |
|
*
|
|
|
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.
|
|
|
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
,
|
|
|
18 |
|
* see lice
nse.txt fi
le; if not
, write to
marketing
@boonex.co
m
|
|
|
19 |
|
**********
**********
**********
**********
**********
**********
**********
*****/
|
|
|
20 |
|
|
|
|
21 |
|
// My Grou
ps
|
|
|
22 |
|
|
|
|
23 |
|
require_on
ce( 'inc/h
eader.inc.
php' );
|
|
|
24 |
|
require_on
ce( BX_DIR
ECTORY_PAT
H_INC . 'd
esign.inc.
php' );
|
|
|
25 |
|
require_on
ce( BX_DIR
ECTORY_PAT
H_INC . 'g
roups.inc.
php' );
|
|
|
26 |
|
require_on
ce( BX_DIR
ECTORY_PAT
H_INC . 'u
tils.inc.p
hp' );
|
|
|
27 |
|
|
|
|
28 |
|
// -------
-------- p
age variab
les and lo
gin
|
|
|
29 |
|
|
|
|
30 |
|
|
|
|
31 |
|
$_page['na
me_index']
= 71;
|
|
|
32 |
|
$_page['cs
s_name']
= 'gro
ups.css';
|
|
|
33 |
|
|
|
|
34 |
|
|
|
|
35 |
|
if ( $logg
ed['member
'] = membe
r_auth( 0,
false ) )
|
|
|
36 |
|
$membe
rID = (int
)$_COOKIE[
'memberID'
];
|
|
|
37 |
|
else
|
|
|
38 |
|
$membe
rID = 0;
|
|
|
39 |
|
|
|
|
40 |
|
$logged['a
dmin'] = m
ember_auth
( 1, false
);
|
|
|
41 |
|
|
|
|
42 |
|
$groupID =
(int)$_RE
QUEST['ID'
];
|
|
|
43 |
|
|
|
|
44 |
|
|
|
|
45 |
|
if ( !$gro
upID )
|
|
|
46 |
|
{
|
|
|
47 |
|
Header
( "Locatio
n: {$site[
'url']}gro
ups_home.p
hp" );
|
|
|
48 |
|
exit;
|
|
|
49 |
|
}
|
|
|
50 |
|
|
|
|
51 |
|
// -------
-------- p
age compon
ents
|
|
|
52 |
|
$_ni = $_p
age['name_
index'];
|
|
|
53 |
|
|
|
|
54 |
|
$bcd = get
Param('bre
adCrampDiv
ider');
|
|
|
55 |
|
$date_form
at_php = g
etParam('p
hp_date_fo
rmat');
|
|
|
56 |
|
|
|
|
57 |
|
if ( !$arr
Group = ge
tGroupInfo
( $groupID
) )
|
|
|
58 |
|
{
|
|
|
59 |
|
$_page
['name_ind
ex'] = 0;
|
|
|
60 |
|
$_page
['header']
= _t( "_G
roup not f
ound" );
|
|
|
61 |
|
$_page
['header_t
ext'] = _t
( "_Group
not found"
);
|
|
|
62 |
|
$_page
_cont[0]['
page_main_
code'] = _
t( "_Group
not found
_desc" );
|
|
|
63 |
|
}
|
|
|
64 |
|
else
|
|
|
65 |
|
{
|
|
|
66 |
|
if( (i
nt)$arrGro
up['hidden
_group'] a
nd !isGrou
pMember( $
memberID,
$groupID )
and !$log
ged['admin
'] )
|
|
|
67 |
|
{
|
|
|
68 |
|
$_
page['name
_index'] =
0;
|
|
|
69 |
|
$_
page['head
er'] = _t(
"_Group i
s hidden"
);
|
|
|
70 |
|
$_
page['head
er_text']
= _t( "_Gr
oup is hid
den" );
|
|
|
71 |
|
$_
page_cont[
0]['page_m
ain_code']
= _t( "_S
orry, grou
p is hidde
n" );
|
|
|
72 |
|
}
|
|
|
73 |
|
else
|
|
|
74 |
|
{
|
|
|
75 |
|
if
( $arrGrou
p['status'
] == 'Acti
ve' or $ar
rGroup['cr
eatorID']
== $member
ID or $log
ged['admin
'] )
|
|
|
76 |
|
{
|
|
|
77 |
|
$arrGrou
p['Name_ht
ml'] = htm
lspecialch
ars_adv( $
arrGroup['
Name'] );
|
|
|
78 |
|
|
|
|
79 |
|
$breadCr
umbs = <<<
EOJ
|
|
|
80 |
|
<div
class="gr
oups_bread
crumbs">
|
|
|
81 |
|
<a href="{
$site['url
']}">{$sit
e['title']
}</a> $bcd
|
|
|
82 |
|
<a href="{
$site['url
']}groups_
home.php">
__Groups__
</a> $bcd
|
|
|
83 |
|
<span clas
s="active_
link">{$ar
rGroup['Na
me_html']}
</span>
|
|
|
84 |
|
</di
v>
|
|
|
85 |
|
EOJ;
|
|
|
86 |
|
|
|
|
87 |
|
$breadCr
umbs = str
_replace(
"__Groups_
_", _t( "_
Groups" ),
$breadCru
mbs );
|
|
|
88 |
|
|
|
|
89 |
|
$_page['
header'] =
"{$site['
title']} $
bcd " . _t
( "_Groups
" ) . " $b
cd {$arrGr
oup['Name_
html']}";
|
|
|
90 |
|
$_page['
header_tex
t'] = $arr
Group['Nam
e_html'];
|
|
|
91 |
|
|
|
|
92 |
|
$_page_c
ont[$_ni][
'groups_br
eadcrumbs'
] = $bread
Crumbs;
|
|
|
93 |
|
|
|
|
94 |
|
// begin
group inf
o
|
|
|
95 |
|
|
|
|
96 |
|
if( (int
)$arrGroup
['hidden_g
roup'] )
|
|
|
97 |
|
$typ
eHelp = 7;
|
|
|
98 |
|
else
|
|
|
99 |
|
if(
(int)$arrG
roup['open
_join'] )
|
|
|
100 |
|
$typeHelp
= 5;
|
|
|
101 |
|
else
|
|
|
102 |
|
$typeHelp
= 6;
|
|
|
103 |
|
|
|
|
104 |
|
$typeHel
pLink = "{
$site['url
']}groups_
help.php?i
=$typeHelp
";
|
|
|
105 |
|
|
|
|
106 |
|
// label
s
|
|
|
107 |
|
$_page_c
ont[$_ni][
'category_
l'] =
_t( "_Cat
egory" );
|
|
|
108 |
|
$_page_c
ont[$_ni][
'created_l
'] =
_t( "_Cre
ated" );
|
|
|
109 |
|
$_page_c
ont[$_ni][
'location_
l'] =
_t( "_Loc
ation" );
|
|
|
110 |
|
$_page_c
ont[$_ni][
'members_c
ount_l'] =
_t( "_Mem
bers count
" );
|
|
|
111 |
|
$_page_c
ont[$_ni][
'group_cre
ator_l'] =
_t( "_Gro
up creator
" );
|
|
|
112 |
|
$_page_c
ont[$_ni][
'group_abo
ut_l'] =
_t( "_Abo
ut group"
);
|
|
|
113 |
|
$_page_c
ont[$_ni][
'group_typ
e_l'] =
_t( "_Gro
up type" )
;
|
|
|
114 |
|
$_page_c
ont[$_ni][
'group_typ
e_help'] =
'<a href=
"'.$typeHe
lpLink.'"
target="_b
lank" oncl
ick="windo
w.open(thi
s.href,\'h
elpwin\',\
'width=350
,height=20
0\');retur
n false;"
>'._t( "_h
elp" ).'</
a>';
|
|
|
115 |
|
|
|
|
116 |
|
//info
|
|
|
117 |
|
if ( $ar
rGroup['th
umb'] and
file_exist
s(BX_DIREC
TORY_PATH_
GROUPS_GAL
LERY . "{$
groupID}_{
$arrGroup[
'thumb']}_
{$arrGroup
['seed']}_
.{$arrGrou
p['thumbEx
t']}" ) )
|
|
|
118 |
|
$gro
upImageUrl
= "{$site
['groups_g
allery']}{
$groupID}_
{$arrGroup
['thumb']}
_{$arrGrou
p['seed']}
_.{$arrGro
up['thumbE
xt']}";
|
|
|
119 |
|
else
|
|
|
120 |
|
$gro
upImageUrl
= "{$site
['groups_g
allery']}n
o_pic.gif"
;
|
|
|
121 |
|
|
|
|
122 |
|
$arrMem
= getProfi
leInfo( $a
rrGroup['c
reatorID']
); //db_a
ssoc_arr(
"SELECT `N
ickName` F
ROM `Profi
les` WHERE
`ID`={$ar
rGroup['cr
eatorID']}
;" );
|
|
|
123 |
|
$creator
Nick = $ar
rMem['Nick
Name'];
|
|
|
124 |
|
$sSpacer
Path = 'te
mplates/ba
se/images/
icons/spac
er.gif';
|
|
|
125 |
|
$sSpacer
Name = $si
te['url'].
$sSpacerPa
th;
|
|
|
126 |
|
$_page_c
ont[$_ni][
'group_ima
ge']
= "<a h
ref=\"{$si
te['url']}
group_gall
ery.php?ID
={$groupID
}\">
|
|
|
127 |
|
<!--<img s
rc=\"$grou
pImageUrl\
" />-->
|
|
|
128 |
|
<img src=\
"{$sSpacer
Name}\" st
yle=\"widt
h:110px;he
ight:110px
; backgrou
nd-image:
url({$grou
pImageUrl}
);\" class
=\"photo1\
"/>
|
|
|
129 |
|
</a>
";
|
|
|
130 |
|
$_page_c
ont[$_ni][
'group_gal
lery_link'
] = "<a h
ref=\"{$si
te['url']}
group_gall
ery.php?ID
={$groupID
}\">" . _t
( "_Group
gallery" )
. "</a>";
|
|
|
131 |
|
|
|
|
132 |
|
$_page_c
ont[$_ni][
'group_cre
ator_thumb
'] = get_m
ember_thum
bnail( $ar
rGroup['cr
eatorID'],
'none' );
|
|
|
133 |
|
$_page_c
ont[$_ni][
'group_cre
ator_link'
] = "<a h
ref=\"{$si
te['url']}
$creatorNi
ck\">".htm
lspecialch
ars_adv($c
reatorNick
)."</a>";
|
|
|
134 |
|
|
|
|
135 |
|
$_page_c
ont[$_ni][
'category'
]
= htmls
pecialchar
s_adv( $a
rrGroup['c
ategName']
);
|
|
|
136 |
|
$_page_c
ont[$_ni][
'category_
link']
= "<a h
ref=\"{$si
te['url']}
groups_bro
wse.php?ca
tegID={$ar
rGroup['ca
tegID']}\"
>{$arrGrou
p['categNa
me']}</a>"
;
|
|
|
137 |
|
|
|
|
138 |
|
$_page_c
ont[$_ni][
'group_typ
e']
= _t( (
( (int)$a
rrGroup['o
pen_join']
and !(int
)$arrGroup
['hidden_g
roup'] ) ?
'_Public
group' : '
_Private g
roup' ) );
|
|
|
139 |
|
$_page_c
ont[$_ni][
'created']
= date(
$date_for
mat_php, s
trtotime(
$arrGroup[
'created']
) );
|
|
|
140 |
|
$_page_c
ont[$_ni][
'country']
= _t( '
__'.$prof[
'countries
'][ $arrGr
oup['Count
ry'] ] );
|
|
|
141 |
|
$_page_c
ont[$_ni][
'city']
= htmls
pecialchar
s_adv( $ar
rGroup['Ci
ty'] );
|
|
|
142 |
|
$_page_c
ont[$_ni][
'members_c
ount']
= $arrG
roup['memb
ersCount']
;
|
|
|
143 |
|
$_page_c
ont[$_ni][
'group_abo
ut']
= htmls
pecialchar
s_adv( $ar
rGroup['Ab
out'] );
|
|
|
144 |
|
$_page_c
ont[$_ni][
'group_des
cription']
= $arrG
roup['Desc
']; //no h
tmlspecial
chars
|
|
|
145 |
|
|
|
|
146 |
|
if( $arr
Group['sta
tus'] != '
Active' )
|
|
|
147 |
|
{
|
|
|
148 |
|
$_pa
ge_cont[$_
ni]['group
_status']
= _t( '
_Group sta
tus' ) . '
: ' .
|
|
|
149 |
|
'<
span style
="color:re
d;font-wei
ght:bold;"
>' . _t( '
_' . $arrG
roup['stat
us'] ) .'<
/span>' .
|
|
|
150 |
|
"
(<a href=\
"{$site['u
rl']}group
s_help.php
?i=8\" tar
get=\"_bla
nk\" oncli
ck=\"windo
w.open(thi
s.href,'he
lpwin','wi
dth=350,he
ight=200')
;return fa
lse;\">"._
t( "_Expla
nation" ).
"</a>)";
|
|
|
151 |
|
}
|
|
|
152 |
|
else
|
|
|
153 |
|
$_pa
ge_cont[$_
ni]['group
_status']
= '';
|
|
|
154 |
|
|
|
|
155 |
|
//end gr
oup info
|
|
|
156 |
|
|
|
|
157 |
|
$_page_c
ont[$_ni][
'group_act
ions']
= PageC
ompGroupAc
tions();
|
|
|
158 |
|
$_page_c
ont[$_ni][
'group_mem
bers']
= PageC
ompGroupMe
mbers();
|
|
|
159 |
|
$_page_c
ont[$_ni][
'group_for
um']
= PageC
ompGroupFo
rum();
|
|
|
160 |
|
}
|
|
|
161 |
|
el
se
|
|
|
162 |
|
{
|
|
|
163 |
|
$_page['
name_index
'] = 0;
|
|
|
164 |
|
$_page['
header'] =
_t( "_Gro
up is susp
ended" );
|
|
|
165 |
|
$_page['
header_tex
t'] = _t(
"_Group is
suspended
" );
|
|
|
166 |
|
$_page_c
ont[0]['pa
ge_main_co
de'] = _t(
"_Sorry,
group is s
uspended"
);
|
|
|
167 |
|
}
|
|
|
168 |
|
}
|
|
|
169 |
|
}
|
|
|
170 |
|
|
|
|
171 |
|
|
|
|
172 |
|
// -------
-------- [
END] page
components
|
|
|
173 |
|
|
|
|
174 |
|
PageCode()
;
|
|
|
175 |
|
|
|
|
176 |
|
// -------
-------- p
age compon
ents funct
ions
|
|
|
177 |
|
|
|
|
178 |
|
/**
|
|
|
179 |
|
* page co
de functio
n
|
|
|
180 |
|
*/
|
|
|
181 |
|
|
|
|
182 |
|
function P
ageCompGro
upMembers(
)
|
|
|
183 |
|
{
|
|
|
184 |
|
global
$memberID
;
|
|
|
185 |
|
global
$groupID;
|
|
|
186 |
|
global
$arrGroup
;
|
|
|
187 |
|
global
$site;
|
|
|
188 |
|
global
$oTemplCo
nfig;
|
|
|
189 |
|
|
|
|
190 |
|
ob_sta
rt();
|
|
|
191 |
|
?>
|
|
|
192 |
|
<d
iv class="
group_memb
ers_pre1">
|
|
|
193 |
|
<?php
|
|
|
194 |
|
|
|
|
195 |
|
$numbe
rMembers =
$oTemplCo
nfig -> iG
roupMember
sPreNum;
|
|
|
196 |
|
$query
= "
|
|
|
197 |
|
SE
LECT
|
|
|
198 |
|
`GroupsM
embers`.`m
emberID` A
S `ID`,
|
|
|
199 |
|
`Profile
s`.`NickNa
me`
|
|
|
200 |
|
FR
OM `Groups
Members`,
`Profiles`
|
|
|
201 |
|
WH
ERE
|
|
|
202 |
|
`GroupsM
embers`.`g
roupID` =
$groupID A
ND
|
|
|
203 |
|
`GroupsM
embers`.`S
tatus` = '
Active' AN
D
|
|
|
204 |
|
`GroupsM
embers`.`m
emberID` =
`Profiles
`.`ID`
|
|
|
205 |
|
OR
DER BY RAN
D()
|
|
|
206 |
|
LI
MIT $numbe
rMembers
|
|
|
207 |
|
;";
|
|
|
208 |
|
|
|
|
209 |
|
$resMe
mbers = db
_res( $que
ry );
|
|
|
210 |
|
|
|
|
211 |
|
while
( $arrMemb
er = mysql
_fetch_ass
oc( $resMe
mbers ) )
|
|
|
212 |
|
{
|
|
|
213 |
|
?>
|
|
|
214 |
|
<div cla
ss="group_
member_pre
">
|
|
|
215 |
|
<?=g
et_member_
thumbnail(
$arrMembe
r['ID'],'n
one' )?>
|
|
|
216 |
|
<a h
ref="<?= g
etProfileL
ink( $arrM
ember['ID'
] )?>"><?=
htmlspecia
lchars_adv
( $arrMemb
er['NickNa
me'] )?></
a>
|
|
|
217 |
|
</div>
|
|
|
218 |
|
<?
php
|
|
|
219 |
|
}
|
|
|
220 |
|
?>
|
|
|
221 |
|
</
div>
|
|
|
222 |
|
<d
iv class="
clear_both
"></div>
|
|
|
223 |
|
<d
iv class="
view_all_l
ink">
|
|
|
224 |
|
<a href=
"<?=$site[
'url']?>gr
oup_member
s.php?ID=<
?=$groupID
?>"><?=_t(
"_View al
l members"
)?></a>
|
|
|
225 |
|
</
div>
|
|
|
226 |
|
<?php
|
|
|
227 |
|
|
|
|
228 |
|
$ret =
ob_get_cl
ean();
|
|
|
229 |
|
|
|
|
230 |
|
if( $a
rrGroup['c
reatorID']
== $membe
rID )
|
|
|
231 |
|
$c
reatorEdit
Members =
"<div clas
s=\"captio
n_item\"><
a href=\"{
$site['url
']}group_m
embers.php
?mode=edit
&ID=$g
roupID\">"
. _t('_Edi
t members'
). "</a></
div>";
|
|
|
232 |
|
else
|
|
|
233 |
|
$c
reatorEdit
Members =
'';
|
|
|
234 |
|
|
|
|
235 |
|
return
DesignBox
Content( _
t("_Group
members"),
$ret, 1,
$creatorEd
itMembers
);
|
|
|
236 |
|
}
|
|
|
237 |
|
|
|
|
238 |
|
function P
ageCompGro
upForum()
|
|
|
239 |
|
{
|
|
|
240 |
|
global
$memberID
;
|
|
|
241 |
|
global
$groupID;
|
|
|
242 |
|
global
$arrGroup
;
|
|
|
243 |
|
global
$site;
|
|
|
244 |
|
|
|
|
245 |
|
$ret =
file_get_
contents(
"{$site['g
roups']}or
ca/?action
=group_las
t_topics&f
orum=$grou
pID&virtID
=$memberID
&virtPass=
{$_COOKIE[
'memberPas
sword']}&t
rans=1" );
|
|
|
246 |
|
|
|
|
247 |
|
$sView
AllForum =
_t( '_Vie
w all topi
cs' );
|
|
|
248 |
|
$sPost
NewTopic =
_t( '_Pos
t a new to
pic' );
|
|
|
249 |
|
|
|
|
250 |
|
$capti
on_item =
'<div clas
s="caption
_item">';
|
|
|
251 |
|
|
|
|
252 |
|
if ( i
sGroupMemb
er( $membe
rID, $grou
pID ) )
|
|
|
253 |
|
$c
aption_ite
m .= "<a h
ref=\"{$si
te['groups
']}orca/?a
ction=goto
&forum
_id=$group
ID#action=
goto&n
ew_topic=$
groupID\">
$sPostNewT
opic</a> |
";
|
|
|
254 |
|
$capti
on_item .=
"<a href=
\"{$site['
groups']}o
rca/?actio
n=goto&
;forum_id=
$groupID\"
>$sViewAll
Forum</a>"
;
|
|
|
255 |
|
$capti
on_item .=
'</div>';
|
|
|
256 |
|
|
|
|
257 |
|
return
DesignBox
Content( _
t("_Group
forum"), $
ret, 1, $c
aption_ite
m );
|
|
|
258 |
|
}
|
|
|
259 |
|
|
|
|
260 |
|
function P
ageCompGro
upActions(
)
|
|
|
261 |
|
{
|
|
|
262 |
|
global
$memberID
;
|
|
|
263 |
|
global
$groupID;
|
|
|
264 |
|
global
$arrGroup
;
|
|
|
265 |
|
global
$site;
|
|
|
266 |
|
global
$dirGroup
s;
|
|
|
267 |
|
global
$logged;
|
|
|
268 |
|
|
|
|
269 |
|
ob_sta
rt();
|
|
|
270 |
|
|
|
|
271 |
|
if ( $
logged['me
mber'] )
|
|
|
272 |
|
{
|
|
|
273 |
|
if
( isGroup
Member( $m
emberID, $
groupID, f
alse ) )
|
|
|
274 |
|
{
|
|
|
275 |
|
if ( isG
roupMember
( $memberI
D, $groupI
D ) ) //if
Active me
mber
|
|
|
276 |
|
{
|
|
|
277 |
|
if(
(int)$arrG
roup['memb
ers_invite
'] or $arr
Group['cre
atorID'] =
= $memberI
D )
|
|
|
278 |
|
genGroupAc
tionBtn( '
Invite oth
ers', "gro
up_actions
.php?a=inv
ite&ID
=$groupID"
);
|
|
|
279 |
|
|
|
|
280 |
|
if(
(int)$arrG
roup['memb
ers_post_i
mages'] or
$arrGroup
['creatorI
D'] == $me
mberID )
|
|
|
281 |
|
genGroupAc
tionBtn( '
Upload ima
ge', "grou
p_actions.
php?a=uplo
ad&ID=
$groupID"
);
|
|
|
282 |
|
|
|
|
283 |
|
genG
roupAction
Btn( 'Post
topic', "
{$dirGroup
s}orca/?ac
tion=goto&
amp;forum_
id=$groupI
D#action=g
oto&ne
w_topic=$g
roupID" );
|
|
|
284 |
|
}
|
|
|
285 |
|
|
|
|
286 |
|
if ( $ar
rGroup['cr
eatorID']
== $member
ID )
|
|
|
287 |
|
genG
roupAction
Btn( 'Edit
group', "
group_edit
.php?ID=$g
roupID" );
|
|
|
288 |
|
else
|
|
|
289 |
|
genG
roupAction
Btn( 'Resi
gn group',
"group_ac
tions.php?
a=resign&a
mp;ID=$gro
upID", tru
e );
|
|
|
290 |
|
}
|
|
|
291 |
|
el
se
|
|
|
292 |
|
genGroup
ActionBtn(
'Join gro
up', "grou
p_actions.
php?a=join
&ID=$g
roupID", t
rue );
|
|
|
293 |
|
}
|
|
|
294 |
|
|
|
|
295 |
|
return
ob_get_cl
ean();
|
|
|
296 |
|
}
|
|
|
297 |
|
|
|
|
298 |
|
function g
enGroupAct
ionBtn( $t
itle, $url
, $ask = f
alse )
|
|
|
299 |
|
{
|
|
|
300 |
|
global
$site;
|
|
|
301 |
|
|
|
|
302 |
|
if( $a
sk )
|
|
|
303 |
|
$o
nclick = '
onclick="r
eturn conf
irm(\''._t
("_Are you
sure want
to $title
?").'\')"'
;
|
|
|
304 |
|
else
|
|
|
305 |
|
$o
nclick = '
';
|
|
|
306 |
|
?>
|
|
|
307 |
|
<div
class="gr
oup_action
">
|
|
|
308 |
|
<a href="<
?="{$site[
'url']}{$u
rl}"?>" <?
=$onclick?
>><?=_t('_
'.$title)?
></a>
|
|
|
309 |
|
</di
v>
|
|
|
310 |
|
<?php
|
|
|
311 |
|
}
|
|
|
312 |
|
|
|
|
313 |
|
?>
|
|
|