9 define(
'PROFILE_SOUND_CATEGORY',
'Profile sounds');
18 $this->aSectionsAdmin[
'processing'] = array(
'exclude_btns' =>
'all');
19 $this->aSectionsAdmin[
'failed'] = array(
20 'exclude_btns' => array(
'activate',
'deactivate',
'featured',
'unfeatured')
26 $aInfo = $this->_oDb->getFileInfo(array(
'fileId'=>(
int)
$iFileId),
false, array(
'medID',
'medProfId',
'medUri',
'albumId',
'Approved'));
30 $sPathFull = $this->_oConfig->getFilesPath() .
$aInfo[
'medID'] .
'.mp3';
31 if (file_exists($sPathFull)) {
33 header(
'Connection: close');
34 header(
'Content-Type: audio/mpeg');
35 header(
'Content-Length: ' . filesize($sPathFull));
36 header(
'Last-Modified: ' . gmdate(
'r', filemtime($sPathFull)));
37 header(
'Content-Disposition: attachment; filename="' .
$aInfo[
'medUri'] .
'.mp3";');
41 $this->_oTemplate->displayPageNotFound();
45 $this->_oTemplate->displayPageNotFound();
47 $this->_oTemplate->displayAccessDenied();
58 return parent::serviceGetMemberMenuItem ($sIcon);
62 return parent::serviceGetMemberMenuItemAddContent ($sIcon);
67 return $this->_oTemplate->getEmbedCode(
$iFileId);
96 $aInfo = $this->_oDb->getFileInfo(array(
'fileUri' => $sUri));
98 $this->_oTemplate->pageCode($this->aPageTmpl, array(
'page_main_code' =>
MsgBox(
_t(
'_sys_txt_error_you_are_blocked'))));
102 parent::actionView($sUri);
106 if (
$sParamName ==
'album' && $sParamValue1 ==
'owner') {
107 $iOwnerId =
getID($sParamValue2);
109 $this->_oTemplate->pageCode($this->aPageTmpl, array(
'page_main_code' =>
MsgBox(
_t(
'_sys_txt_error_you_are_blocked'))));
119 $iOwnerId =
getID($sParamValue1);
121 $this->_oTemplate->pageCode($this->aPageTmpl, array(
'page_main_code' =>
MsgBox(
_t(
'_sys_txt_error_you_are_blocked'))));