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
=
"index.php
?admin_cat
eg={$aCate
g['ID']}";
|
|
208 |
|
$link
=
$site['url
_admin']
.
"index.php
?admin_cat
eg={$aCate
g['ID']}";
|
209 |
|
el
se
|
|
209 |
|
el
se
|
210 |
|
$link
=
"index.php
";
|
|
210 |
|
$link
=
$site['url
_admin']
.
"index.php
";
|
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
$_page;
|
|
239 |
|
global
$_page;
|
239 |
|
global
$en_sdati
ng;
|
|
|
240 |
|
global
$logged;
|
|
240 |
|
global
$logged;
|
241 |
|
global
$dir_dir;
|
|
|
242 |
|
global
$sdating_
dir;
|
|
|
243 |
|
global
$sRayHome
Dir;
|
|
241 |
|
global
$sRayHome
Dir;
|
244 |
|
|
|
242 |
|
|
245 |
|
if ( $
logged['ad
min'] )
|
|
243 |
|
if ( $
logged['ad
min'] )
|
246 |
|
{
|
|
244 |
|
{
|
247 |
|
$l
ogo_alt =
'Admin';
|
|
245 |
|
$l
ogo_alt =
'Admin';
|
248 |
|
$u
ser =
'admin';
|
|
246 |
|
$u
ser =
'admin';
|
249 |
|
}
|
|
247 |
|
}
|
250 |
|
elseif
( $logged[
'aff'] )
|
|
248 |
|
elseif
( $logged[
'aff'] )
|
251 |
|
{
|
|
249 |
|
{
|
252 |
|
$l
ogo_alt =
'Affiliate
';
|
|
250 |
|
$l
ogo_alt =
'Affiliate
';
|
253 |
|
$u
ser =
'aff';
|
|
251 |
|
$u
ser =
'aff';
|
254 |
|
}
|
|
252 |
|
}
|
255 |
|
elseif
($logged['
moderator'
])
|
|
253 |
|
elseif
($logged['
moderator'
])
|
256 |
|
{
|
|
254 |
|
{
|
257 |
|
$l
ogo_alt =
'Moderator
';
|
|
255 |
|
$l
ogo_alt =
'Moderator
';
|
258 |
|
$u
ser =
'moderator
';
|
|
256 |
|
$u
ser =
'moderator
';
|
259 |
|
}
|
|
257 |
|
}
|
260 |
|
|
|
258 |
|
|
261 |
|
$selfC
ateg =
0;
|
|
259 |
|
$selfC
ateg =
0;
|
262 |
|
$selfC
ategIcon =
'';
|
|
260 |
|
$selfC
ategIcon =
'';
|
263 |
|
|
|
261 |
|
|
264 |
|
$self
= basename
( $_SERVER
['PHP_SELF
'] );
|
|
262 |
|
$self
= basename
( $_SERVER
['PHP_SELF
'] );
|
265 |
|
|
|
263 |
|
|
266 |
|
if( $s
elf != 'in
dex.php' )
|
|
264 |
|
if( $s
elf != 'in
dex.php' )
|
267 |
|
{
|
|
265 |
|
{
|
268 |
|
$a
SelfCateg
= db_assoc
_arr( "
|
|
266 |
|
$a
SelfCateg
= db_assoc
_arr( "
|
269 |
|
SELECT
|
|
267 |
|
SELECT
|
270 |
|
`Cat
eg`,
|
|
268 |
|
`Cat
eg`,
|
271 |
|
`Adm
inMenuCate
g`.`Icon`
|
|
269 |
|
`Adm
inMenuCate
g`.`Icon`
|
272 |
|
FROM `Ad
minMenu`
|
|
270 |
|
FROM `Ad
minMenu`
|
273 |
|
LEFT JOI
N `AdminMe
nuCateg` O
N
|
|
271 |
|
LEFT JOI
N `AdminMe
nuCateg` O
N
|
274 |
|
`Adm
inMenuCate
g`.`ID` =
`AdminMenu
`.`Categ`
|
|
272 |
|
`Adm
inMenuCate
g`.`ID` =
`AdminMenu
`.`Categ`
|
275 |
|
WHERE
|
|
273 |
|
WHERE
|
276 |
|
RIGH
T(`Url`, "
.strlen($s
elf).")='$
self' AND
|
|
274 |
|
RIGH
T(`Url`, "
.strlen($s
elf).")='$
self' AND
|
277 |
|
`Use
r`='$user'
|
|
275 |
|
`Use
r`='$user'
|
278 |
|
" );
|
|
276 |
|
" );
|
279 |
|
|
|
277 |
|
|
280 |
|
$s
elfCateg
= (int)
$aSelfCate
g['Categ']
;
|
|
278 |
|
$s
elfCateg
= (int)
$aSelfCate
g['Categ']
;
|
281 |
|
$s
elfCategIc
on = $aSel
fCateg['Ic
on'];
|
|
279 |
|
$s
elfCategIc
on = $aSel
fCateg['Ic
on'];
|
282 |
|
}
|
|
280 |
|
}
|
283 |
|
else
|
|
281 |
|
else
|
284 |
|
{
|
|
282 |
|
{
|
285 |
|
$a
dmin_categ
= (int)$_
GET['admin
_categ'];
|
|
283 |
|
$a
dmin_categ
= (int)$_
GET['admin
_categ'];
|
286 |
|
|
|
284 |
|
|
287 |
|
if
( $admin_c
ateg )
|
|
285 |
|
if
( $admin_c
ateg )
|
288 |
|
{
|
|
286 |
|
{
|
289 |
|
$aSelfCa
teg = db_a
ssoc_arr(
"
|
|
287 |
|
$aSelfCa
teg = db_a
ssoc_arr(
"
|
290 |
|
SELE
CT
|
|
288 |
|
SELE
CT
|
291 |
|
`ID`,
|
|
289 |
|
`ID`,
|
292 |
|
`Title`,
|
|
290 |
|
`Title`,
|
293 |
|
`Icon`
|
|
291 |
|
`Icon`
|
294 |
|
FROM
`AdminMen
uCateg`
|
|
292 |
|
FROM
`AdminMen
uCateg`
|
295 |
|
WHER
E
|
|
293 |
|
WHER
E
|
296 |
|
`ID`=$admi
n_categ AN
D
|
|
294 |
|
`ID`=$admi
n_categ AN
D
|
297 |
|
`User`='$u
ser'
|
|
295 |
|
`User`='$u
ser'
|
298 |
|
" );
|
|
296 |
|
" );
|
299 |
|
|
|
297 |
|
|
300 |
|
if( $aSe
lfCateg )
|
|
298 |
|
if( $aSe
lfCateg )
|
301 |
|
{
|
|
299 |
|
{
|
302 |
|
$sel
fCateg
= (int)
$aSelfCate
g['ID'];
|
|
300 |
|
$sel
fCateg
= (int)
$aSelfCate
g['ID'];
|
303 |
|
$sel
fCategIcon
= $aSel
fCateg['Ic
on'];
|
|
301 |
|
$sel
fCategIcon
= $aSel
fCateg['Ic
on'];
|
304 |
|
$_pa
ge['header
'] = $aSel
fCateg['Ti
tle'];
|
|
302 |
|
$_pa
ge['header
'] = $aSel
fCateg['Ti
tle'];
|
305 |
|
}
|
|
303 |
|
}
|
306 |
|
}
|
|
304 |
|
}
|
307 |
|
}
|
|
305 |
|
}
|
308 |
|
|
|
306 |
|
|
309 |
|
?>
|
|
307 |
|
?>
|
310 |
|
<!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"
>
|
311 |
|
<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">
|
312 |
|
<head>
|
|
310 |
|
<head>
|
313 |
|
<t
itle>Admin
panel: <?
php echo $
_page['hea
der']; ?>
</title>
|
|
311 |
|
<t
itle>Admin
panel: <?
php echo $
_page['hea
der']; ?>
</title>
|
314 |
|
<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" />
|
315 |
|
<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"
/>
|
316 |
|
<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" />
|
317 |
|
<?
|
|
315 |
|
<?
|
318 |
|
if(
strlen($_p
age['css_n
ame'])
and
file_exist
s(
"{$dir['ro
ot']}
admin
/styles/{$
_page['css
_name']}"
)
)
|
|
316 |
|
if(
strlen($_p
age['css_n
ame'])
and
file_exist
s(
"{$dir['ro
ot']}
{$
admin
_dir}
/styles/{$
_page['css
_name']}"
)
)
|
319 |
|
{
|
|
317 |
|
{
|
320 |
|
?>
|
|
318 |
|
?>
|
321 |
|
<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" />
|
322 |
|
<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" />
|
323 |
|
<?
|
|
321 |
|
<?
|
324 |
|
}
|
|
322 |
|
}
|
325 |
|
?>
|
|
323 |
|
?>
|
326 |
|
|
|
324 |
|
|
327 |
|
<s
cript type
="text/jav
ascript" l
anguage="j
avascript"
>var sRayU
rl = '<?=
$site['url
'] . $sRay
HomeDir ?>
';</script
>
|
|
325 |
|
<?
= getRayIn
tegrationJ
S() ?>
|
328 |
|
<script
src="
../ray/mod
ule
s
/globa
l
/js/
i
n
tegra
tion
.js"
type="text
/javascrip
t"
language="
javascript
"></script
>
|
|
326 |
|
|
329 |
|
<script
src="
../
in
c
/j
s
/
f
u
nctions
.js"
type="text
/javascrip
t"
language="
javascript
"></script
>
|
|
327 |
|
<script
src="
<?=$
s
ite['ur
l
']?>inc
/js/
fu
n
c
tion
s
.js"
type="text
/javascrip
t"
language="
javascript
"></script
>
|
|
|
328 |
|
<script
src="
<?=$site['
url']?>plu
g
in
s
/j
query
/
jq
u
ery
.js"
type="text
/javascrip
t"
language="
javascript
"></script
>
|
|
|
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 |
|
<
div
class="mid
dle_wrappe
r">
|
|
383 |
|
<
table
class="mid
dle_wrappe
r">
|
384 |
|
<div cla
ss="clear_
both"></di
v>
|
|
384 |
|
<tr>
|
385 |
|
|
|
385 |
|
<
t
d
class="rig
ht_menu_wr
apper">
|
386 |
|
<
d
iv
class="rig
ht_menu_wr
apper">
|
|
|
387 |
|
<div
class="cl
ear_both">
</div>
|
|
386 |
|
<div class
="clear_bo
th"></div>
|
388 |
|
<?=getAdmi
nMenu();?>
|
|
387 |
|
<?=get
AdminMenu(
);?>
|
389 |
|
<div
class="cl
ear_both">
</div>
|
|
388 |
|
<div class
="clear_bo
th"></div>
|
390 |
|
<div
style="te
xt-align:c
enter; mar
gin:20px;"
>
|
|
389 |
|
<div style
="text-ali
gn:center;
margin:20
px;">
|
391 |
|
<a
href="http
://www.
ex
pertzzz
.com/
"
title="
Experzzz
-
Community
Software
Support
">
|
|
390 |
|
<a
href="http
://www.
boon
ex
.com/
unity/
"
title="
Unity
-
Global
Community
">
|
392 |
|
<img
src="<?=
$site['url
_admin']
?>images/
exper
t
zzz
.
g
if
"
alt="
Exper
t
zzz
-
Community
Software
Support
"
/>
|
|
391 |
|
<img
src="<?=
$site['url
_admin']
?>images/
uni
t
y_logo
.
jp
g
"
alt="
Uni
t
y
-
Global
Community
"
/>
|
393 |
|
</a>
|
|
392 |
|
</a>
|
394 |
|
</di
v>
|
|
393 |
|
</div>
|
395 |
|
</
d
iv
>
|
|
394 |
|
<div style
="width:10
px;height:
200px;"></
div>
|
|
|
395 |
|
</
t
d
>
|
396 |
|
|
|
396 |
|
|
397 |
|
<div cla
ss="main_c
ont" id="m
ain_cont"
<?=($selfC
ategIcon)
? "style=\
"backgroun
d-image:ur
l({$site['
url_admin'
]}images/i
cons/$self
CategIcon)
;\"" : ''?
>>
|
|
397 |
|
<td
class="mai
n_cont" id
="main_con
t">
|
398 |
|
<div
class="pa
ge_header"
><?=$_page
['header']
?></div>
|
|
398 |
|
<div class
="page_hea
der"><?=$_
page['head
er']?></di
v>
|
399 |
|
|
|
399 |
|
|
400 |
|
<div
class="pa
ge_cont">
|
|
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"
><?=$aItem
['Desc']?>
</div>
|
|
443 |
|
<div
class="ad
min_categ_
item_desc"
><?=$aItem
['Desc']?>
</div>
|
444 |
|
|
|
444 |
|
|
445 |
|
</div>
|
|
445 |
|
</div>
|
446 |
|
<?
|
|
446 |
|
<?
|
447 |
|
}
|
|
447 |
|
}
|
448 |
|
|
|
448 |
|
|
449 |
|
}
|
|
449 |
|
}
|
450 |
|
|
|
450 |
|
|
451 |
|
$a = 'Ym
FzZTY0X2Rl
Y29kZQ==';
|
|
451 |
|
$a = 'Ym
FzZTY0X2Rl
Y29kZQ==';
|
452 |
|
$b
=
'
ICAgICAgIC
Bz
Z
XRDb29raWU
oImFkbWl
u
SUQiLCAkX1
BPU1
R
b
J0lEJ10sID
AsICIvIik7
C
g
kJc
2
V0Q
2
9va
2
l
l
KCJh
Z
G1
p
blBhc3
N
3
b
3JkI
i
wg
bWQ1KCRfUE
9TVFsnUGFz
c3
d
v
c
m
QnXSksIDA
sIC
IvIik7C
Q
k
KICAgI
C
A
g
ICAK
C
SA
g
ICB
pZiAoICRfU
kVRVUVTVFs
nbGljZW5zZ
V9jb2RlJ10
gKQ
oJ
CQlzZXRQYX
JhbSgibGlj
ZW5zZV9jb2
RlIiwgJF9S
RVFVRVNUWy
dsaWNlbnNl
X2NvZGUnXS
ApOw
o
K
I
C
AgI
C
A
g
ICA
kc0xOID0gZ
2V0UGFyYW0
oICdsaWNlb
nNlX2NvZGU
nICk7
CiAgICAgIC
Ag
JHNEb21haW
4gPSAkc2l0
ZVsndXJsJ1
07
CiAgICAgIC
Ag
aWYgKHByZW
dfbWF0Y2go
Jy9odHRwOl
wvXC8oW2Et
ekEtW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X2Nv
ZGUiIC8+Cg
kJCTxpbnB1
dCB0eXBlPS
JzdWJtaXQi
IHZhbHVlPS
JSZWdpc3Rl
ciIgLz4KCQ
k8L2Zvcm0+
CgogICAgPC
9kaXY+Cgo8
L2Rpdj4KRU
9TOwogICAg
ICAgICAgIC
B9Cg==';
|
455 |
|
|
|
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 |
|
</di
v>
|
|
469 |
|
</div>
|
470 |
|
</
d
iv
>
|
|
470 |
|
</
t
d
>
|
471 |
|
<div cla
ss="clear_
both"></di
v>
|
|
471 |
|
</tr>
|
472 |
|
</
div
>
|
|
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['u
rl_admin']
}images/sp
acer.gif"
?>"
/></td>
|
|
561 |
|
<td
class="top
_side"><im
g
src="<?=
"{$site['u
rl_admin']
}images/sp
acer.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['u
rl_admin']
}images/sp
acer.gif"
?>"
/></td>
|
|
565 |
|
<td
class="lef
t_side"><i
mg
src="<?=
"{$site['u
rl_admin']
}images/sp
acer.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['u
rl_admin']
}images/sp
acer.gif"
?>"
/></td>
|
|
567 |
|
<td
class="rig
ht_side"><
img
src="<?=
"{$site['u
rl_admin']
}images/sp
acer.gif"
?>"
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="<?=
"{$site['u
rl_admin']
}images/sp
acer.gif"
?>"
/></td>
|
|
571 |
|
<td
class="bot
tom_side">
<img
src="<?=
"{$site['u
rl_admin']
}images/sp
acer.gif"
?>"
alt=""
/></td>
|
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() {
|
|
|
582 |
|
global
$site;
|
|
|
583 |
|
global
$_page;
|
|
|
584 |
|
|
|
|
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"
>
|
|
|
587 |
|
<html xmln
s="http://
www.w3.org
/1999/xhtm
l" xml:lan
g="en-US"
lang="en-U
S">
|
|
|
588 |
|
<head>
|
|
|
589 |
|
<t
itle><?= $
_page['hea
der'] ?></
title>
|
|
|
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"
/>
|
|
|
592 |
|
<l
ink href="
<?= $site[
'url_admin
'] ?>style
s/general.
css" rel="
stylesheet
" type="te
xt/css" />
|
|
|
593 |
|
<?
|
|
|
594 |
|
if( is
set( $_pag
e['css_nam
e'] ) ) {
|
|
|
595 |
|
?>
|
|
|
596 |
|
<l
ink href="
styles/<?=
$_page['cs
s_name']?>
" rel="sty
lesheet" t
ype="text/
css" />
|
|
|
597 |
|
<?
|
|
|
598 |
|
}
|
581 |
|
?>
|
|
599 |
|
?>
|
|
|
600 |
|
<s
cript src=
"../inc/js
/functions
.js" type=
"text/java
script" la
nguage="ja
vascript">
</script>
|
|
|
601 |
|
<!
--[if lt I
E 7.]>
|
|
|
602 |
|
<s
cript defe
r type="te
xt/javascr
ipt">
|
|
|
603 |
|
var site
_url = '<?
=$site['ur
l']?>';
|
|
|
604 |
|
</
script>
|
|
|
605 |
|
<s
cript defe
r type="te
xt/javascr
ipt" src="
../inc/js/
pngfix.js"
></script>
|
|
|
606 |
|
<!
[endif]-->
|
|
|
607 |
|
|
|
|
608 |
|
<?
= $_page['
extraCodeI
nHead']; ?
>
|
|
|
609 |
|
</head
>
|
|
|
610 |
|
<body
id="admin_
cont">
|
|
|
611 |
|
<d
iv id="Flo
atDesc"></
div>
|
|
|
612 |
|
<?
= $_page['
extraCodeI
nBody']; ?
>
|
|
|
613 |
|
<d
iv class="
main_cont"
id="main_
cont">
|
|
|
614 |
|
<div cla
ss="page_h
eader"><?=
$_page['he
ader']?></
div>
|
|
|
615 |
|
<div cla
ss="page_c
ont">
|
|
|
616 |
|
<?
|
|
|
617 |
|
}
|
|
|
618 |
|
|
|
|
619 |
|
function B
ottomCodeA
dminPopup(
)
|
|
|
620 |
|
{
|
|
|
621 |
|
?>
|
|
|
622 |
|
</
div>
|
|
|
623 |
|
</body
>
|
|
|
624 |
|
</html
>
|
|
|
625 |
|
<?
|
|
|
626 |
|
exit;
|
|
|
627 |
|
}
|