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) 2007 Bo
onEx Group
|
|
7 |
|
* copy
right
: (
C) 2007 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; yo
u can redi
stribute i
t and/or m
odify it u
nder
|
|
11 |
|
* Dolphin
is free so
ftware; yo
u can redi
stribute i
t and/or m
odify it u
nder
|
12 |
|
* the term
s of the G
NU General
Public Li
cense as p
ublished b
y the
|
|
12 |
|
* the term
s of the G
NU General
Public Li
cense as p
ublished b
y the
|
13 |
|
* Free Sof
tware Foun
dation; ei
ther versi
on 2 of th
e
|
|
13 |
|
* Free Sof
tware Foun
dation; ei
ther versi
on 2 of th
e
|
14 |
|
* License,
or any l
ater versi
on.
|
|
14 |
|
* License,
or any l
ater versi
on.
|
15 |
|
*
|
|
15 |
|
*
|
16 |
|
* Dolphin
is distrib
uted in th
e hope tha
t it will
be useful,
but WITHO
UT ANY WAR
RANTY;
|
|
16 |
|
* Dolphin
is distrib
uted in th
e hope tha
t it will
be useful,
but WITHO
UT ANY WAR
RANTY;
|
17 |
|
* without
even the i
mplied war
ranty of
MERCHANTAB
ILITY or F
ITNESS FOR
A PARTICU
LAR PURPOS
E.
|
|
17 |
|
* without
even the i
mplied war
ranty of
MERCHANTAB
ILITY or F
ITNESS FOR
A PARTICU
LAR PURPOS
E.
|
18 |
|
* See the
GNU Genera
l Public L
icense for
more deta
ils.
|
|
18 |
|
* See the
GNU Genera
l Public L
icense for
more deta
ils.
|
19 |
|
* You shou
ld have re
ceived a c
opy of the
GNU Gener
al Public
License al
ong with D
olphin,
|
|
19 |
|
* You shou
ld have re
ceived a c
opy of the
GNU Gener
al Public
License al
ong with D
olphin,
|
20 |
|
* see lice
nse.txt fi
le; if not
, write to
marketing
@boonex.co
m
|
|
20 |
|
* see lice
nse.txt fi
le; if not
, write to
marketing
@boonex.co
m
|
21 |
|
**********
**********
**********
**********
**********
**********
**********
*****/
|
|
21 |
|
**********
**********
**********
**********
**********
**********
**********
*****/
|
22 |
|
|
|
22 |
|
|
23 |
|
require_on
ce( 'inc/h
eader.inc.
php' );
|
|
23 |
|
require_on
ce( 'inc/h
eader.inc.
php' );
|
24 |
|
require_on
ce( BX_DIR
ECTORY_PAT
H_INC . 'd
esign.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 . 'a
dmin.inc.p
hp' );
|
|
25 |
|
require_on
ce( BX_DIR
ECTORY_PAT
H_INC . 'a
dmin.inc.p
hp' );
|
26 |
|
require_on
ce( BX_DIR
ECTORY_PAT
H_CLASSES
. 'BxDolCl
assifieds.
php' );
|
|
26 |
|
require_on
ce( BX_DIR
ECTORY_PAT
H_CLASSES
. 'BxDolCl
assifieds.
php' );
|
27 |
|
|
|
27 |
|
|
28 |
|
// -------
-------- p
age variab
les and lo
gin
|
|
28 |
|
// -------
-------- p
age variab
les and lo
gin
|
29 |
|
$_page['na
me_index']
= 26;
|
|
29 |
|
$_page['na
me_index']
= 26;
|
30 |
|
$_page['cs
s_name'] =
'classifi
eds_view.c
ss';
|
|
30 |
|
$_page['cs
s_name'] =
'classifi
eds_view.c
ss';
|
31 |
|
$_page['ex
tra_js']
=
$oTemplCon
fig
->
sTinyMceEd
itor
Compact
JS;
|
|
31 |
|
$_page['ex
tra_js']
=
$oTemplCon
fig
->
sTinyMceEd
itor
JS;
|
32 |
|
|
|
32 |
|
|
33 |
|
check_logg
ed();
|
|
33 |
|
check_logg
ed();
|
34 |
|
|
|
34 |
|
|
35 |
|
$oClassifi
eds = new
BxDolClass
ifieds();
|
|
35 |
|
$oClassifi
eds = new
BxDolClass
ifieds();
|
36 |
|
|
|
36 |
|
|
37 |
|
$_page['he
ader'] = $
oClassifie
ds -> GetH
eaderStrin
g();
|
|
37 |
|
$_page['he
ader'] = $
oClassifie
ds -> GetH
eaderStrin
g();
|
38 |
|
$_page['he
ader_text'
] = $oClas
sifieds ->
GetHeader
String();
|
|
38 |
|
$_page['he
ader_text'
] = $oClas
sifieds ->
GetHeader
String();
|
39 |
|
|
|
39 |
|
|
40 |
|
$_ni = $_p
age['name_
index'];
|
|
40 |
|
$_ni = $_p
age['name_
index'];
|
41 |
|
$_page_con
t[$_ni]['p
age_main_c
ode'] = Pa
geCompPage
MainCode()
;
|
|
41 |
|
$_page_con
t[$_ni]['p
age_main_c
ode'] = Pa
geCompPage
MainCode()
;
|
42 |
|
|
|
42 |
|
|
43 |
|
PageCode()
;
|
|
43 |
|
PageCode()
;
|
44 |
|
|
|
44 |
|
|
45 |
|
/**
|
|
45 |
|
/**
|
46 |
|
* Gen
erating Ma
in page co
de
|
|
46 |
|
* Gen
erating Ma
in page co
de
|
47 |
|
*
|
|
47 |
|
*
|
48 |
|
* @re
turn ALL p
resentatio
n of data
|
|
48 |
|
* @re
turn ALL p
resentatio
n of data
|
49 |
|
*/
|
|
49 |
|
*/
|
50 |
|
functi
on PageCom
pPageMainC
ode() {
|
|
50 |
|
functi
on PageCom
pPageMainC
ode() {
|
51 |
|
$s
RetHtml =
'';
|
|
51 |
|
$s
RetHtml =
'';
|
52 |
|
gl
obal $oCla
ssifieds;
|
|
52 |
|
gl
obal $oCla
ssifieds;
|
53 |
|
$o
Classified
s -> sCurr
BrowsedFil
e = $_SERV
ER['PHP_SE
LF'];
|
|
53 |
|
$o
Classified
s -> sCurr
BrowsedFil
e = $_SERV
ER['PHP_SE
LF'];
|
54 |
|
$o
Classified
s -> sCurr
BrowsedFil
e = 'class
ifieds.php
';
|
|
54 |
|
$o
Classified
s -> sCurr
BrowsedFil
e = 'class
ifieds.php
';
|
55 |
|
$s
RetHtml .=
$oClassif
ieds -> Pr
intCommand
Forms();
|
|
55 |
|
$s
RetHtml .=
$oClassif
ieds -> Pr
intCommand
Forms();
|
56 |
|
|
|
56 |
|
|
57 |
|
if
($_REQUES
T) {
|
|
57 |
|
if
($_REQUES
T) {
|
58 |
|
if (isse
t($_GET['t
ag'])) {
|
|
58 |
|
if (isse
t($_GET['t
ag'])) {
|
59 |
|
$sTa
g = proces
s_db_input
( $_GET['t
ag'] );
|
|
59 |
|
$sTa
g = proces
s_db_input
( $_GET['t
ag'] );
|
60 |
|
$sRe
tHtml .= $
oClassifie
ds->PrintA
dvertiseme
ntsByTag($
sTag);
|
|
60 |
|
$sRe
tHtml .= $
oClassifie
ds->PrintA
dvertiseme
ntsByTag($
sTag);
|
61 |
|
}
|
|
61 |
|
}
|
62 |
|
}
|
|
62 |
|
}
|
63 |
|
//
else {
|
|
63 |
|
//
else {
|
64 |
|
// $sRet
Html .= $o
Classified
s -> Print
Classified
s();
|
|
64 |
|
// $sRet
Html .= $o
Classified
s -> Print
Classified
s();
|
65 |
|
//
}
|
|
65 |
|
//
}
|
66 |
|
|
|
66 |
|
|
67 |
|
re
turn $sRet
Html;
|
|
67 |
|
re
turn $sRet
Html;
|
68 |
|
}
|
|
68 |
|
}
|
69 |
|
?>
|
|
69 |
|
?>
|