No regular expressions were active.
1 |
|
<?
|
|
|
2 |
|
|
|
|
3 |
|
/*********
**********
**********
**********
**********
**********
**********
******
|
|
|
4 |
|
*
D
olphin Sma
rt Communi
ty Builder
|
|
|
5 |
|
*
---------
--------
|
|
|
6 |
|
* begi
n
: M
on Mar 23
2006
|
|
|
7 |
|
* copy
right
: (
C) 2006 Bo
onEx Group
|
|
|
8 |
|
* webs
ite
: h
ttp://www.
boonex.com
/
|
|
|
9 |
|
* This fil
e is part
of Dolphin
- Smart C
ommunity B
uilder
|
|
|
10 |
|
*
|
|
|
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/
|
|
|
13 |
|
*
|
|
|
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.
|
|
|
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
,
|
|
|
18 |
|
* see lice
nse.txt fi
le; if not
, write to
marketing
@boonex.co
m
|
|
|
19 |
|
**********
**********
**********
**********
**********
**********
**********
*****/
|
|
|
20 |
|
|
|
|
21 |
|
require_on
ce( '../in
c/header.i
nc.php' );
|
|
|
22 |
|
require_on
ce( BX_DIR
ECTORY_PAT
H_INC . 'd
esign.inc.
php' );
|
|
|
23 |
|
require_on
ce( BX_DIR
ECTORY_PAT
H_INC . 'p
rofiles.in
c.php' );
|
|
|
24 |
|
require_on
ce( BX_DIR
ECTORY_PAT
H_INC . 'a
dmin_desig
n.inc.php'
);
|
|
|
25 |
|
require_on
ce( BX_DIR
ECTORY_PAT
H_INC . 'm
odules.inc
.php' );
|
|
|
26 |
|
require_on
ce( BX_DIR
ECTORY_PAT
H_INC . 'u
tils.inc.p
hp' );
|
|
|
27 |
|
|
|
|
28 |
|
$ADMIN = m
ember_auth
( 1 );
|
|
|
29 |
|
$logged['a
dmin'] = $
ADMIN;
|
|
|
30 |
|
|
|
|
31 |
|
$_page['he
ader'] = "
Modules";
|
|
|
32 |
|
$_page['he
ader_text'
] = "Modul
es";
|
|
|
33 |
|
|
|
|
34 |
|
|
|
|
35 |
|
TopCodeAdm
in();
|
|
|
36 |
|
ContentBlo
ckHead("Pl
ease Pay A
ttention")
;
|
|
|
37 |
|
?>
|
|
|
38 |
|
<span styl
e="font-we
ight:bold;
">IMPORTA
NT.</span>
You need
to have Ra
y Pro to b
e able to
use all co
mponents l
isted belo
w.
|
|
|
39 |
|
<?
|
|
|
40 |
|
ContentBlo
ckFoot();
|
|
|
41 |
|
ContentBlo
ckHead("Ra
y componen
ts");
|
|
|
42 |
|
|
|
|
43 |
|
$accredit
= db_arr(
"SELECT `N
ame`, `Pas
sword` FRO
M Admins L
IMIT 1;" )
;
|
|
|
44 |
|
$aRayCompo
nents = ar
ray(
|
|
|
45 |
|
array(
'name' =>
'Chat', 'd
ir' => 'ch
at', 'admi
n' => true
, 'lite' =
> true),
|
|
|
46 |
|
array(
'name' =>
'Instant m
essenger',
'dir' =>
'im', 'adm
in' => fal
se, 'lite'
=> true),
|
|
|
47 |
|
array(
'name' =>
'MP3 playe
r', 'dir'
=> 'mp3',
'admin' =>
false, 'l
ite' => fa
lse),
|
|
|
48 |
|
array(
'name' =>
'Presence'
, 'dir' =>
'presence
', 'admin'
=> false,
'lite' =>
true),
|
|
|
49 |
|
array(
'name' =>
'Video rec
order', 'd
ir' => 'vi
deo', 'adm
in' => fal
se, 'lite'
=> false)
|
|
|
50 |
|
);
|
|
|
51 |
|
?>
|
|
|
52 |
|
<div>
|
|
|
53 |
|
<scrip
t src="<?=
$site['ur
l']; ?>ray
/modules/g
lobal/js/i
ntegration
.js" type=
"text/java
script"
language="
javascript
"></script
>
|
|
|
54 |
|
<div><
div style=
"clear:lef
t; float:l
eft; margi
n: 5px; wi
dth:200px;
font-weig
ht:bold;""
>Name</div
><div styl
e="float:l
eft; margi
n: 5px; wi
dth:100px;
font-weig
ht:bold; t
ext-align:
center;">A
dmin panel
</div><div
style="fl
oat:left;
margin:5px
; width:10
0px; font-
weight:bol
d; text-al
ign:center
;">Status<
/div></div
>
|
|
|
55 |
|
<?
|
|
|
56 |
|
foreach($a
RayCompone
nts as $aR
ayComponen
t)
|
|
|
57 |
|
{
|
|
|
58 |
|
$bInst
alled = fi
le_exists(
$dir['root
'] . "ray/
modules/"
. $aRayCom
ponent['di
r'] . "/in
c/header.i
nc.php");
|
|
|
59 |
|
$sRes
= "<div><d
iv style=\
"clear:lef
t; float:l
eft; margi
n: 5px; wi
dth:200px;
\">" . $aR
ayComponen
t['name']
. "</div><
div style=
\"float:le
ft; margin
: 5px; wid
th:100px;
text-align
:center; \
">";
|
|
|
60 |
|
$sRes
.= (getPar
am("enable
_ray_pro")
== "on" |
| $aRayCom
ponent['li
te']) && $
aRayCompon
ent['admin
'] ? "<a h
ref=\"java
script: vo
id(0)\" on
Click=\"ja
vascript:
openRayWid
get('chat'
, 'admin',
'" . $acc
redit['Nam
e'] . "',
'" . $accr
edit['Pass
word'] . "
');\">open
</a></div>
" : "</div
>";
|
|
|
61 |
|
$sRes
.= (getPar
am("enable
_ray_pro")
== "on" |
| $aRayCom
ponent['li
te']) && $
bInstalled
? "<div s
tyle=\"flo
at:left; m
argin:5px;
width:100
px; color:
green; fon
t-weight:b
old; text-
align:cent
er;\">Inst
alled</div
></div>" :
"<div sty
le=\"float
:left; mar
gin:5px; w
idth:100px
; color:re
d; font-we
ight:bold;
text-alig
n:center;\
"><span st
yle=\"colo
r:red;\">R
ay Pro onl
y</span></
div></div>
";
|
|
|
62 |
|
echo $
sRes;
|
|
|
63 |
|
}
|
|
|
64 |
|
?>
|
|
|
65 |
|
</div>
|
|
|
66 |
|
<?
|
|
|
67 |
|
ContentBlo
ckFoot();
|
|
|
68 |
|
BottomCode
();
|
|
|
69 |
|
?>
|
|
|