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 |
|
|
|
|
27 |
|
// -------
-------- p
age variab
les and lo
gin
|
|
|
28 |
|
|
|
|
29 |
|
|
|
|
30 |
|
$_page['na
me_index']
= 74;
|
|
|
31 |
|
$_page['cs
s_name']
= 'gro
ups.css';
|
|
|
32 |
|
|
|
|
33 |
|
|
|
|
34 |
|
if ( !( $l
ogged['adm
in'] = mem
ber_auth(
1, false )
) )
|
|
|
35 |
|
if ( !
( $logged[
'member']
= member_a
uth( 0, fa
lse ) ) )
|
|
|
36 |
|
if
( !( $log
ged['aff']
= member_
auth( 2, f
alse )) )
|
|
|
37 |
|
$logged[
'moderator
'] = membe
r_auth( 3,
false );
|
|
|
38 |
|
|
|
|
39 |
|
$_page['he
ader'] = _
t( "_Group
s Home" );
|
|
|
40 |
|
$_page['he
ader_text'
] = _t( "_
Groups cat
egories" )
;
|
|
|
41 |
|
|
|
|
42 |
|
// -------
-------- p
age compon
ents
|
|
|
43 |
|
|
|
|
44 |
|
$_ni = $_p
age['name_
index'];
|
|
|
45 |
|
$_page_con
t[$_ni]['p
age_main_c
ode'] = Pa
geCompMain
Code();
|
|
|
46 |
|
$_page_con
t[$_ni]['p
age_top_gr
oups'] = P
ageCompGro
upsSearchR
esults( 0,
0, 0, 0,
0, 'member
sCount', t
rue );
|
|
|
47 |
|
|
|
|
48 |
|
// -------
-------- [
END] page
components
|
|
|
49 |
|
|
|
|
50 |
|
PageCode()
;
|
|
|
51 |
|
|
|
|
52 |
|
// -------
-------- p
age compon
ents funct
ions
|
|
|
53 |
|
|
|
|
54 |
|
/**
|
|
|
55 |
|
* page co
de functio
n
|
|
|
56 |
|
*/
|
|
|
57 |
|
function P
ageCompMai
nCode()
|
|
|
58 |
|
{
|
|
|
59 |
|
global
$site;
|
|
|
60 |
|
|
|
|
61 |
|
ob_sta
rt();
|
|
|
62 |
|
?>
|
|
|
63 |
|
<d
iv class="
groups_cat
egs_wrappe
r">
|
|
|
64 |
|
<div cla
ss="clear_
both"></di
v>
|
|
|
65 |
|
<?=genAl
lCategsLis
t()?>
|
|
|
66 |
|
<div cla
ss="clear_
both"></di
v>
|
|
|
67 |
|
</
div>
|
|
|
68 |
|
|
|
|
69 |
|
<d
iv class="
groups_sea
rch_simple
">
|
|
|
70 |
|
<form ac
tion="<?=$
site['url'
]?>groups_
browse.php
" method="
GET">
|
|
|
71 |
|
<?=_
t('_Keywor
d')?>:
|
|
|
72 |
|
<inp
ut type="t
ext" name=
"keyword"
/>
|
|
|
73 |
|
<inp
ut type="s
ubmit" val
ue="<?=_t(
'_Search')
?>" />
|
|
|
74 |
|
<a h
ref="<?=$s
ite['url']
?>groups_b
rowse.php"
><?=_t('_A
dvanced se
arch')?></
a>
|
|
|
75 |
|
</form>
|
|
|
76 |
|
</
div>
|
|
|
77 |
|
<?php
|
|
|
78 |
|
return
ob_get_cl
ean();
|
|
|
79 |
|
}
|
|
|
80 |
|
?>
|
|
|