示例#1
0
 //generate member menu position settings
 case 'extra_menu':
     $sPageCaption = _t('_Member menu position');
     $_page['header'] = $sPageCaption;
     $GLOBALS['_page_cont'][$_ni]['page_main_code'] = DesignBoxContent($sPageCaption, PageListMemberMenuSettings($iProfileId, $sAction), $oTemplConfig->PageListPop_db_num);
     break;
     //block profile
 //block profile
 case 'block':
     if ($bAjxMod) {
         echo PageListBlock($iProfileId, $iTargetId) . $sJQueryJS;
         exit;
     }
     $sPageCaption = _t('_Block list');
     $_page['header'] = $sPageCaption;
     $GLOBALS['_page_cont'][$_ni]['page_main_code'] = DesignBoxContent($sPageCaption, PageListBlock($iProfileId, $iTargetId), $oTemplConfig->PageListPop_db_num);
     break;
     //unblock profile
 //unblock profile
 case 'unblock':
     if ($bAjxMod) {
         echo PageListUnBlock($iProfileId, $iTargetId) . $sJQueryJS;
         exit;
     }
     $sPageCaption = _t('_Unblock');
     $_page['header'] = $sPageCaption;
     $GLOBALS['_page_cont'][$_ni]['page_main_code'] = DesignBoxContent($sPageCaption, PageListUnBlock($iProfileId, $iTargetId), $oTemplConfig->PageListPop_db_num);
     break;
     //add to hot list
 //add to hot list
 case 'hot':
* 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 . 'design.inc.php';
require_once BX_DIRECTORY_PATH_INC . 'profiles.inc.php';
$_page['name_index'] = 44;
$logged['member'] = member_auth(0);
$sourceID = (int) $_COOKIE['memberID'];
$targetID = (int) $_GET['ID'];
$action = $_GET['action'];
$_ni = $_page['name_index'];
switch ($action) {
    case 'block':
        $_page['header'] = _t("_Block list");
        $_page_cont[$_ni]['page_main_code'] = DesignBoxContent(_t('_Block list'), PageListBlock($sourceID, $targetID), $oTemplConfig->PageListPop_db_num);
        break;
    case 'hot':
        $_page['header'] = _t('_Hot list');
        $_page_cont[$_ni]['page_main_code'] = DesignBoxContent(_t('_Hot list'), PageListHot($sourceID, $targetID), $oTemplConfig->PageListPop_db_num);
        break;
    case 'friend':
        $_page['header'] = _t('_Friend list');
        $_page_cont[$_ni]['page_main_code'] = DesignBoxContent(_t('_Friend list'), PageListFriend($sourceID, $targetID), $oTemplConfig->PageListPop_db_num);
        break;
    case 'spam':
        $_page['header'] = _t('_Spam report');
        $_page_cont[$_ni]['page_main_code'] = DesignBoxContent(_t('_Spam report'), PageListSpam($sourceID, $targetID), $oTemplConfig->PageListPop_db_num);
        break;
}
PageCode();