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 |
|
/**
|
|
21 |
|
/**
|
22 |
|
* ATTENTI
ON! DO NOT
CHANGE TH
IS FILE!
|
|
22 |
|
* ATTENTI
ON! DO NOT
CHANGE TH
IS FILE!
|
23 |
|
* Use Glo
bal Settin
gs in Admi
n Panel in
stead!
|
|
23 |
|
* Use Glo
bal Settin
gs in Admi
n Panel in
stead!
|
24 |
|
*/
|
|
24 |
|
*/
|
25 |
|
|
|
25 |
|
|
26 |
|
/**
|
|
26 |
|
/**
|
27 |
|
* Vars fr
om Variabl
es Categor
y
|
|
27 |
|
* Vars fr
om Variabl
es Categor
y
|
28 |
|
*/
|
|
28 |
|
*/
|
29 |
|
|
|
29 |
|
|
30 |
|
|
|
30 |
|
|
31 |
|
$doll = '$
';
|
|
31 |
|
$doll = '$
';
|
32 |
|
//$en_dir
= 0;
|
|
32 |
|
//$en_dir
= 0;
|
33 |
|
$en_aff =
0;
|
|
33 |
|
$en_aff =
0;
|
34 |
|
//$en_up =
0;
|
|
34 |
|
//$en_up =
0;
|
35 |
|
$en_ziploc
= 1;
|
|
35 |
|
$en_ziploc
= 1;
|
36 |
|
$pic_num =
5;
|
|
36 |
|
$pic_num =
5;
|
37 |
|
//$max_vot
ing_mark =
5;
|
|
37 |
|
//$max_vot
ing_mark =
5;
|
38 |
|
$enable_fr
iendlist =
1;
|
|
38 |
|
$enable_fr
iendlist =
1;
|
39 |
|
//$enable_
auto_thumb
nail = 1;
|
|
39 |
|
//$enable_
auto_thumb
nail = 1;
|
40 |
|
|
|
40 |
|
|
41 |
|
$en_inbox_
notify = 0
;
|
|
41 |
|
$en_inbox_
notify = 0
;
|
42 |
|
$date_form
at = '%m-%
d-%y %H:%i
';
|
|
42 |
|
$date_form
at = '%m-%
d-%y %H:%i
';
|
43 |
|
$short_dat
e_format =
'%m-%d-%y
';
|
|
43 |
|
$short_dat
e_format =
'%m-%d-%y
';
|
44 |
|
|
|
44 |
|
|
45 |
|
$search_st
art_age =
18;
|
|
45 |
|
$search_st
art_age =
18;
|
46 |
|
$search_en
d_age = 75
;
|
|
46 |
|
$search_en
d_age = 75
;
|
47 |
|
$track_pro
file_view
= 1;
|
|
47 |
|
$track_pro
file_view
= 1;
|
48 |
|
$votes = 1
;
|
|
48 |
|
$votes = 1
;
|
49 |
|
$votes_pic
= 1;
|
|
49 |
|
$votes_pic
= 1;
|
50 |
|
$anon_mode
= 0;
|
|
50 |
|
$anon_mode
= 0;
|
51 |
|
$enable_zo
diac = 0;
|
|
51 |
|
$enable_zo
diac = 0;
|
52 |
|
$newuserno
tify = 1;
|
|
52 |
|
$newuserno
tify = 1;
|
53 |
|
$blog_step
= 10;
|
|
53 |
|
$blog_step
= 10;
|
54 |
|
$enable_bl
og = 1;
|
|
54 |
|
$enable_bl
og = 1;
|
55 |
|
$enable_co
uple = 0;
|
|
55 |
|
$enable_co
uple = 0;
|
56 |
|
|
|
56 |
|
|
57 |
|
$max_votin
g_mark = 5
;
|
|
57 |
|
$max_votin
g_mark = 5
;
|
58 |
|
$min_votin
g_mark = 1
;
|
|
58 |
|
$min_votin
g_mark = 1
;
|
59 |
|
$max_votin
g_period =
24;
|
|
59 |
|
$max_votin
g_period =
24;
|
60 |
|
|
|
60 |
|
|
61 |
|
$max_icon_
width = 45
;
|
|
61 |
|
$max_icon_
width = 45
;
|
62 |
|
$max_icon_
height = 4
5;
|
|
62 |
|
$max_icon_
height = 4
5;
|
63 |
|
$max_thumb
_width = 1
10;
|
|
63 |
|
$max_thumb
_width = 1
10;
|
64 |
|
$max_thumb
_height =
110;
|
|
64 |
|
$max_thumb
_height =
110;
|
65 |
|
$max_photo
_width = 3
40;
|
|
65 |
|
$max_photo
_width = 3
40;
|
66 |
|
$max_photo
_height =
340;
|
|
66 |
|
$max_photo
_height =
340;
|
67 |
|
|
|
67 |
|
|
68 |
|
$max_photo
_files
=
1
0;
|
|
68 |
|
$max_photo
_files
=
2
0;
|
69 |
|
$max_media
_title = 1
50;
|
|
69 |
|
$max_media
_title = 1
50;
|
70 |
|
$min_media
_title = 1
;
|
|
70 |
|
$min_media
_title = 1
;
|
71 |
|
|
|
71 |
|
|
72 |
|
|
|
72 |
|
|
73 |
|
$tmpl = 'u
ni';
|
|
73 |
|
$tmpl = 'u
ni';
|
74 |
|
// change
skin
|
|
74 |
|
// change
skin
|
75 |
|
|
|
75 |
|
|
76 |
|
|
|
76 |
|
|
77 |
|
|
|
77 |
|
|
78 |
|
if
($_GET['sk
in']
&&
file_exist
s(
$dir['root
']
.'template
s/tmpl_'.$
_GET['skin
'])
&&
!is_file(
$dir['root
']
.'template
s/tmpl_'.$
_GET['skin
']))
|
|
78 |
|
if
($_GET['sk
in']
&&
file_exist
s(
BX_DIRECTO
RY_PATH_RO
OT
.'template
s/tmpl_'.$
_GET['skin
'])
&&
!is_file(
BX_DIRECTO
RY_PATH_RO
OT
.'template
s/tmpl_'.$
_GET['skin
']))
|
79 |
|
{
|
|
79 |
|
{
|
80 |
|
$tmpl
= $_GET['s
kin'];
|
|
80 |
|
$tmpl
= $_GET['s
kin'];
|
81 |
|
setcoo
kie( "skin
", $_GET['
skin'], 0,
'/' );
|
|
81 |
|
setcoo
kie( "skin
", $_GET['
skin'], 0,
'/' );
|
82 |
|
}
|
|
82 |
|
}
|
83 |
|
elseif
($_COOKIE[
'skin']
&&
file_exist
s(
$dir['root
']
.'template
s/tmpl_'.$
_COOKIE['s
kin'])
&&
!is_file(
$dir['root
']
.'template
s/tmpl_'.$
_COOKIE['s
kin']))
|
|
83 |
|
elseif
($_COOKIE[
'skin']
&&
file_exist
s(
BX_DIRECTO
RY_PATH_RO
OT
.'template
s/tmpl_'.$
_COOKIE['s
kin'])
&&
!is_file(
BX_DIRECTO
RY_PATH_RO
OT
.'template
s/tmpl_'.$
_COOKIE['s
kin']))
|
84 |
|
$tmpl
= $_COOKIE
['skin'];
|
|
84 |
|
$tmpl
= $_COOKIE
['skin'];
|
85 |
|
|
|
85 |
|
|
86 |
|
|
|
86 |
|
|
87 |
|
if(
$_COOKIE['
memberID']
&&
file_exist
s(
$dir['cach
e']
.
'user'
.
$_COOKIE['
memberID']
.
'.php')
&&
is_file(
$dir['cach
e']
.
'user'
.
$_COOKIE['
memberID']
.
'.php'))
|
|
87 |
|
if(
$_COOKIE['
memberID']
&&
file_exist
s(
BX_DIRECTO
RY_PATH_RO
OT
.
'user'
.
$_COOKIE['
memberID']
.
'.php')
&&
is_file(
BX_DIRECTO
RY_PATH_RO
OT
.
'user'
.
$_COOKIE['
memberID']
.
'.php'))
|
88 |
|
requir
e_once( BX
_DIRECTORY
_PATH_CACH
E . 'user'
. (int)$_
COOKIE['me
mberID'] .
'.php');
|
|
88 |
|
requir
e_once( BX
_DIRECTORY
_PATH_CACH
E . 'user'
. (int)$_
COOKIE['me
mberID'] .
'.php');
|
89 |
|
|
|
89 |
|
|
90 |
|
require_on
ce( BX_DIR
ECTORY_PAT
H_ROOT . "
templates/
tmpl_{$tmp
l}/scripts
/BxTemplCo
nfig.php"
);
|
|
90 |
|
require_on
ce( BX_DIR
ECTORY_PAT
H_ROOT . "
templates/
tmpl_{$tmp
l}/scripts
/BxTemplCo
nfig.php"
);
|
91 |
|
$oTemplCon
fig = new
BxTemplCon
fig($site)
;
|
|
91 |
|
$oTemplCon
fig = new
BxTemplCon
fig($site)
;
|
92 |
|
|
|
92 |
|
|
93 |
|
?>
|
|
93 |
|
?>
|