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 |
|
require_on
ce( 'heade
r.inc.php'
);
|
|
21 |
|
require_on
ce( 'heade
r.inc.php'
);
|
22 |
|
require_on
ce( BX_DIR
ECTORY_PAT
H_INC . 'd
b.inc.php'
);
|
|
22 |
|
require_on
ce( BX_DIR
ECTORY_PAT
H_INC . 'd
b.inc.php'
);
|
23 |
|
require_on
ce( BX_DIR
ECTORY_PAT
H_INC . 'p
rof.inc.ph
p' );
|
|
23 |
|
require_on
ce( BX_DIR
ECTORY_PAT
H_INC . 'p
rof.inc.ph
p' );
|
24 |
|
|
|
24 |
|
|
25 |
|
|
|
25 |
|
|
26 |
|
function g
etAdminMen
u()
|
|
26 |
|
function g
etAdminMen
u()
|
27 |
|
{
|
|
27 |
|
{
|
28 |
|
global
$logged;
|
|
28 |
|
global
$logged;
|
29 |
|
global
$site;
|
|
29 |
|
global
$site;
|
30 |
|
|
|
30 |
|
|
31 |
|
$sBuil
d = '';
|
|
31 |
|
$sBuil
d = '';
|
32 |
|
if ( $
logged['ad
min'] )
|
|
32 |
|
if ( $
logged['ad
min'] )
|
33 |
|
{
|
|
33 |
|
{
|
34 |
|
$u
ser = 'adm
in';
|
|
34 |
|
$u
ser = 'adm
in';
|
35 |
|
$l
ogout = 'a
dmin_logou
t';
|
|
35 |
|
$l
ogout = 'a
dmin_logou
t';
|
36 |
|
$s
Build = $s
AdminMenu
.= '<a hre
f="' . $si
te['url_ad
min'] . 'a
dminMenuCo
mpose.php"
>' .
|
|
36 |
|
$s
Build = $s
AdminMenu
.= '<a hre
f="' . $si
te['url_ad
min'] . 'a
dminMenuCo
mpose.php"
>' .
|
37 |
|
'<
img src="'
. $site['
url_admin'
] . 'image
s/icons/it
ems/basic_
settings.g
if" />' .
|
|
37 |
|
'<
img src="'
. $site['
url_admin'
] . 'image
s/icons/it
ems/basic_
settings.g
if" />' .
|
38 |
|
'<
/a>';
|
|
38 |
|
'<
/a>';
|
39 |
|
}
|
|
39 |
|
}
|
40 |
|
elseif
( $logged[
'aff'] )
|
|
40 |
|
elseif
( $logged[
'aff'] )
|
41 |
|
{
|
|
41 |
|
{
|
42 |
|
$u
ser = 'aff
';
|
|
42 |
|
$u
ser = 'aff
';
|
43 |
|
$l
ogout = 'a
ff_logout'
;
|
|
43 |
|
$l
ogout = 'a
ff_logout'
;
|
44 |
|
}
|
|
44 |
|
}
|
45 |
|
elseif
($logged['
moderator'
])
|
|
45 |
|
elseif
($logged['
moderator'
])
|
46 |
|
{
|
|
46 |
|
{
|
47 |
|
$u
ser = 'mod
erator';
|
|
47 |
|
$u
ser = 'mod
erator';
|
48 |
|
$l
ogout = 'm
oderator_l
ogout';
|
|
48 |
|
$l
ogout = 'm
oderator_l
ogout';
|
49 |
|
}
|
|
49 |
|
}
|
50 |
|
else
|
|
50 |
|
else
|
51 |
|
re
turn '';
|
|
51 |
|
re
turn '';
|
52 |
|
|
|
52 |
|
|
53 |
|
$self
= basename
( $_SERVER
['PHP_SELF
'] );
|
|
53 |
|
$self
= basename
( $_SERVER
['PHP_SELF
'] );
|
54 |
|
$reque
st_uri = b
asename( $
_SERVER['R
EQUEST_URI
'] );
|
|
54 |
|
$reque
st_uri = b
asename( $
_SERVER['R
EQUEST_URI
'] );
|
55 |
|
|
|
55 |
|
|
56 |
|
$rCate
gs = db_re
s( "SELECT
`ID`, `Ti
tle`, `Ico
n`, `Icon_
thumb` FRO
M `AdminMe
nuCateg` W
HERE `User
`='$user'
ORDER BY `
Order`" );
|
|
56 |
|
$rCate
gs = db_re
s( "SELECT
`ID`, `Ti
tle`, `Ico
n`, `Icon_
thumb` FRO
M `AdminMe
nuCateg` W
HERE `User
`='$user'
ORDER BY `
Order`" );
|
57 |
|
|
|
57 |
|
|
58 |
|
$sAdmi
nMenu = '<
div class=
"menu_wrap
per">';
|
|
58 |
|
$sAdmi
nMenu = '<
div class=
"menu_wrap
per">';
|
59 |
|
|
|
59 |
|
|
60 |
|
//gen
Dashboard
link
|
|
60 |
|
//gen
Dashboard
link
|
61 |
|
$aCate
gDash = ar
ray( 'ID'
=> 0, 'Ico
n_thumb' =
> 'key_t.p
ng', 'Titl
e' => 'Das
hboard' );
|
|
61 |
|
$aCate
gDash = ar
ray( 'ID'
=> 0, 'Ico
n_thumb' =
> 'key_t.p
ng', 'Titl
e' => 'Das
hboard' );
|
62 |
|
if( $s
elf == 'in
dex.php' &
& (int)$_G
ET['admin_
categ'] ==
0 )
|
|
62 |
|
if( $s
elf == 'in
dex.php' &
& (int)$_G
ET['admin_
categ'] ==
0 )
|
63 |
|
$i
sActiveCat
eg = true;
|
|
63 |
|
$i
sActiveCat
eg = true;
|
64 |
|
else
|
|
64 |
|
else
|
65 |
|
$i
sActiveCat
eg = false
;
|
|
65 |
|
$i
sActiveCat
eg = false
;
|
66 |
|
|
|
66 |
|
|
67 |
|
$sAdmi
nMenu .= g
etAdminMen
uCateg( $a
CategDash,
'', $isAc
tiveCateg,
0 );
|
|
67 |
|
$sAdmi
nMenu .= g
etAdminMen
uCateg( $a
CategDash,
'', $isAc
tiveCateg,
0 );
|
68 |
|
|
|
68 |
|
|
69 |
|
while(
$aCateg =
mysql_fet
ch_assoc(
$rCategs )
)
|
|
69 |
|
while(
$aCateg =
mysql_fet
ch_assoc(
$rCategs )
)
|
70 |
|
{
|
|
70 |
|
{
|
71 |
|
$r
Items = db
_res( "SEL
ECT * FROM
`AdminMen
u` WHERE `
Categ`='{$
aCateg['ID
']}' ORDER
BY `Order
`" );
|
|
71 |
|
$r
Items = db
_res( "SEL
ECT * FROM
`AdminMen
u` WHERE `
Categ`='{$
aCateg['ID
']}' ORDER
BY `Order
`" );
|
72 |
|
|
|
72 |
|
|
73 |
|
if
( $self ==
'index.ph
p' && (int
)$_GET['ad
min_categ'
] == $aCat
eg['ID'] )
|
|
73 |
|
if
( $self ==
'index.ph
p' && (int
)$_GET['ad
min_categ'
] == $aCat
eg['ID'] )
|
74 |
|
{
|
|
74 |
|
{
|
75 |
|
$isActiv
eCateg = t
rue;
|
|
75 |
|
$isActiv
eCateg = t
rue;
|
76 |
|
$isOpenC
ateg = t
rue;
|
|
76 |
|
$isOpenC
ateg = t
rue;
|
77 |
|
}
|
|
77 |
|
}
|
78 |
|
el
se
|
|
78 |
|
el
se
|
79 |
|
{
|
|
79 |
|
{
|
80 |
|
$isActiv
eCateg = f
alse;
|
|
80 |
|
$isActiv
eCateg = f
alse;
|
81 |
|
$isOpenC
ateg = f
alse;
|
|
81 |
|
$isOpenC
ateg = f
alse;
|
82 |
|
}
|
|
82 |
|
}
|
83 |
|
|
|
83 |
|
|
84 |
|
$s
Items = ''
;
|
|
84 |
|
$s
Items = ''
;
|
85 |
|
|
|
85 |
|
|
86 |
|
wh
ile( $aIte
m = mysql_
fetch_asso
c( $rItems
) )
|
|
86 |
|
wh
ile( $aIte
m = mysql_
fetch_asso
c( $rItems
) )
|
87 |
|
{
|
|
87 |
|
{
|
88 |
|
if( subs
tr( $reque
st_uri, 0,
strlen( b
asename( $
aItem['Url
'] ) ) ) =
= basename
( $aItem['
Url'] ) )
|
|
88 |
|
if( subs
tr( $reque
st_uri, 0,
strlen( b
asename( $
aItem['Url
'] ) ) ) =
= basename
( $aItem['
Url'] ) )
|
89 |
|
{
|
|
89 |
|
{
|
90 |
|
$isO
penCateg =
true;
|
|
90 |
|
$isO
penCateg =
true;
|
91 |
|
$isA
ctiveItem
= true;
|
|
91 |
|
$isA
ctiveItem
= true;
|
92 |
|
}
|
|
92 |
|
}
|
93 |
|
else
|
|
93 |
|
else
|
94 |
|
$isA
ctiveItem
= false;
|
|
94 |
|
$isA
ctiveItem
= false;
|
95 |
|
|
|
95 |
|
|
96 |
|
$sItems
.= getAdmi
nMenuItem(
$aItem, $
isActiveIt
em );
|
|
96 |
|
$sItems
.= getAdmi
nMenuItem(
$aItem, $
isActiveIt
em );
|
97 |
|
}
|
|
97 |
|
}
|
98 |
|
$s
AdminMenu
.= getAdmi
nMenuCateg
( $aCateg,
$sItems,
$isActiveC
ateg, $isO
penCateg )
;
|
|
98 |
|
$s
AdminMenu
.= getAdmi
nMenuCateg
( $aCateg,
$sItems,
$isActiveC
ateg, $isO
penCateg )
;
|
99 |
|
}
|
|
99 |
|
}
|
100 |
|
|
|
100 |
|
|
101 |
|
//gen
logout lin
k
|
|
101 |
|
//gen
logout lin
k
|
102 |
|
$aCate
gLogout =
array( 'ID
' => 0, 'I
con_thumb'
=> 'logou
t_t.png',
'Title' =>
'Logout',
'Link' =>
'../logou
t.php?acti
on=' . $lo
gout );
|
|
102 |
|
$aCate
gLogout =
array( 'ID
' => 0, 'I
con_thumb'
=> 'logou
t_t.png',
'Title' =>
'Logout',
'Link' =>
'../logou
t.php?acti
on=' . $lo
gout );
|
103 |
|
$sAdmi
nMenu .= g
etAdminMen
uCateg( $a
CategLogou
t, '', 0,
0 );
|
|
103 |
|
$sAdmi
nMenu .= g
etAdminMen
uCateg( $a
CategLogou
t, '', 0,
0 );
|
104 |
|
$sAdmi
nMenu .= $
sBuild;
|
|
104 |
|
$sAdmi
nMenu .= $
sBuild;
|
105 |
|
|
|
105 |
|
|
106 |
|
$sAdmi
nMenu .= '
</div>';
|
|
106 |
|
$sAdmi
nMenu .= '
</div>';
|
107 |
|
|
|
107 |
|
|
108 |
|
return
$sAdminMe
nu;
|
|
108 |
|
return
$sAdminMe
nu;
|
109 |
|
}
|
|
109 |
|
}
|
110 |
|
|
|
110 |
|
|
111 |
|
$l = 'base
64_decode'
;
|
|
111 |
|
$l = 'base
64_decode'
;
|
112 |
|
|
|
112 |
|
|
113 |
|
function g
etAdminMen
uItem( $aI
tem, $isAc
tiveItem )
|
|
113 |
|
function g
etAdminMen
uItem( $aI
tem, $isAc
tiveItem )
|
114 |
|
{
|
|
114 |
|
{
|
115 |
|
global
$site;
|
|
115 |
|
global
$site;
|
116 |
|
|
|
116 |
|
|
117 |
|
if( st
rlen( $aIt
em['Check'
] ) )
|
|
117 |
|
if( st
rlen( $aIt
em['Check'
] ) )
|
118 |
|
{
|
|
118 |
|
{
|
119 |
|
$f
unc = crea
te_functio
n( '', $aI
tem['Check
'] );
|
|
119 |
|
$f
unc = crea
te_functio
n( '', $aI
tem['Check
'] );
|
120 |
|
if
( !$func()
)
|
|
120 |
|
if
( !$func()
)
|
121 |
|
return '
';
|
|
121 |
|
return '
';
|
122 |
|
}
|
|
122 |
|
}
|
123 |
|
|
|
123 |
|
|
124 |
|
ob_sta
rt();
|
|
124 |
|
ob_sta
rt();
|
125 |
|
?>
|
|
125 |
|
?>
|
126 |
|
<d
iv class="
menu_item_
wrapper">
|
|
126 |
|
<d
iv class="
menu_item_
wrapper">
|
127 |
|
<img src
="<?= $sit
e['url_adm
in']?>imag
es/icons/i
tems/<?= $
aItem['Ico
n'] ?>" cl
ass="menu_
item_icon"
/>
|
|
127 |
|
<img src
="<?= $sit
e['url_adm
in']?>imag
es/icons/i
tems/<?= $
aItem['Ico
n'] ?>" cl
ass="menu_
item_icon"
/>
|
128 |
|
<?
|
|
128 |
|
<?
|
129 |
|
|
|
129 |
|
|
130 |
|
if( $i
sActiveIte
m )
|
|
130 |
|
if( $i
sActiveIte
m )
|
131 |
|
{
|
|
131 |
|
{
|
132 |
|
?>
<span><?=
$aItem['Ti
tle'] ?></
span><?
|
|
132 |
|
?>
<span><?=
$aItem['Ti
tle'] ?></
span><?
|
133 |
|
}
|
|
133 |
|
}
|
134 |
|
else
|
|
134 |
|
else
|
135 |
|
{
|
|
135 |
|
{
|
136 |
|
if
( substr(
$aItem['Ur
l'], 0, st
rlen( 'jav
ascript:'
) ) == 'ja
vascript:'
) // smil
e :))
|
|
136 |
|
if
( substr(
$aItem['Ur
l'], 0, st
rlen( 'jav
ascript:'
) ) == 'ja
vascript:'
) // smil
e :))
|
137 |
|
{
|
|
137 |
|
{
|
138 |
|
$href =
'javascrip
t:void(0);
';
|
|
138 |
|
$href =
'javascrip
t:void(0);
';
|
139 |
|
$onclick
= 'onclic
k="' . $aI
tem['Url']
. '"';
|
|
139 |
|
$onclick
= 'onclic
k="' . $aI
tem['Url']
. '"';
|
140 |
|
|
|
140 |
|
|
141 |
|
$aAdmin
= db_arr(
"SELECT *
FROM `Admi
ns` LIMIT
1" );
|
|
141 |
|
$aAdmin
= db_arr(
"SELECT *
FROM `Admi
ns` LIMIT
1" );
|
142 |
|
$onclick
= str_rep
lace( '{ad
minLogin}'
, $aAdmin[
'Name'],
$oncl
ick );
|
|
142 |
|
$onclick
= str_rep
lace( '{ad
minLogin}'
, $aAdmin[
'Name'],
$oncl
ick );
|
143 |
|
$onclick
= str_rep
lace( '{ad
minPass}',
$aAdmin[
'Password'
], $onclic
k );
|
|
143 |
|
$onclick
= str_rep
lace( '{ad
minPass}',
$aAdmin[
'Password'
], $onclic
k );
|
144 |
|
}
|
|
144 |
|
}
|
145 |
|
el
se
|
|
145 |
|
el
se
|
146 |
|
{
|
|
146 |
|
{
|
147 |
|
$href =
$site['url
_admin'] .
$aItem['U
rl'];
|
|
147 |
|
$href =
$site['url
_admin'] .
$aItem['U
rl'];
|
148 |
|
$onclick
= '';
|
|
148 |
|
$onclick
= '';
|
149 |
|
}
|
|
149 |
|
}
|
150 |
|
|
|
150 |
|
|
151 |
|
?>
<a href="<
?=$href?>"
<?=$oncli
ck?>><?= $
aItem['Tit
le'] ?></a
><?
|
|
151 |
|
?>
<a href="<
?=$href?>"
<?=$oncli
ck?>><?= $
aItem['Tit
le'] ?></a
><?
|
152 |
|
}
|
|
152 |
|
}
|
153 |
|
?>
|
|
153 |
|
?>
|
154 |
|
</
div>
|
|
154 |
|
</
div>
|
155 |
|
<?
|
|
155 |
|
<?
|
156 |
|
return
ob_get_cl
ean();
|
|
156 |
|
return
ob_get_cl
ean();
|
157 |
|
}
|
|
157 |
|
}
|
158 |
|
|
|
158 |
|
|
159 |
|
function g
etAdminMen
uCateg( $a
Categ, $sI
tems, $isA
ctiveCateg
, $isOpenC
ateg )
|
|
159 |
|
function g
etAdminMen
uCateg( $a
Categ, $sI
tems, $isA
ctiveCateg
, $isOpenC
ateg )
|
160 |
|
{
|
|
160 |
|
{
|
161 |
|
global
$site;
|
|
161 |
|
global
$site;
|
162 |
|
|
|
162 |
|
|
163 |
|
ob_sta
rt();
|
|
163 |
|
ob_sta
rt();
|
164 |
|
?>
|
|
164 |
|
?>
|
165 |
|
<div c
lass="menu
_categ_wra
pper">
|
|
165 |
|
<div c
lass="menu
_categ_wra
pper">
|
166 |
|
<?
|
|
166 |
|
<?
|
167 |
|
if( $i
sActiveCat
eg )
|
|
167 |
|
if( $i
sActiveCat
eg )
|
168 |
|
{
|
|
168 |
|
{
|
169 |
|
?>
|
|
169 |
|
?>
|
170 |
|
<d
iv class="
menu_categ
_active_he
ader">
|
|
170 |
|
<d
iv class="
menu_categ
_active_he
ader">
|
171 |
|
<img src
="<?= $sit
e['url_adm
in'] ?>ima
ges/icons/
<?= $aCate
g['Icon_th
umb'] ?>"
class="cat
eg_icon" /
>
|
|
171 |
|
<img src
="<?= $sit
e['url_adm
in'] ?>ima
ges/icons/
<?= $aCate
g['Icon_th
umb'] ?>"
class="cat
eg_icon" /
>
|
172 |
|
<?
|
|
172 |
|
<?
|
173 |
|
if
( strlen(
$sItems )
)
|
|
173 |
|
if
( strlen(
$sItems )
)
|
174 |
|
{
|
|
174 |
|
{
|
175 |
|
?>
|
|
175 |
|
?>
|
176 |
|
<img src
="<?= $sit
e['url_adm
in'] ?>ima
ges/arr_dn
_act.gif"
class="cat
eg_arr"
|
|
176 |
|
<img src
="<?= $sit
e['url_adm
in'] ?>ima
ges/arr_dn
_act.gif"
class="cat
eg_arr"
|
177 |
|
onmous
eover="el
= document
.getElemen
tById( 'me
nu_items_w
rapper_<?=
$aCateg['
ID'] ?>' )
; if( el.s
tyle.displ
ay == 'non
e'){ this.
src='<?= $
site['url_
admin'] ?>
images/arr
_dn_hover.
gif'; }"
|
|
177 |
|
onmous
eover="el
= document
.getElemen
tById( 'me
nu_items_w
rapper_<?=
$aCateg['
ID'] ?>' )
; if( el.s
tyle.displ
ay == 'non
e'){ this.
src='<?= $
site['url_
admin'] ?>
images/arr
_dn_hover.
gif'; }"
|
178 |
|
onmous
eout="if(
el.style.d
isplay ==
'none'){ t
his.src='<
?= $site['
url_admin'
] ?>images
/arr_dn.gi
f'; }"
|
|
178 |
|
onmous
eout="if(
el.style.d
isplay ==
'none'){ t
his.src='<
?= $site['
url_admin'
] ?>images
/arr_dn.gi
f'; }"
|
179 |
|
onclic
k="if( el.
style.disp
lay == 'no
ne' ){ el.
style.disp
lay = 'blo
ck'; this.
src = '<?=
$site['ur
l_admin']
?>images/a
rr_dn_act.
gif'; } el
se { el.st
yle.displa
y = 'none'
; this.src
= '<?= $s
ite['url_a
dmin'] ?>i
mages/arr_
dn.gif'; }
"
|
|
179 |
|
onclic
k="if( el.
style.disp
lay == 'no
ne' ){ el.
style.disp
lay = 'blo
ck'; this.
src = '<?=
$site['ur
l_admin']
?>images/a
rr_dn_act.
gif'; } el
se { el.st
yle.displa
y = 'none'
; this.src
= '<?= $s
ite['url_a
dmin'] ?>i
mages/arr_
dn.gif'; }
"
|
180 |
|
/>
|
|
180 |
|
/>
|
181 |
|
<?
|
|
181 |
|
<?
|
182 |
|
}
|
|
182 |
|
}
|
183 |
|
?>
|
|
183 |
|
?>
|
184 |
|
<span><?
= $aCateg[
'Title'] ?
></span>
|
|
184 |
|
<span><?
= $aCateg[
'Title'] ?
></span>
|
185 |
|
</
div>
|
|
185 |
|
</
div>
|
186 |
|
<?
|
|
186 |
|
<?
|
187 |
|
}
|
|
187 |
|
}
|
188 |
|
else
|
|
188 |
|
else
|
189 |
|
{
|
|
189 |
|
{
|
190 |
|
?>
|
|
190 |
|
?>
|
191 |
|
<d
iv class="
menu_categ
_header">
|
|
191 |
|
<d
iv class="
menu_categ
_header">
|
192 |
|
<img src
="<?= $sit
e['url_adm
in'] ?>ima
ges/icons/
<?= $aCate
g['Icon_th
umb'] ?>"
class="cat
eg_icon" /
>
|
|
192 |
|
<img src
="<?= $sit
e['url_adm
in'] ?>ima
ges/icons/
<?= $aCate
g['Icon_th
umb'] ?>"
class="cat
eg_icon" /
>
|
193 |
|
<?
|
|
193 |
|
<?
|
194 |
|
if
( strlen(
$sItems )
)
|
|
194 |
|
if
( strlen(
$sItems )
)
|
195 |
|
{
|
|
195 |
|
{
|
196 |
|
?>
|
|
196 |
|
?>
|
197 |
|
<img src
="<?= $sit
e['url_adm
in'] ?>ima
ges/arr_dn
.gif" clas
s="categ_a
rr"
|
|
197 |
|
<img src
="<?= $sit
e['url_adm
in'] ?>ima
ges/arr_dn
.gif" clas
s="categ_a
rr"
|
198 |
|
onmous
eover="el
= document
.getElemen
tById( 'me
nu_items_w
rapper_<?=
$aCateg['
ID'] ?>' )
; if( el.s
tyle.displ
ay == 'non
e'){ this.
src='<?= $
site['url_
admin'] ?>
images/arr
_dn_hover.
gif'; }"
|
|
198 |
|
onmous
eover="el
= document
.getElemen
tById( 'me
nu_items_w
rapper_<?=
$aCateg['
ID'] ?>' )
; if( el.s
tyle.displ
ay == 'non
e'){ this.
src='<?= $
site['url_
admin'] ?>
images/arr
_dn_hover.
gif'; }"
|
199 |
|
onmous
eout="if(
el.style.d
isplay ==
'none'){ t
his.src='<
?= $site['
url_admin'
] ?>images
/arr_dn.gi
f'; }"
|
|
199 |
|
onmous
eout="if(
el.style.d
isplay ==
'none'){ t
his.src='<
?= $site['
url_admin'
] ?>images
/arr_dn.gi
f'; }"
|
200 |
|
onclic
k="if( el.
style.disp
lay == 'no
ne' ){ el.
style.disp
lay = 'blo
ck'; this.
src = '<?=
$site['ur
l_admin']
?>images/a
rr_dn_act.
gif'; } el
se { el.st
yle.displa
y = 'none'
; this.src
= '<?= $s
ite['url_a
dmin'] ?>i
mages/arr_
dn.gif'; }
"
|
|
200 |
|
onclic
k="if( el.
style.disp
lay == 'no
ne' ){ el.
style.disp
lay = 'blo
ck'; this.
src = '<?=
$site['ur
l_admin']
?>images/a
rr_dn_act.
gif'; } el
se { el.st
yle.displa
y = 'none'
; this.src
= '<?= $s
ite['url_a
dmin'] ?>i
mages/arr_
dn.gif'; }
"
|
201 |
|
/>
|
|
201 |
|
/>
|
202 |
|
<?
|
|
202 |
|
<?
|
203 |
|
}
|
|
203 |
|
}
|
204 |
|
|
|
204 |
|
|
205 |
|
if
( $aCateg[
'Link'] )
|
|
205 |
|
if
( $aCateg[
'Link'] )
|
206 |
|
$link =
$aCateg['L
ink'];
|
|
206 |
|
$link =
$aCateg['L
ink'];
|
207 |
|
el
seif( $aCa
teg['ID']
)
|
|
207 |
|
el
seif( $aCa
teg['ID']
)
|
208 |
|
$link =
$site['url
_admin'] .
"index.ph
p?admin_ca
teg={$aCat
eg['ID']}"
;
|
|
208 |
|
$link =
$site['url
_admin'] .
"index.ph
p?admin_ca
teg={$aCat
eg['ID']}"
;
|
209 |
|
el
se
|
|
209 |
|
el
se
|
210 |
|
$link =
$site['url
_admin'] .
"index.ph
p";
|
|
210 |
|
$link =
$site['url
_admin'] .
"index.ph
p";
|
211 |
|
|
|
211 |
|
|
212 |
|
?>
|
|
212 |
|
?>
|
213 |
|
<a href=
"<?= $link
?>"><?= $
aCateg['Ti
tle'] ?></
a>
|
|
213 |
|
<a href=
"<?= $link
?>"><?= $
aCateg['Ti
tle'] ?></
a>
|
214 |
|
</
div>
|
|
214 |
|
</
div>
|
215 |
|
<?
|
|
215 |
|
<?
|
216 |
|
}
|
|
216 |
|
}
|
217 |
|
|
|
217 |
|
|
218 |
|
if( st
rlen( $sIt
ems ) )
|
|
218 |
|
if( st
rlen( $sIt
ems ) )
|
219 |
|
{
|
|
219 |
|
{
|
220 |
|
?>
|
|
220 |
|
?>
|
221 |
|
<d
iv class="
menu_items
_wrapper"
id="menu_i
tems_wrapp
er_<?= $aC
ateg['ID']
?>" style
="display:
<?= $isOp
enCateg ?
'block' :
'none' ?>;
">
|
|
221 |
|
<d
iv class="
menu_items
_wrapper"
id="menu_i
tems_wrapp
er_<?= $aC
ateg['ID']
?>" style
="display:
<?= $isOp
enCateg ?
'block' :
'none' ?>;
">
|
222 |
|
<?= $sIt
ems ?>
|
|
222 |
|
<?= $sIt
ems ?>
|
223 |
|
</
div>
|
|
223 |
|
</
div>
|
224 |
|
<?
|
|
224 |
|
<?
|
225 |
|
}
|
|
225 |
|
}
|
226 |
|
?>
|
|
226 |
|
?>
|
227 |
|
</div>
|
|
227 |
|
</div>
|
228 |
|
<?
|
|
228 |
|
<?
|
229 |
|
|
|
229 |
|
|
230 |
|
return
ob_get_cl
ean();
|
|
230 |
|
return
ob_get_cl
ean();
|
231 |
|
}
|
|
231 |
|
}
|
232 |
|
|
|
232 |
|
|
233 |
|
|
|
233 |
|
|
234 |
|
function T
opCodeAdmi
n( $extraC
odeInBody
= '' )
|
|
234 |
|
function T
opCodeAdmi
n( $extraC
odeInBody
= '' )
|
235 |
|
{
|
|
235 |
|
{
|
236 |
|
global
$dir;
|
|
236 |
|
global
$dir;
|
237 |
|
global
$site;
|
|
237 |
|
global
$site;
|
238 |
|
global
$admin_di
r;
|
|
238 |
|
global
$admin_di
r;
|
239 |
|
global
$_page;
|
|
239 |
|
global
$_page;
|
240 |
|
global
$logged;
|
|
240 |
|
global
$logged;
|
241 |
|
global
$sRayHome
Dir;
|
|
241 |
|
global
$sRayHome
Dir;
|
242 |
|
|
|
242 |
|
|
243 |
|
if ( $
logged['ad
min'] )
|
|
243 |
|
if ( $
logged['ad
min'] )
|
244 |
|
{
|
|
244 |
|
{
|
245 |
|
$l
ogo_alt =
'Admin';
|
|
245 |
|
$l
ogo_alt =
'Admin';
|
246 |
|
$u
ser =
'admin';
|
|
246 |
|
$u
ser =
'admin';
|
247 |
|
}
|
|
247 |
|
}
|
248 |
|
elseif
( $logged[
'aff'] )
|
|
248 |
|
elseif
( $logged[
'aff'] )
|
249 |
|
{
|
|
249 |
|
{
|
250 |
|
$l
ogo_alt =
'Affiliate
';
|
|
250 |
|
$l
ogo_alt =
'Affiliate
';
|
251 |
|
$u
ser =
'aff';
|
|
251 |
|
$u
ser =
'aff';
|
252 |
|
}
|
|
252 |
|
}
|
253 |
|
elseif
($logged['
moderator'
])
|
|
253 |
|
elseif
($logged['
moderator'
])
|
254 |
|
{
|
|
254 |
|
{
|
255 |
|
$l
ogo_alt =
'Moderator
';
|
|
255 |
|
$l
ogo_alt =
'Moderator
';
|
256 |
|
$u
ser =
'moderator
';
|
|
256 |
|
$u
ser =
'moderator
';
|
257 |
|
}
|
|
257 |
|
}
|
258 |
|
|
|
258 |
|
|
259 |
|
$selfC
ateg =
0;
|
|
259 |
|
$selfC
ateg =
0;
|
260 |
|
$selfC
ategIcon =
'';
|
|
260 |
|
$selfC
ategIcon =
'';
|
261 |
|
|
|
261 |
|
|
262 |
|
$self
= basename
( $_SERVER
['PHP_SELF
'] );
|
|
262 |
|
$self
= basename
( $_SERVER
['PHP_SELF
'] );
|
263 |
|
|
|
263 |
|
|
264 |
|
if( $s
elf != 'in
dex.php' )
|
|
264 |
|
if( $s
elf != 'in
dex.php' )
|
265 |
|
{
|
|
265 |
|
{
|
266 |
|
$a
SelfCateg
= db_assoc
_arr( "
|
|
266 |
|
$a
SelfCateg
= db_assoc
_arr( "
|
267 |
|
SELECT
|
|
267 |
|
SELECT
|
268 |
|
`Cat
eg`,
|
|
268 |
|
`Cat
eg`,
|
269 |
|
`Adm
inMenuCate
g`.`Icon`
|
|
269 |
|
`Adm
inMenuCate
g`.`Icon`
|
270 |
|
FROM `Ad
minMenu`
|
|
270 |
|
FROM `Ad
minMenu`
|
271 |
|
LEFT JOI
N `AdminMe
nuCateg` O
N
|
|
271 |
|
LEFT JOI
N `AdminMe
nuCateg` O
N
|
272 |
|
`Adm
inMenuCate
g`.`ID` =
`AdminMenu
`.`Categ`
|
|
272 |
|
`Adm
inMenuCate
g`.`ID` =
`AdminMenu
`.`Categ`
|
273 |
|
WHERE
|
|
273 |
|
WHERE
|
274 |
|
RIGH
T(`Url`, "
.strlen($s
elf).")='$
self' AND
|
|
274 |
|
RIGH
T(`Url`, "
.strlen($s
elf).")='$
self' AND
|
275 |
|
`Use
r`='$user'
|
|
275 |
|
`Use
r`='$user'
|
276 |
|
" );
|
|
276 |
|
" );
|
277 |
|
|
|
277 |
|
|
278 |
|
$s
elfCateg
= (int)
$aSelfCate
g['Categ']
;
|
|
278 |
|
$s
elfCateg
= (int)
$aSelfCate
g['Categ']
;
|
279 |
|
$s
elfCategIc
on = $aSel
fCateg['Ic
on'];
|
|
279 |
|
$s
elfCategIc
on = $aSel
fCateg['Ic
on'];
|
280 |
|
}
|
|
280 |
|
}
|
281 |
|
else
|
|
281 |
|
else
|
282 |
|
{
|
|
282 |
|
{
|
283 |
|
$a
dmin_categ
= (int)$_
GET['admin
_categ'];
|
|
283 |
|
$a
dmin_categ
= (int)$_
GET['admin
_categ'];
|
284 |
|
|
|
284 |
|
|
285 |
|
if
( $admin_c
ateg )
|
|
285 |
|
if
( $admin_c
ateg )
|
286 |
|
{
|
|
286 |
|
{
|
287 |
|
$aSelfCa
teg = db_a
ssoc_arr(
"
|
|
287 |
|
$aSelfCa
teg = db_a
ssoc_arr(
"
|
288 |
|
SELE
CT
|
|
288 |
|
SELE
CT
|
289 |
|
`ID`,
|
|
289 |
|
`ID`,
|
290 |
|
`Title`,
|
|
290 |
|
`Title`,
|
291 |
|
`Icon`
|
|
291 |
|
`Icon`
|
292 |
|
FROM
`AdminMen
uCateg`
|
|
292 |
|
FROM
`AdminMen
uCateg`
|
293 |
|
WHER
E
|
|
293 |
|
WHER
E
|
294 |
|
`ID`=$admi
n_categ AN
D
|
|
294 |
|
`ID`=$admi
n_categ AN
D
|
295 |
|
`User`='$u
ser'
|
|
295 |
|
`User`='$u
ser'
|
296 |
|
" );
|
|
296 |
|
" );
|
297 |
|
|
|
297 |
|
|
298 |
|
if( $aSe
lfCateg )
|
|
298 |
|
if( $aSe
lfCateg )
|
299 |
|
{
|
|
299 |
|
{
|
300 |
|
$sel
fCateg
= (int)
$aSelfCate
g['ID'];
|
|
300 |
|
$sel
fCateg
= (int)
$aSelfCate
g['ID'];
|
301 |
|
$sel
fCategIcon
= $aSel
fCateg['Ic
on'];
|
|
301 |
|
$sel
fCategIcon
= $aSel
fCateg['Ic
on'];
|
302 |
|
$_pa
ge['header
'] = $aSel
fCateg['Ti
tle'];
|
|
302 |
|
$_pa
ge['header
'] = $aSel
fCateg['Ti
tle'];
|
303 |
|
}
|
|
303 |
|
}
|
304 |
|
}
|
|
304 |
|
}
|
305 |
|
}
|
|
305 |
|
}
|
306 |
|
|
|
306 |
|
|
307 |
|
?>
|
|
307 |
|
?>
|
308 |
|
<!DOCTYPE
html PUBLI
C "-//W3C/
/DTD XHTML
1.0 Trans
itional//E
N" "http:/
/www.w3.or
g/TR/xhtml
1/DTD/xhtm
l1-transit
ional.dtd"
>
|
|
308 |
|
<!DOCTYPE
html PUBLI
C "-//W3C/
/DTD XHTML
1.0 Trans
itional//E
N" "http:/
/www.w3.or
g/TR/xhtml
1/DTD/xhtm
l1-transit
ional.dtd"
>
|
309 |
|
<html xmln
s="http://
www.w3.org
/1999/xhtm
l" xml:lan
g="en-US"
lang="en-U
S">
|
|
309 |
|
<html xmln
s="http://
www.w3.org
/1999/xhtm
l" xml:lan
g="en-US"
lang="en-U
S">
|
310 |
|
<head>
|
|
310 |
|
<head>
|
311 |
|
<t
itle>Admin
panel: <?
php echo $
_page['hea
der']; ?>
</title>
|
|
311 |
|
<t
itle>Admin
panel: <?
php echo $
_page['hea
der']; ?>
</title>
|
312 |
|
<m
eta http-e
quiv="Cont
ent-Type"
content="t
ext/html;
charset=UT
F-8" />
|
|
312 |
|
<m
eta http-e
quiv="Cont
ent-Type"
content="t
ext/html;
charset=UT
F-8" />
|
313 |
|
<l
ink rel="s
tylesheet"
href="<?=
$site['pl
ugins'] ?>
calendar/c
alendar_th
emes/aqua.
css" type=
"text/css"
/>
|
|
313 |
|
<l
ink rel="s
tylesheet"
href="<?=
$site['pl
ugins'] ?>
calendar/c
alendar_th
emes/aqua.
css" type=
"text/css"
/>
|
314 |
|
<l
ink href="
<?= $site[
'url_admin
'] ?>style
s/general.
css" rel="
stylesheet
" type="te
xt/css" />
|
|
314 |
|
<l
ink href="
<?= $site[
'url_admin
'] ?>style
s/general.
css" rel="
stylesheet
" type="te
xt/css" />
|
315 |
|
<?
|
|
315 |
|
<?
|
316 |
|
if( st
rlen($_pag
e['css_nam
e']) and f
ile_exists
( "{$dir['
root']}{$a
dmin_dir}/
styles/{$_
page['css_
name']}" )
)
|
|
316 |
|
if( st
rlen($_pag
e['css_nam
e']) and f
ile_exists
( "{$dir['
root']}{$a
dmin_dir}/
styles/{$_
page['css_
name']}" )
)
|
317 |
|
{
|
|
317 |
|
{
|
318 |
|
?>
|
|
318 |
|
?>
|
319 |
|
<l
ink href="
styles/<?=
$_page['cs
s_name']?>
" rel="sty
lesheet" t
ype="text/
css" />
|
|
319 |
|
<l
ink href="
styles/<?=
$_page['cs
s_name']?>
" rel="sty
lesheet" t
ype="text/
css" />
|
320 |
|
<l
ink href="
styles/<?=
$_page['cs
s_name2']?
>" rel="st
ylesheet"
type="text
/css" />
|
|
320 |
|
<l
ink href="
styles/<?=
$_page['cs
s_name2']?
>" rel="st
ylesheet"
type="text
/css" />
|
321 |
|
<?
|
|
321 |
|
<?
|
322 |
|
}
|
|
322 |
|
}
|
323 |
|
?>
|
|
323 |
|
?>
|
324 |
|
|
|
324 |
|
|
325 |
|
<?
= getRayIn
tegrationJ
S() ?>
|
|
325 |
|
<?
= getRayIn
tegrationJ
S() ?>
|
326 |
|
|
|
326 |
|
|
327 |
|
<s
cript src=
"<?=$site[
'url']?>in
c/js/funct
ions.js" t
ype="text/
javascript
" language
="javascri
pt"></scri
pt>
|
|
327 |
|
<s
cript src=
"<?=$site[
'url']?>in
c/js/funct
ions.js" t
ype="text/
javascript
" language
="javascri
pt"></scri
pt>
|
328 |
|
<s
cript src=
"<?=$site[
'url']?>pl
ugins/jque
ry/jquery.
js" type="
text/javas
cript" lan
guage="jav
ascript"><
/script>
|
|
328 |
|
<s
cript src=
"<?=$site[
'url']?>pl
ugins/jque
ry/jquery.
js" type="
text/javas
cript" lan
guage="jav
ascript"><
/script>
|
329 |
|
|
|
329 |
|
|
330 |
|
<!
--[if lt I
E 7.]>
|
|
330 |
|
<!
--[if lt I
E 7.]>
|
331 |
|
<s
cript defe
r type="te
xt/javascr
ipt">
|
|
331 |
|
<s
cript defe
r type="te
xt/javascr
ipt">
|
332 |
|
var site
_url = '<?
=$site['ur
l']?>';
|
|
332 |
|
var site
_url = '<?
=$site['ur
l']?>';
|
333 |
|
</
script>
|
|
333 |
|
</
script>
|
334 |
|
<s
cript defe
r type="te
xt/javascr
ipt" src="
../inc/js/
pngfix.js"
></script>
|
|
334 |
|
<s
cript defe
r type="te
xt/javascr
ipt" src="
../inc/js/
pngfix.js"
></script>
|
335 |
|
<!
[endif]-->
|
|
335 |
|
<!
[endif]-->
|
336 |
|
|
|
336 |
|
|
337 |
|
<?
|
|
337 |
|
<?
|
338 |
|
if ( s
trlen($_pa
ge['js_nam
e']) )
|
|
338 |
|
if ( s
trlen($_pa
ge['js_nam
e']) )
|
339 |
|
{
|
|
339 |
|
{
|
340 |
|
ec
ho <<<EOJ
|
|
340 |
|
ec
ho <<<EOJ
|
341 |
|
<script ty
pe="text/j
avascript"
>
|
|
341 |
|
<script ty
pe="text/j
avascript"
>
|
342 |
|
<!--
|
|
342 |
|
<!--
|
343 |
|
var si
te_url = '
{$site['ur
l']}';
|
|
343 |
|
var si
te_url = '
{$site['ur
l']}';
|
344 |
|
var la
ng_delete
= 'delete'
;
|
|
344 |
|
var la
ng_delete
= 'delete'
;
|
345 |
|
var la
ng_loading
= 'loadin
g ...';
|
|
345 |
|
var la
ng_loading
= 'loadin
g ...';
|
346 |
|
var la
ng_delete_
message =
'Poll succ
essfully d
eleted';
|
|
346 |
|
var la
ng_delete_
message =
'Poll succ
essfully d
eleted';
|
347 |
|
var la
ng_make_it
= 'make i
t';
|
|
347 |
|
var la
ng_make_it
= 'make i
t';
|
348 |
|
-->
|
|
348 |
|
-->
|
349 |
|
</script>
|
|
349 |
|
</script>
|
350 |
|
<script sr
c="{$site[
'url']}inc
/js/{$_pag
e['js_name
']}" type=
"text/java
script" la
nguage="ja
vascript">
</script>
|
|
350 |
|
<script sr
c="{$site[
'url']}inc
/js/{$_pag
e['js_name
']}" type=
"text/java
script" la
nguage="ja
vascript">
</script>
|
351 |
|
EOJ;
|
|
351 |
|
EOJ;
|
352 |
|
}
|
|
352 |
|
}
|
353 |
|
?>
|
|
353 |
|
?>
|
354 |
|
<?
= $_page['
extraCodeI
nHead']; ?
>
|
|
354 |
|
<?
= $_page['
extraCodeI
nHead']; ?
>
|
355 |
|
</head
>
|
|
355 |
|
</head
>
|
356 |
|
<body
id="admin_
cont">
|
|
356 |
|
<body
id="admin_
cont">
|
357 |
|
<d
iv id="Flo
atDesc"></
div>
|
|
357 |
|
<d
iv id="Flo
atDesc"></
div>
|
358 |
|
<?
= $_page['
extraCodeI
nBody']; ?
>
|
|
358 |
|
<?
= $_page['
extraCodeI
nBody']; ?
>
|
359 |
|
<?
= $extraCo
deInBody ?
>
|
|
359 |
|
<?
= $extraCo
deInBody ?
>
|
360 |
|
|
|
360 |
|
|
361 |
|
<?
|
|
361 |
|
<?
|
362 |
|
if( $l
ogged['adm
in'] || $l
ogged['aff
'] || $log
ged['moder
ator'] )
|
|
362 |
|
if( $l
ogged['adm
in'] || $l
ogged['aff
'] || $log
ged['moder
ator'] )
|
363 |
|
{
|
|
363 |
|
{
|
364 |
|
?>
|
|
364 |
|
?>
|
365 |
|
<d
iv class="
top_header
">
|
|
365 |
|
<d
iv class="
top_header
">
|
366 |
|
|
|
366 |
|
|
367 |
|
<img src
="<?=$site
['url_admi
n']?>image
s/top_dol_
logo.png"
class="top
_logo" />
|
|
367 |
|
<img src
="<?=$site
['url_admi
n']?>image
s/top_dol_
logo.png"
class="top
_logo" />
|
368 |
|
<div cla
ss="top_he
ad_title">
|
|
368 |
|
<div cla
ss="top_he
ad_title">
|
369 |
|
<spa
n class="h
ead_blue">
|
|
369 |
|
<spa
n class="h
ead_blue">
|
370 |
|
<span clas
s="title_b
old">Dolph
in</span>
<?=$logo_a
lt?> -
|
|
370 |
|
<span clas
s="title_b
old">Dolph
in</span>
<?=$logo_a
lt?> -
|
371 |
|
</sp
an>
|
|
371 |
|
</sp
an>
|
372 |
|
<?=
$site['tit
le'] ?>
|
|
372 |
|
<?=
$site['tit
le'] ?>
|
373 |
|
</div>
|
|
373 |
|
</div>
|
374 |
|
|
|
374 |
|
|
375 |
|
<div cla
ss="boonex
_link">
|
|
375 |
|
<div cla
ss="boonex
_link">
|
376 |
|
<a h
ref="http:
//www.boon
ex.com/" t
itle="Boon
Ex - Commu
nity Softw
are Expert
s">
|
|
376 |
|
<a h
ref="http:
//www.boon
ex.com/" t
itle="Boon
Ex - Commu
nity Softw
are Expert
s">
|
377 |
|
<img src="
<?= $site[
'url_admin
'] ?>image
s/boonex.p
ng" alt="B
oonEx - Co
mmunity So
ftware Exp
erts" />
|
|
377 |
|
<img src="
<?= $site[
'url_admin
'] ?>image
s/boonex.p
ng" alt="B
oonEx - Co
mmunity So
ftware Exp
erts" />
|
378 |
|
</a>
|
|
378 |
|
</a>
|
379 |
|
</div>
|
|
379 |
|
</div>
|
380 |
|
|
|
380 |
|
|
381 |
|
</
div>
|
|
381 |
|
</
div>
|
382 |
|
|
|
382 |
|
|
383 |
|
<t
able class
="middle_w
rapper">
|
|
383 |
|
<t
able class
="middle_w
rapper">
|
384 |
|
<tr>
|
|
384 |
|
<tr>
|
385 |
|
<td
class="rig
ht_menu_wr
apper">
|
|
385 |
|
<td
class="rig
ht_menu_wr
apper">
|
386 |
|
<div class
="clear_bo
th"></div>
|
|
386 |
|
<div class
="clear_bo
th"></div>
|
387 |
|
<?=get
AdminMenu(
);?>
|
|
387 |
|
<?=get
AdminMenu(
);?>
|
388 |
|
<div class
="clear_bo
th"></div>
|
|
388 |
|
<div class
="clear_bo
th"></div>
|
389 |
|
<div style
="text-ali
gn:center;
margin:20
px;">
|
|
389 |
|
<div style
="text-ali
gn:center;
margin:20
px;">
|
390 |
|
<a hre
f="http://
www.boonex
.com/unity
/" title="
Unity - Gl
obal Commu
nity">
|
|
390 |
|
<a hre
f="http://
www.boonex
.com/unity
/" title="
Unity - Gl
obal Commu
nity">
|
391 |
|
<i
mg src="<?
= $site['u
rl_admin']
?>images/
unity_logo
.jpg" alt=
"Unity - G
lobal Comm
unity" />
|
|
391 |
|
<i
mg src="<?
= $site['u
rl_admin']
?>images/
unity_logo
.jpg" alt=
"Unity - G
lobal Comm
unity" />
|
392 |
|
</a>
|
|
392 |
|
</a>
|
393 |
|
</div>
|
|
393 |
|
</div>
|
394 |
|
<div style
="width:10
px;height:
200px;"></
div>
|
|
394 |
|
<div style
="width:10
px;height:
200px;"></
div>
|
395 |
|
</td
>
|
|
395 |
|
</td
>
|
396 |
|
|
|
396 |
|
|
397 |
|
<td
class="mai
n_cont" id
="main_con
t">
|
|
397 |
|
<td
class="mai
n_cont" id
="main_con
t">
|
398 |
|
<div class
="page_hea
der"><?=$_
page['head
er']?></di
v>
|
|
398 |
|
<div class
="page_hea
der"><?=$_
page['head
er']?></di
v>
|
399 |
|
|
|
399 |
|
|
400 |
|
<div class
="page_con
t">
|
|
400 |
|
<div class
="page_con
t">
|
401 |
|
<?
|
|
401 |
|
<?
|
402 |
|
}
|
|
402 |
|
}
|
403 |
|
}
|
|
403 |
|
}
|
404 |
|
|
|
404 |
|
|
405 |
|
function g
etAdminCat
egIndex()
|
|
405 |
|
function g
etAdminCat
egIndex()
|
406 |
|
{
|
|
406 |
|
{
|
407 |
|
global
$site;
|
|
407 |
|
global
$site;
|
408 |
|
|
|
408 |
|
|
409 |
|
$categ
= (int)$_
GET['admin
_categ'];
|
|
409 |
|
$categ
= (int)$_
GET['admin
_categ'];
|
410 |
|
|
|
410 |
|
|
411 |
|
$rItem
s = db_res
( "SELECT
`Title`, `
Url`, `Des
c`, `Check
` FROM `Ad
minMenu` W
HERE `Cate
g`=$categ
ORDER BY `
Order`" );
|
|
411 |
|
$rItem
s = db_res
( "SELECT
`Title`, `
Url`, `Des
c`, `Check
` FROM `Ad
minMenu` W
HERE `Cate
g`=$categ
ORDER BY `
Order`" );
|
412 |
|
|
|
412 |
|
|
413 |
|
while(
$aItem =
mysql_fetc
h_assoc( $
rItems ) )
|
|
413 |
|
while(
$aItem =
mysql_fetc
h_assoc( $
rItems ) )
|
414 |
|
{
|
|
414 |
|
{
|
415 |
|
if
( strlen(
$aItem['Ch
eck'] ) )
|
|
415 |
|
if
( strlen(
$aItem['Ch
eck'] ) )
|
416 |
|
{
|
|
416 |
|
{
|
417 |
|
$func =
create_fun
ction( '',
$aItem['C
heck'] );
|
|
417 |
|
$func =
create_fun
ction( '',
$aItem['C
heck'] );
|
418 |
|
if( !$fu
nc() )
|
|
418 |
|
if( !$fu
nc() )
|
419 |
|
cont
inue;
|
|
419 |
|
cont
inue;
|
420 |
|
|
|
420 |
|
|
421 |
|
}
|
|
421 |
|
}
|
422 |
|
|
|
422 |
|
|
423 |
|
if
( substr(
$aItem['Ur
l'], 0, st
rlen( 'jav
ascript:'
) ) == 'ja
vascript:'
) // smil
e :))
|
|
423 |
|
if
( substr(
$aItem['Ur
l'], 0, st
rlen( 'jav
ascript:'
) ) == 'ja
vascript:'
) // smil
e :))
|
424 |
|
{
|
|
424 |
|
{
|
425 |
|
$href =
'javascrip
t:void(0);
';
|
|
425 |
|
$href =
'javascrip
t:void(0);
';
|
426 |
|
$onclick
= 'onclic
k="' . $aI
tem['Url']
. '"';
|
|
426 |
|
$onclick
= 'onclic
k="' . $aI
tem['Url']
. '"';
|
427 |
|
|
|
427 |
|
|
428 |
|
$aAdmin
= db_arr(
"SELECT *
FROM `Admi
ns` LIMIT
1" );
|
|
428 |
|
$aAdmin
= db_arr(
"SELECT *
FROM `Admi
ns` LIMIT
1" );
|
429 |
|
$onclick
= str_rep
lace( '{ad
minLogin}'
, $aAdmin[
'Name'],
$oncl
ick );
|
|
429 |
|
$onclick
= str_rep
lace( '{ad
minLogin}'
, $aAdmin[
'Name'],
$oncl
ick );
|
430 |
|
$onclick
= str_rep
lace( '{ad
minPass}',
$aAdmin[
'Password'
], $onclic
k );
|
|
430 |
|
$onclick
= str_rep
lace( '{ad
minPass}',
$aAdmin[
'Password'
], $onclic
k );
|
431 |
|
}
|
|
431 |
|
}
|
432 |
|
el
se
|
|
432 |
|
el
se
|
433 |
|
{
|
|
433 |
|
{
|
434 |
|
$href =
$site['url
_admin'] .
$aItem['U
rl'];
|
|
434 |
|
$href =
$site['url
_admin'] .
$aItem['U
rl'];
|
435 |
|
$onclick
= '';
|
|
435 |
|
$onclick
= '';
|
436 |
|
}
|
|
436 |
|
}
|
437 |
|
|
|
437 |
|
|
438 |
|
?>
|
|
438 |
|
?>
|
439 |
|
<div cla
ss="admin_
categ_item
">
|
|
439 |
|
<div cla
ss="admin_
categ_item
">
|
440 |
|
|
|
440 |
|
|
441 |
|
<img
src="<?=$
site['url_
admin']?>i
mages/list
.gif" />
|
|
441 |
|
<img
src="<?=$
site['url_
admin']?>i
mages/list
.gif" />
|
442 |
|
<div
class="ad
min_categ_
item_link"
><a href="
<?=$href?>
" <?=$oncl
ick?>><?=
$aItem['Ti
tle'] ?></
a></div>
|
|
442 |
|
<div
class="ad
min_categ_
item_link"
><a href="
<?=$href?>
" <?=$oncl
ick?>><?=
$aItem['Ti
tle'] ?></
a></div>
|
443 |
|
<div
class="ad
min_categ_
item_desc"
><?=$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|
|
|
455 |
|
|
456 |
|
|
|
456 |
|
|
457 |
|
/**
|
|
457 |
|
/**
|
458 |
|
* Put top
code for
the admin
section
|
|
458 |
|
* Put top
code for
the admin
section
|
459 |
|
**/
|
|
459 |
|
**/
|
460 |
|
|
|
460 |
|
|
461 |
|
function B
ottomCode(
)
|
|
461 |
|
function B
ottomCode(
)
|
462 |
|
{
|
|
462 |
|
{
|
463 |
|
global
$logged;
|
|
463 |
|
global
$logged;
|
464 |
|
global
$site;
|
|
464 |
|
global
$site;
|
465 |
|
|
|
465 |
|
|
466 |
|
if( $l
ogged['adm
in'] || $l
ogged['aff
'] || $log
ged['moder
ator'] )
|
|
466 |
|
if( $l
ogged['adm
in'] || $l
ogged['aff
'] || $log
ged['moder
ator'] )
|
467 |
|
{
|
|
467 |
|
{
|
468 |
|
?>
|
|
468 |
|
?>
|
469 |
|
</div>
|
|
469 |
|
</div>
|
470 |
|
</td
>
|
|
470 |
|
</td
>
|
471 |
|
</tr>
|
|
471 |
|
</tr>
|
472 |
|
</
table>
|
|
472 |
|
</
table>
|
473 |
|
|
|
473 |
|
|
474 |
|
<d
iv class="
bottom_con
t">
|
|
474 |
|
<d
iv class="
bottom_con
t">
|
475 |
|
Powe
red by <a
href="http
://www.boo
nex.com" t
arget="_bl
ank">Dolph
in Smart C
ommunity B
uilder</a>
|
|
|
475 |
|
Powe
red by <a
href="http
://www.boo
nex.com" t
arget="_bl
ank">Dolph
in Smart C
ommunity B
uilder</a>
|
|
476 |
|
<a r
el="licens
e" href="h
ttp://crea
tivecommon
s.org/lice
nses/by/3.
0/">
|
|
476 |
|
<a r
el="licens
e" href="h
ttp://crea
tivecommon
s.org/lice
nses/by/3.
0/">
|
477 |
|
<img alt="
Creative C
ommons Lic
ense" styl
e="border:
none;verti
cal-align:
middle;" s
rc="http:/
/i.creativ
ecommons.o
rg/l/by/3.
0/80x15.pn
g" />
|
|
477 |
|
<img alt="
Creative C
ommons Lic
ense" styl
e="border:
none;verti
cal-align:
middle;" s
rc="http:/
/i.creativ
ecommons.o
rg/l/by/3.
0/80x15.pn
g" />
|
478 |
|
</a>
<br />
|
|
478 |
|
</a>
<br />
|
479 |
|
&cop
y; 2007 Bo
onEx Commu
nity Softw
are Expert
s<br />
|
|
479 |
|
&cop
y; 2007 Bo
onEx Commu
nity Softw
are Expert
s<br />
|
480 |
|
</
div>
|
|
480 |
|
</
div>
|
481 |
|
<?
|
|
481 |
|
<?
|
482 |
|
}
|
|
482 |
|
}
|
483 |
|
?>
|
|
483 |
|
?>
|
484 |
|
</body
>
|
|
484 |
|
</body
>
|
485 |
|
</html
>
|
|
485 |
|
</html
>
|
486 |
|
<?
|
|
486 |
|
<?
|
487 |
|
exit;
|
|
487 |
|
exit;
|
488 |
|
}
|
|
488 |
|
}
|
489 |
|
|
|
489 |
|
|
490 |
|
function C
ontentBloc
kHead( $ti
tle, $atte
ntion = 0,
$id = ''
)
|
|
490 |
|
function C
ontentBloc
kHead( $ti
tle, $atte
ntion = 0,
$id = ''
)
|
491 |
|
{
|
|
491 |
|
{
|
492 |
|
$id =
( $id ) ?
"id=\"{$id
}\"" : '';
|
|
492 |
|
$id =
( $id ) ?
"id=\"{$id
}\"" : '';
|
493 |
|
|
|
493 |
|
|
494 |
|
?>
|
|
494 |
|
?>
|
495 |
|
<div c
lass="admi
n_block" <
?=$id?>>
|
|
495 |
|
<div c
lass="admi
n_block" <
?=$id?>>
|
496 |
|
<d
iv class="
block_head
"><?=$titl
e?></div>
|
|
496 |
|
<d
iv class="
block_head
"><?=$titl
e?></div>
|
497 |
|
<d
iv class="
block_cont
">
|
|
497 |
|
<d
iv class="
block_cont
">
|
498 |
|
<?
|
|
498 |
|
<?
|
499 |
|
}
|
|
499 |
|
}
|
500 |
|
|
|
500 |
|
|
501 |
|
function C
ontentBloc
kFoot()
|
|
501 |
|
function C
ontentBloc
kFoot()
|
502 |
|
{
|
|
502 |
|
{
|
503 |
|
?>
|
|
503 |
|
?>
|
504 |
|
</
div>
|
|
504 |
|
</
div>
|
505 |
|
</div>
|
|
505 |
|
</div>
|
506 |
|
<?
|
|
506 |
|
<?
|
507 |
|
}
|
|
507 |
|
}
|
508 |
|
|
|
508 |
|
|
509 |
|
|
|
509 |
|
|
510 |
|
function P
opupPageTe
mplate($ti
tle, $body
, $script
= '', $sty
les = '')
|
|
510 |
|
function P
opupPageTe
mplate($ti
tle, $body
, $script
= '', $sty
les = '')
|
511 |
|
{
|
|
511 |
|
{
|
512 |
|
ob_sta
rt();
|
|
512 |
|
ob_sta
rt();
|
513 |
|
?>
|
|
513 |
|
?>
|
514 |
|
<!DOCTYPE
html PUBLI
C "-//W3C/
/DTD XHTML
1.0 Trans
itional//E
N" "http:/
/www.w3.or
g/TR/xhtml
1/DTD/xhtm
l1-transit
ional.dtd"
>
|
|
514 |
|
<!DOCTYPE
html PUBLI
C "-//W3C/
/DTD XHTML
1.0 Trans
itional//E
N" "http:/
/www.w3.or
g/TR/xhtml
1/DTD/xhtm
l1-transit
ional.dtd"
>
|
515 |
|
<html>
|
|
515 |
|
<html>
|
516 |
|
<head>
|
|
516 |
|
<head>
|
517 |
|
<meta
http-equiv
="Content-
Type" cont
ent="text/
html; char
set=utf-8"
/>
|
|
517 |
|
<meta
http-equiv
="Content-
Type" cont
ent="text/
html; char
set=utf-8"
/>
|
518 |
|
<title
><?= $titl
e ?></titl
e>
|
|
518 |
|
<title
><?= $titl
e ?></titl
e>
|
519 |
|
<style
type="tex
t/css">
|
|
519 |
|
<style
type="tex
t/css">
|
520 |
|
table
|
|
520 |
|
table
|
521 |
|
{
|
|
521 |
|
{
|
522 |
|
fo
nt-family:
Arial;
|
|
522 |
|
fo
nt-family:
Arial;
|
523 |
|
fo
nt-size: 1
2px;
|
|
523 |
|
fo
nt-size: 1
2px;
|
524 |
|
wi
dth: 100%;
|
|
524 |
|
wi
dth: 100%;
|
525 |
|
}
|
|
525 |
|
}
|
526 |
|
|
|
526 |
|
|
527 |
|
table
td
|
|
527 |
|
table
td
|
528 |
|
{
|
|
528 |
|
{
|
529 |
|
ba
ckground-c
olor: #e6e
6e6;
|
|
529 |
|
ba
ckground-c
olor: #e6e
6e6;
|
530 |
|
pa
dding: 3px
;
|
|
530 |
|
pa
dding: 3px
;
|
531 |
|
ma
rgin: 2px;
|
|
531 |
|
ma
rgin: 2px;
|
532 |
|
}
|
|
532 |
|
}
|
533 |
|
<?= $style
s ?>
|
|
533 |
|
<?= $style
s ?>
|
534 |
|
</styl
e>
|
|
534 |
|
</styl
e>
|
535 |
|
<scrip
t type="te
xt/javascr
ipt">
|
|
535 |
|
<scrip
t type="te
xt/javascr
ipt">
|
536 |
|
<!--
|
|
536 |
|
<!--
|
537 |
|
<?= $s
cript ?>
|
|
537 |
|
<?= $s
cript ?>
|
538 |
|
-->
|
|
538 |
|
-->
|
539 |
|
</scri
pt>
|
|
539 |
|
</scri
pt>
|
540 |
|
</head>
|
|
540 |
|
</head>
|
541 |
|
<body>
|
|
541 |
|
<body>
|
542 |
|
<?= $body
?>
|
|
542 |
|
<?= $body
?>
|
543 |
|
</body>
|
|
543 |
|
</body>
|
544 |
|
</html>
|
|
544 |
|
</html>
|
545 |
|
<?
|
|
545 |
|
<?
|
546 |
|
$conte
nts = ob_g
et_content
s();
|
|
546 |
|
$conte
nts = ob_g
et_content
s();
|
547 |
|
ob_end
_clean();
|
|
547 |
|
ob_end
_clean();
|
548 |
|
return
$contents
;
|
|
548 |
|
return
$contents
;
|
549 |
|
}
|
|
549 |
|
}
|
550 |
|
|
|
550 |
|
|
551 |
|
function M
sgBoxAdm(
$text )
|
|
551 |
|
function M
sgBoxAdm(
$text )
|
552 |
|
{
|
|
552 |
|
{
|
553 |
|
global
$site;
|
|
553 |
|
global
$site;
|
554 |
|
global
$tmpl;
|
|
554 |
|
global
$tmpl;
|
555 |
|
|
|
555 |
|
|
556 |
|
ob_sta
rt();
|
|
556 |
|
ob_sta
rt();
|
557 |
|
?>
|
|
557 |
|
?>
|
558 |
|
<t
able class
="MsgBox"
cellpaddin
g="0" cell
spacing="0
">
|
|
558 |
|
<t
able class
="MsgBox"
cellpaddin
g="0" cell
spacing="0
">
|
559 |
|
<tr>
|
|
559 |
|
<tr>
|
560 |
|
<td
class="cor
der"><img
src="<?= "
{$site['ur
l_admin']}
images/msg
box_cor_lt
.png" ?>"
/></td>
|
|
560 |
|
<td
class="cor
der"><img
src="<?= "
{$site['ur
l_admin']}
images/msg
box_cor_lt
.png" ?>"
/></td>
|
561 |
|
<td
class="top
_side"><im
g src="<?=
"{$site['
url_admin'
]}images/s
pacer.gif"
?>" alt="
" /></td>
|
|
561 |
|
<td
class="top
_side"><im
g src="<?=
"{$site['
url_admin'
]}images/s
pacer.gif"
?>" alt="
" /></td>
|
562 |
|
<td
class="cor
der"><img
src="<?= "
{$site['ur
l_admin']}
images/msg
box_cor_rt
.png" ?>"
/></td>
|
|
562 |
|
<td
class="cor
der"><img
src="<?= "
{$site['ur
l_admin']}
images/msg
box_cor_rt
.png" ?>"
/></td>
|
563 |
|
</tr>
|
|
563 |
|
</tr>
|
564 |
|
<tr>
|
|
564 |
|
<tr>
|
565 |
|
<td
class="lef
t_side"><i
mg src="<?
= "{$site[
'url_admin
']}images/
spacer.gif
" ?>" alt=
"" /></td>
|
|
565 |
|
<td
class="lef
t_side"><i
mg src="<?
= "{$site[
'url_admin
']}images/
spacer.gif
" ?>" alt=
"" /></td>
|
566 |
|
<td
class="msg
box_conten
t"><div cl
ass="msgbo
x_text"><?
= $text ?>
</div></td
>
|
|
566 |
|
<td
class="msg
box_conten
t"><div cl
ass="msgbo
x_text"><?
= $text ?>
</div></td
>
|
567 |
|
<td
class="rig
ht_side"><
img src="<
?= "{$site
['url_admi
n']}images
/spacer.gi
f" ?>" alt
="" /></td
>
|
|
567 |
|
<td
class="rig
ht_side"><
img src="<
?= "{$site
['url_admi
n']}images
/spacer.gi
f" ?>" alt
="" /></td
>
|
568 |
|
</tr>
|
|
568 |
|
</tr>
|
569 |
|
<tr>
|
|
569 |
|
<tr>
|
570 |
|
<td
class="cor
ner"><img
src="<?= "
{$site['ur
l_admin']}
images/msg
box_cor_lb
.png" ?>"
/></td>
|
|
570 |
|
<td
class="cor
ner"><img
src="<?= "
{$site['ur
l_admin']}
images/msg
box_cor_lb
.png" ?>"
/></td>
|
571 |
|
<td
class="bot
tom_side">
<img src="
<?= "{$sit
e['url_adm
in']}image
s/spacer.g
if" ?>" al
t="" /></t
d>
|
|
571 |
|
<td
class="bot
tom_side">
<img src="
<?= "{$sit
e['url_adm
in']}image
s/spacer.g
if" ?>" al
t="" /></t
d>
|
572 |
|
<td
class="cor
ner"><img
src="<?= "
{$site['ur
l_admin']}
images/msg
box_cor_rb
.png" ?>"
/></td>
|
|
572 |
|
<td
class="cor
ner"><img
src="<?= "
{$site['ur
l_admin']}
images/msg
box_cor_rb
.png" ?>"
/></td>
|
573 |
|
</tr>
|
|
573 |
|
</tr>
|
574 |
|
</
table>
|
|
574 |
|
</
table>
|
575 |
|
<?
|
|
575 |
|
<?
|
576 |
|
|
|
576 |
|
|
577 |
|
return
ob_get_cl
ean();
|
|
577 |
|
return
ob_get_cl
ean();
|
578 |
|
}
|
|
578 |
|
}
|
579 |
|
|
|
579 |
|
|
580 |
|
|
|
580 |
|
|
581 |
|
function T
opCodeAdmi
nPopup() {
|
|
581 |
|
function T
opCodeAdmi
nPopup() {
|
582 |
|
global
$site;
|
|
582 |
|
global
$site;
|
583 |
|
global
$_page;
|
|
583 |
|
global
$_page;
|
584 |
|
|
|
584 |
|
|
585 |
|
?>
|
|
585 |
|
?>
|
586 |
|
<!DOCTYPE
html PUBLI
C "-//W3C/
/DTD XHTML
1.0 Trans
itional//E
N" "http:/
/www.w3.or
g/TR/xhtml
1/DTD/xhtm
l1-transit
ional.dtd"
>
|
|
586 |
|
<!DOCTYPE
html PUBLI
C "-//W3C/
/DTD XHTML
1.0 Trans
itional//E
N" "http:/
/www.w3.or
g/TR/xhtml
1/DTD/xhtm
l1-transit
ional.dtd"
>
|
587 |
|
<html xmln
s="http://
www.w3.org
/1999/xhtm
l" xml:lan
g="en-US"
lang="en-U
S">
|
|
587 |
|
<html xmln
s="http://
www.w3.org
/1999/xhtm
l" xml:lan
g="en-US"
lang="en-U
S">
|
588 |
|
<head>
|
|
588 |
|
<head>
|
589 |
|
<t
itle><?= $
_page['hea
der'] ?></
title>
|
|
589 |
|
<t
itle><?= $
_page['hea
der'] ?></
title>
|
590 |
|
<m
eta http-e
quiv="Cont
ent-Type"
content="t
ext/html;
charset=UT
F-8" />
|
|
590 |
|
<m
eta http-e
quiv="Cont
ent-Type"
content="t
ext/html;
charset=UT
F-8" />
|
591 |
|
<l
ink rel="s
tylesheet"
href="<?=
$site['pl
ugins'] ?>
calendar/c
alendar_th
emes/aqua.
css" type=
"text/css"
/>
|
|
591 |
|
<l
ink rel="s
tylesheet"
href="<?=
$site['pl
ugins'] ?>
calendar/c
alendar_th
emes/aqua.
css" type=
"text/css"
/>
|
592 |
|
<l
ink href="
<?= $site[
'url_admin
'] ?>style
s/general.
css" rel="
stylesheet
" type="te
xt/css" />
|
|
592 |
|
<l
ink href="
<?= $site[
'url_admin
'] ?>style
s/general.
css" rel="
stylesheet
" type="te
xt/css" />
|
593 |
|
<?
|
|
593 |
|
<?
|
594 |
|
if( is
set( $_pag
e['css_nam
e'] ) ) {
|
|
594 |
|
if( is
set( $_pag
e['css_nam
e'] ) ) {
|
595 |
|
?>
|
|
595 |
|
?>
|
596 |
|
<l
ink href="
styles/<?=
$_page['cs
s_name']?>
" rel="sty
lesheet" t
ype="text/
css" />
|
|
596 |
|
<l
ink href="
styles/<?=
$_page['cs
s_name']?>
" rel="sty
lesheet" t
ype="text/
css" />
|
597 |
|
<?
|
|
597 |
|
<?
|
598 |
|
}
|
|
598 |
|
}
|
599 |
|
?>
|
|
599 |
|
?>
|
600 |
|
<s
cript src=
"../inc/js
/functions
.js" type=
"text/java
script" la
nguage="ja
vascript">
</script>
|
|
600 |
|
<s
cript src=
"../inc/js
/functions
.js" type=
"text/java
script" la
nguage="ja
vascript">
</script>
|
601 |
|
<!
--[if lt I
E 7.]>
|
|
601 |
|
<!
--[if lt I
E 7.]>
|
602 |
|
<s
cript defe
r type="te
xt/javascr
ipt">
|
|
602 |
|
<s
cript defe
r type="te
xt/javascr
ipt">
|
603 |
|
var site
_url = '<?
=$site['ur
l']?>';
|
|
603 |
|
var site
_url = '<?
=$site['ur
l']?>';
|
604 |
|
</
script>
|
|
604 |
|
</
script>
|
605 |
|
<s
cript defe
r type="te
xt/javascr
ipt" src="
../inc/js/
pngfix.js"
></script>
|
|
605 |
|
<s
cript defe
r type="te
xt/javascr
ipt" src="
../inc/js/
pngfix.js"
></script>
|
606 |
|
<!
[endif]-->
|
|
606 |
|
<!
[endif]-->
|
607 |
|
|
|
607 |
|
|
608 |
|
<?
= $_page['
extraCodeI
nHead']; ?
>
|
|
608 |
|
<?
= $_page['
extraCodeI
nHead']; ?
>
|
609 |
|
</head
>
|
|
609 |
|
</head
>
|
610 |
|
<body
id="admin_
cont">
|
|
610 |
|
<body
id="admin_
cont">
|
611 |
|
<d
iv id="Flo
atDesc"></
div>
|
|
611 |
|
<d
iv id="Flo
atDesc"></
div>
|
612 |
|
<?
= $_page['
extraCodeI
nBody']; ?
>
|
|
612 |
|
<?
= $_page['
extraCodeI
nBody']; ?
>
|
613 |
|
<d
iv class="
main_cont"
id="main_
cont">
|
|
613 |
|
<d
iv class="
main_cont"
id="main_
cont">
|
614 |
|
<div cla
ss="page_h
eader"><?=
$_page['he
ader']?></
div>
|
|
614 |
|
<div cla
ss="page_h
eader"><?=
$_page['he
ader']?></
div>
|
615 |
|
<div cla
ss="page_c
ont">
|
|
615 |
|
<div cla
ss="page_c
ont">
|
616 |
|
<?
|
|
616 |
|
<?
|
617 |
|
}
|
|
617 |
|
}
|
618 |
|
|
|
618 |
|
|
619 |
|
function B
ottomCodeA
dminPopup(
)
|
|
619 |
|
function B
ottomCodeA
dminPopup(
)
|
620 |
|
{
|
|
620 |
|
{
|
621 |
|
?>
|
|
621 |
|
?>
|
622 |
|
</
div>
|
|
622 |
|
</
div>
|
623 |
|
</body
>
|
|
623 |
|
</body
>
|
624 |
|
</html
>
|
|
624 |
|
</html
>
|
625 |
|
<?
|
|
625 |
|
<?
|
626 |
|
exit;
|
|
626 |
|
exit;
|
627 |
|
}
|
|
627 |
|
}
|