No regular expressions were active.
1 |
|
<?php
|
|
|
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( BX_DIR
ECTORY_PAT
H_CLASSES
. 'BxDolMe
dia.php');
|
|
|
22 |
|
|
|
|
23 |
|
|
|
|
24 |
|
class Uplo
adVideo ex
tends BxDo
lMedia
|
|
|
25 |
|
{
|
|
|
26 |
|
functi
on UploadV
ideo( $iPr
ofileID )
|
|
|
27 |
|
{
|
|
|
28 |
|
$t
his -> sMe
diaType =
'video';
|
|
|
29 |
|
$t
his -> sSu
pportedExt
= 'avi,mo
v,mpeg,mpg
,wmv,3gp,a
sf,rm,ram,
rmv';
|
|
|
30 |
|
|
|
|
31 |
|
$t
his -> iPr
ofileID =
$iProfileI
D;
|
|
|
32 |
|
|
|
|
33 |
|
pa
rent::BxDo
lMedia();
|
|
|
34 |
|
}
|
|
|
35 |
|
}
|
|
|
36 |
|
|
|
|
37 |
|
|
|
|
38 |
|
?>
|
|
|