Пример #1
0
function PageCompShareMusic($sCaption)
{
    global $member;
    return '<div id="show_shareMusic">' . PageCompShareMusicContent($sCaption, $member['ID']) . '</div>';
}
 function showBlockShareMusic($sCaption)
 {
     echo '<div id="show_shareMusic">';
     echo PageCompShareMusicContent($sCaption, $this->_iProfileID);
     echo '</div>';
 }
Пример #3
0
$_page['extra_css'] = $oProfile->genProfileCSS($profileID);
$p_arr = $oProfile->_aProfile;
if (!($p_arr['ID'] && ($logged['admin'] || $logged['moderator'] || $oProfile->owner || ($p_arr['Status'] = 'Active')))) {
    $_page['header'] = "{$site['title']} " . _t("_Member Profile");
    $_page['header_text'] = "{$site['title']} " . _t("_Member Profile");
    $_page['name_index'] = 0;
    $_page_cont[0]['page_main_code'] = '<div class="no_result"><div>' . _t("_Profile NA") . '.</div></div>';
    PageCode();
    exit;
}
//Ajax loaders
if ($_GET['show_only']) {
    switch ($_GET['show_only']) {
        case 'shareMusic':
            $sCaption = db_value("SELECT `Caption` FROM `ProfileCompose` WHERE `Func` = 'ShareMusic'");
            echo PageCompShareMusicContent($sCaption, $profileID);
            break;
        case 'sharePhotos':
            $sCaption = db_value("SELECT `Caption` FROM `ProfileCompose` WHERE `Func` = 'SharePhotos'");
            echo PageCompSharePhotosContent($sCaption, $profileID);
            break;
        case 'shareVideos':
            $sCaption = db_value("SELECT `Caption` FROM `ProfileCompose` WHERE `Func` = 'ShareVideos'");
            echo PageCompShareVideosContent($sCaption, $profileID);
            break;
    }
    exit;
}
$_page['header'] = process_line_output($p_arr['NickName']) . ": " . htmlspecialchars_adv($p_arr['Headline']);
//$_page['header_text'] = process_line_output( $p_arr['Headline'] );
//post comment
Пример #4
0
function PageCompShareMusic($sCaption)
{
    return '<div id="show_shareMusic">' . PageCompShareMusicContent($sCaption) . '</div>';
}