*
* Dolphin is free software. This work is licensed under a Creative Commons Attribution 3.0 License. 
* http://creativecommons.org/licenses/by/3.0/
*
* Dolphin is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the Creative Commons Attribution 3.0 License for more details. 
* You should have received a copy of the Creative Commons Attribution 3.0 License along with Dolphin, 
* see license.txt file; if not, write to marketing@boonex.com
***************************************************************************/
require_once 'inc/header.inc.php';
require_once BX_DIRECTORY_PATH_INC . 'sharing.inc.php';
require_once BX_DIRECTORY_PATH_CLASSES . 'BxDolSharedMediaView.php';
$iFile = 0;
if (isset($_GET['fileUri'])) {
    $iFile = getFileIdByUri($_GET['fileUri'], 'music');
} elseif (isset($_GET['fileID'])) {
    $iFile = (int) $_GET['fileID'];
}
$member['ID'] = (int) $_COOKIE['memberID'];
$member['Password'] = $_COOKIE['memberPassword'];
check_logged();
$oNew = new BxDolSharedMediaView($iFile, 'music', $site, $dir, $member);
$oVotingView = new BxTemplVotingView('gmusic', 0, 0);
$_page['extra_js'] = $oVotingView->getExtraJs();
$_page['name_index'] = 81;
$_ni = $_page['name_index'];
$_page['css_name'] = $oNew->oShared->sCssName;
$_page['extra_css'] = $oNew->oCmtsView->getExtraCss();
$_page['extra_js'] .= $oNew->oCmtsView->getExtraJs();
$_page['header'] = _t("_view Music");
*
* Dolphin is free software. This work is licensed under a Creative Commons Attribution 3.0 License. 
* http://creativecommons.org/licenses/by/3.0/
*
* Dolphin is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the Creative Commons Attribution 3.0 License for more details. 
* You should have received a copy of the Creative Commons Attribution 3.0 License along with Dolphin, 
* see license.txt file; if not, write to marketing@boonex.com
***************************************************************************/
require_once 'inc/header.inc.php';
require_once BX_DIRECTORY_PATH_INC . 'sharing.inc.php';
require_once BX_DIRECTORY_PATH_CLASSES . 'BxDolSharedMediaView.php';
$iFile = 0;
if (isset($_GET['fileUri'])) {
    $iFile = getFileIdByUri($_GET['fileUri'], 'photo');
} elseif (isset($_GET['fileID'])) {
    $iFile = (int) $_GET['fileID'];
}
$member['ID'] = (int) $_COOKIE['memberID'];
check_logged();
$oNew = new BxDolSharedMediaView($iFile, 'photo', $site, $dir, $member);
$oVotingView = new BxTemplVotingView('gphoto', 0, 0);
$_page['extra_js'] = $oVotingView->getExtraJs();
$_page['name_index'] = 81;
$_ni = $_page['name_index'];
$_page['css_name'] = $oNew->oShared->sCssName;
$_page['extra_css'] = $oNew->oCmtsView->getExtraCss();
$_page['extra_js'] .= $oNew->oCmtsView->getExtraJs();
$_page['header'] = _t("_view Photo");
$_ni = $_page['name_index'];
*
* Dolphin is free software. This work is licensed under a Creative Commons Attribution 3.0 License. 
* http://creativecommons.org/licenses/by/3.0/
*
* Dolphin is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the Creative Commons Attribution 3.0 License for more details. 
* You should have received a copy of the Creative Commons Attribution 3.0 License along with Dolphin, 
* see license.txt file; if not, write to marketing@boonex.com
***************************************************************************/
require_once 'inc/header.inc.php';
require_once BX_DIRECTORY_PATH_INC . 'sharing.inc.php';
require_once BX_DIRECTORY_PATH_CLASSES . 'BxDolSharedMediaView.php';
$iFile = 0;
if (isset($_GET['fileUri'])) {
    $iFile = getFileIdByUri($_GET['fileUri'], 'video');
} elseif (isset($_GET['fileID'])) {
    $iFile = (int) $_GET['fileID'];
}
$member['ID'] = (int) $_COOKIE['memberID'];
check_logged();
$oNew = new BxDolSharedMediaView($iFile, 'video', $site, $dir, $member);
$oVotingView = new BxTemplVotingView('gvideo', 0, 0);
$_page['extra_js'] = $oVotingView->getExtraJs();
$_page['name_index'] = 81;
$_ni = $_page['name_index'];
$_page['css_name'] = $oNew->oShared->sCssName;
$_page['extra_css'] = $oNew->oCmtsView->getExtraCss();
$_page['extra_js'] .= $oNew->oCmtsView->getExtraJs();
$_page['header'] = _t("_view Video");
$_ni = $_page['name_index'];