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 |
|
if ( !file
_exists( "
inc/header
.inc.php"
) )
|
|
21 |
|
if ( !file
_exists( "
inc/header
.inc.php"
) )
|
22 |
|
{
|
|
22 |
|
{
|
23 |
|
// thi
s is dynam
ic page -
send head
ers to do
not cache
this page
|
|
23 |
|
// thi
s is dynam
ic page -
send head
ers to do
not cache
this page
|
24 |
|
$now =
gmdate('D
, d M Y H:
i:s') . '
GMT';
|
|
24 |
|
$now =
gmdate('D
, d M Y H:
i:s') . '
GMT';
|
25 |
|
header
("Expires:
$now");
|
|
25 |
|
header
("Expires:
$now");
|
26 |
|
header
("Last-Mod
ified: $no
w");
|
|
26 |
|
header
("Last-Mod
ified: $no
w");
|
27 |
|
header
("Cache-Co
ntrol: no-
cache, mus
t-revalida
te");
|
|
27 |
|
header
("Cache-Co
ntrol: no-
cache, mus
t-revalida
te");
|
28 |
|
header
("Pragma:
no-cache")
;
|
|
28 |
|
header
("Pragma:
no-cache")
;
|
29 |
|
|
|
29 |
|
|
30 |
|
echo "
It seems t
o be scrip
t is <b>no
t</b> inst
alled.<br
/>\n";
|
|
30 |
|
echo "
It seems t
o be scrip
t is <b>no
t</b> inst
alled.<br
/>\n";
|
31 |
|
if
(
file_exist
s(
"install/i
ndex.php"
)
)
|
|
31 |
|
if
(
file_exist
s(
"install/i
ndex.php"
)
)
{
|
32 |
|
{
|
|
|
33 |
|
ec
ho "Please
, wait. Re
directing
you to ins
tallation
form...<br
/>\n";
|
|
32 |
|
ec
ho "Please
, wait. Re
directing
you to ins
tallation
form...<br
/>\n";
|
34 |
|
ec
ho "<scrip
t language
=\"Javascr
ipt\">loca
tion.href
= 'install
/index.php
';</script
>\n";
|
|
33 |
|
ec
ho "<scrip
t language
=\"Javascr
ipt\">loca
tion.href
= 'install
/index.php
';</script
>\n";
|
35 |
|
}
|
|
34 |
|
}
|
36 |
|
exit
()
;
|
|
35 |
|
exit
;
|
37 |
|
}
|
|
36 |
|
}
|
38 |
|
|
|
37 |
|
|
39 |
|
require_on
ce( 'inc/h
eader.inc.
php' );
|
|
38 |
|
require_on
ce( 'inc/h
eader.inc.
php' );
|
40 |
|
require_on
ce( BX_DIR
ECTORY_PAT
H_INC . 'd
esign.inc.
php' );
|
|
39 |
|
require_on
ce( BX_DIR
ECTORY_PAT
H_INC . 'd
esign.inc.
php' );
|
41 |
|
require_on
ce( BX_DIR
ECTORY_PAT
H_INC . 'd
b.inc.php'
);
|
|
|
42 |
|
require_on
ce( BX_DIR
ECTORY_PAT
H_INC . 'a
dmin.inc.p
hp' );
|
|
40 |
|
require_on
ce( BX_DIR
ECTORY_PAT
H_INC . 'a
dmin.inc.p
hp' );
|
|
|
41 |
|
|
|
|
42 |
|
require_on
ce( BX_DIR
ECTORY_PAT
H_INC . 'd
b.inc.php'
);
|
43 |
|
require_on
ce( BX_DIR
ECTORY_PAT
H_INC . 'p
rofiles.in
c.php' );
|
|
43 |
|
require_on
ce( BX_DIR
ECTORY_PAT
H_INC . 'p
rofiles.in
c.php' );
|
44 |
|
require_on
ce( BX_DIR
ECTORY_PAT
H_INC . 'p
rof.inc.ph
p' );
|
|
44 |
|
require_on
ce( BX_DIR
ECTORY_PAT
H_INC . 'p
rof.inc.ph
p' );
|
45 |
|
require_on
ce( BX_DIR
ECTORY_PAT
H_INC . 'm
embers.inc
.php' );
|
|
45 |
|
require_on
ce( BX_DIR
ECTORY_PAT
H_INC . 'm
embers.inc
.php' );
|
|
|
46 |
|
require_on
ce( BX_DIR
ECTORY_PAT
H_INC . 'n
ews.inc.ph
p' );
|
46 |
|
require_on
ce( BX_DIR
ECTORY_PAT
H_INC . 'q
uotes.inc.
php' );
|
|
47 |
|
require_on
ce( BX_DIR
ECTORY_PAT
H_INC . 'q
uotes.inc.
php' );
|
47 |
|
require_on
ce( BX_DIR
ECTORY_PAT
H_INC . 'u
tils.inc.p
hp' );
|
|
48 |
|
require_on
ce( BX_DIR
ECTORY_PAT
H_INC . 'u
tils.inc.p
hp' );
|
48 |
|
require_on
ce( BX_DIR
ECTORY_PAT
H_INC . 'm
embership_
levels.inc
.php' );
|
|
49 |
|
require_on
ce( BX_DIR
ECTORY_PAT
H_INC . 'm
embership_
levels.inc
.php' );
|
49 |
|
require_on
ce( BX_DIR
ECTORY_PAT
H_INC . 't
ags.inc.ph
p' );
|
|
50 |
|
require_on
ce( BX_DIR
ECTORY_PAT
H_INC . 't
ags.inc.ph
p' );
|
50 |
|
require_on
ce( BX_DIR
ECTORY_PAT
H_ROOT . "
templates/
tmpl_{$tmp
l}/scripts
/BxTemplVo
tingView.p
hp" );
|
|
51 |
|
require_on
ce( BX_DIR
ECTORY_PAT
H_ROOT . "
templates/
tmpl_{$tmp
l}/scripts
/BxTemplVo
tingView.p
hp" );
|
|
|
52 |
|
require_on
ce( BX_DIR
ECTORY_PAT
H_CLASSES
. 'BxDolAr
ticles.php
' );
|
|
|
53 |
|
require_on
ce( BX_DIR
ECTORY_PAT
H_CLASSES
. 'BxDolCl
assifieds.
php' );
|
|
|
54 |
|
require_on
ce( BX_DIR
ECTORY_PAT
H_CLASSES
. 'BxDolEv
ents.php'
);
|
|
|
55 |
|
require_on
ce( BX_DIR
ECTORY_PAT
H_CLASSES
. 'BxDolBl
ogs.php' )
;
|
|
|
56 |
|
require_on
ce( BX_DIR
ECTORY_PAT
H_CLASSES
. 'BxDolGr
oups.php'
);
|
|
|
57 |
|
require_on
ce( BX_DIR
ECTORY_PAT
H_CLASSES
. 'BxDolPa
geView.php
' );
|
|
|
58 |
|
require_on
ce( BX_DIR
ECTORY_PAT
H_CLASSES
. 'BxDolSh
aredMedia.
php' );
|
|
|
59 |
|
|
|
|
60 |
|
require( B
X_DIRECTOR
Y_PATH_ROO
T . "templ
ates/base/
scripts/Bx
BaseIndex.
php" );
|
|
|
61 |
|
require( B
X_DIRECTOR
Y_PATH_ROO
T . "templ
ates/tmpl_
{$tmpl}/sc
ripts/BxTe
mplIndex.p
hp" );
|
|
|
62 |
|
|
|
|
63 |
|
check_logg
ed();
|
|
|
64 |
|
|
51 |
|
|
|
65 |
|
|
52 |
|
$_page['na
me_index']
= 1;
|
|
66 |
|
$_page['na
me_index']
= 1;
|
53 |
|
$_page['he
ader']
= $sit
e['title']
;
|
|
67 |
|
$_page['he
ader']
= $sit
e['title']
;
|
54 |
|
$_page['he
ader_text'
] = $sit
e['title']
;
|
|
68 |
|
$_page['he
ader_text'
] = $sit
e['title']
;
|
55 |
|
$_page['cs
s_name']
= 'ind
ex.css';
|
|
69 |
|
$_page['cs
s_name']
= 'ind
ex.css';
|
56 |
|
|
|
70 |
|
|
57 |
|
if( !( $lo
gged['admi
n'] = memb
er_auth( 1
, false )
) )
|
|
71 |
|
$oIPV = ne
w BxTemplI
ndexPageVi
ew();
|
58 |
|
{
|
|
|
59 |
|
if( !(
$logged['
member'] =
member_au
th( 0, fal
se ) ) )
|
|
|
60 |
|
{
|
|
|
61 |
|
if
( !( $logg
ed['aff']
= member_a
uth( 2, fa
lse )) )
|
|
|
62 |
|
{
|
|
|
63 |
|
$logged[
'moderator
'] = membe
r_auth( 3,
false );
|
|
|
64 |
|
}
|
|
|
65 |
|
}
|
|
|
66 |
|
}
|
|
|
67 |
|
|
|
72 |
|
|
68 |
|
if( $logge
d['member'
] )
|
|
73 |
|
$_ni = $_p
age['name_
index'];
|
69 |
|
$membe
rID = (int
)$_COOKIE[
'memberID'
];
|
|
74 |
|
$_page_con
t[$_ni]['p
romo_code'
] = getPro
moCode();
|
|
|
75 |
|
$_page_con
t[$_ni]['p
age_main_c
ode'] = $o
IPV -> get
Code();
|
70 |
|
|
|
76 |
|
|
71 |
|
// add ema
il to noti
fy emails
list
|
|
77 |
|
// add ema
il to noti
fy emails
list
|
72 |
|
if ( $_POS
T['subscri
be'] && $_
POST['subs
cribe_subm
it'] )
|
|
78 |
|
if ( $_POS
T['subscri
be'] && $_
POST['subs
cribe_subm
it'] )
|
73 |
|
{
|
|
|
74 |
|
AddNot
ifyEmail($
_POST['sub
scribe']);
|
|
79 |
|
AddNot
ifyEmail($
_POST['sub
scribe']);
|
75 |
|
}
|
|
|
76 |
|
|
|
80 |
|
|
77 |
|
include( B
X_DIRECTOR
Y_PATH_ROO
T . "templ
ates/tmpl_
{$tmpl}/sc
ripts/inde
x.php" );
|
|
|
78 |
|
|
|
81 |
|
|
79 |
|
?>
|
|
82 |
|
|
|
|
83 |
|
PageCode()
;
|