function PageCompSharePhotos($sCaption) { global $member; return '<div id="show_sharePhotos">' . PageCompSharePhotosContent($sCaption, $member['ID']) . '</div>'; }
function showBlockSharePhotos($sCaption) { echo '<div id="show_sharePhotos">'; echo PageCompSharePhotosContent($sCaption, $this->_iProfileID); echo '</div>'; }
$_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 if ($_POST['commentsubmit']) { $ret .= addComment($profileID); } //delete comment
function PageCompSharePhotos($sCaption) { return '<div id="show_sharePhotos">' . PageCompSharePhotosContent($sCaption) . '</div>'; }