Cheetah
Functions | Variables
profiles.php File Reference

Go to the source code of this file.

Functions

 PageCodeControls ($sDefault=CH_WSB_ADM_MP_CTL)
 
 getBlockQlinks ($sDefault)
 
 getBlockBrowse ($sDefault)
 
 getBlockCalendar ($sDefault)
 
 getBlockTags ($sDefault)
 
 getBlockSearch ($sDefault)
 
 getBlockSettings ($sDefault)
 
 PageCodeMembers ($sDefaultCtl=CH_WSB_ADM_MP_CTL, $sDefaultView=CH_WSB_ADM_MP_VIEW)
 
 getMembers ($aParams)
 
 getMembersGeeky ($aProfiles, $sPaginate, $sControls)
 
 getMembersSimple ($aProfiles, $sPaginate, $sControls)
 
 getMembersExtended ($aProfiles, $sPaginate, $sControls)
 

Variables

 $GLOBALS ['iAdminPage'] = 1
 
 $sDefaultOverViewMode = strtolower(getParam('default_overview_mode'))
 
 $sDefaultMemberMode = strtolower(getParam('default_view_mode'))
 
 $iDefaultPerPage = (int)getParam('default_per_page')
 
const CH_WSB_ADM_MP_CTL $sDefaultOverViewMode
 
const CH_WSB_ADM_MP_VIEW $sDefaultMemberMode
 
const CH_WSB_ADM_MP_JS_NAME 'oMP'
 
const CH_WSB_ADM_MP_PER_PAGE $iDefaultPerPage
 
const CH_WSB_ADM_MP_PER_PAGE_STEP 16
 
 $logged ['admin'] = member_auth( 1, true, true )
 
 $sCtlType = isset($_POST['adm-mp-members-ctl-type']) && in_array($_POST['adm-mp-members-ctl-type'], array('qlinks', 'browse', 'calendar', 'tags', 'search', 'settings')) ? $_POST['adm-mp-members-ctl-type'] : CH_WSB_ADM_MP_CTL
 
 $aCtlType = array()
 
 $sViewType = isset($_POST['adm-mp-members-view-type']) && in_array($_POST['adm-mp-members-view-type'], array('geeky', 'simple', 'extended')) ? $_POST['adm-mp-members-view-type'] : CH_WSB_ADM_MP_VIEW
 
if(isset($_POST['save']) &&isset($_POST['cat'])) if(isset($_POST['adm-mp-activate']) &&(bool) $_POST['members']) else if(isset($_POST['adm-mp-deactivate']) &&(bool) $_POST['members']) else if(isset($_POST['adm-mp-ban']) &&(bool) $_POST['members']) else if(isset($_POST['adm-mp-unban']) &&(bool) $_POST['members']) else if(isset($_POST['adm-mp-set-admin']) &&(bool) $_POST['members']) else if(isset($_POST['adm-mp-unset-admin']) &&(bool) $_POST['members']) else if((isset($_POST['adm-mp-delete'])||isset($_POST['adm-mp-delete-spammer'])) &&(bool) $_POST['members']) else if(isset($_POST['adm-mp-confirm']) &&(bool) $_POST['members']) else if(isset($_POST['action']) && $_POST['action']=='get_members') else if(isset($_POST['action']) && $_POST['action']=='get_controls') if(isset($_GET['action']) && $_GET['action']=='browse') $iNameIndex = 10
 
 $_page
 
 $_page_cont [$iNameIndex]
 

Function Documentation

◆ getBlockBrowse()

getBlockBrowse (   $sDefault)

Definition at line 228 of file profiles.php.

◆ getBlockCalendar()

getBlockCalendar (   $sDefault)

Definition at line 235 of file profiles.php.

◆ getBlockQlinks()

getBlockQlinks (   $sDefault)

Definition at line 202 of file profiles.php.

◆ getBlockSearch()

getBlockSearch (   $sDefault)

Definition at line 253 of file profiles.php.

◆ getBlockSettings()

getBlockSettings (   $sDefault)

Definition at line 288 of file profiles.php.

◆ getBlockTags()

getBlockTags (   $sDefault)

Definition at line 242 of file profiles.php.

◆ getMembers()

getMembers (   $aParams)

Definition at line 364 of file profiles.php.

◆ getMembersExtended()

getMembersExtended (   $aProfiles,
  $sPaginate,
  $sControls 
)

Definition at line 565 of file profiles.php.

◆ getMembersGeeky()

getMembersGeeky (   $aProfiles,
  $sPaginate,
  $sControls 
)

Definition at line 516 of file profiles.php.

◆ getMembersSimple()

getMembersSimple (   $aProfiles,
  $sPaginate,
  $sControls 
)

Definition at line 545 of file profiles.php.

◆ PageCodeControls()

PageCodeControls (   $sDefault = CH_WSB_ADM_MP_CTL)

Definition at line 176 of file profiles.php.

◆ PageCodeMembers()

PageCodeMembers (   $sDefaultCtl = CH_WSB_ADM_MP_CTL,
  $sDefaultView = CH_WSB_ADM_MP_VIEW 
)

Definition at line 308 of file profiles.php.

Variable Documentation

◆ $_page

$_page
Initial value:
= array(
'name_index' => $iNameIndex,
'css_name' => array('forms_adv.css', 'profiles.css'),
'js_name' => array('profiles.js'),
'header' => _t('_adm_page_cpt_manage_members')
)

Definition at line 157 of file profiles.php.

◆ $_page_cont

$_page_cont[ $iNameIndex]
Initial value:
= array(
'page_code_controls' => PageCodeControls($sCtlType),
'page_code_members' => PageCodeMembers(!empty($aCtlType) ? $aCtlType : $sCtlType, $sViewType),
'obj_name' => CH_WSB_ADM_MP_JS_NAME,
'actions_url' => $GLOBALS['site']['url_admin'] . 'profiles.php',
'sel_control' => $sCtlType,
'sel_view' => $sViewType,
'per_page' => CH_WSB_ADM_MP_PER_PAGE,
'order_by' => ''
)

Definition at line 163 of file profiles.php.

◆ $aCtlType

$aCtlType = array()

Definition at line 38 of file profiles.php.

◆ $GLOBALS

$GLOBALS[ 'iAdminPage'] = 1

This work, "Cheetah - https://www.cheetahwsb.com", is a derivative of "Dolphin Pro V7.4.2" by BoonEx Pty Limited - https://www.boonex.com/, used under CC-BY. "Cheetah" is licensed under CC-BY by Dean J. Bassett Jr. CC-BY License - http://creativecommons.org/licenses/by/3.0/

Definition at line 10 of file profiles.php.

◆ $iDefaultPerPage

$iDefaultPerPage = (int)getParam('default_per_page')

Definition at line 26 of file profiles.php.

◆ $iNameIndex

if (isset( $_POST[ 'save']) &&isset( $_POST[ 'cat'])) if (isset( $_POST[ 'adm-mp-activate']) &&(bool) $_POST[ 'members']) else if (isset( $_POST[ 'adm-mp-deactivate']) &&(bool) $_POST[ 'members']) else if (isset( $_POST[ 'adm-mp-ban']) &&(bool) $_POST[ 'members']) else if (isset( $_POST[ 'adm-mp-unban']) &&(bool) $_POST[ 'members']) else if (isset( $_POST[ 'adm-mp-set-admin']) &&(bool) $_POST[ 'members']) else if (isset( $_POST[ 'adm-mp-unset-admin']) &&(bool) $_POST[ 'members']) else if ((isset( $_POST[ 'adm-mp-delete'])||isset( $_POST[ 'adm-mp-delete-spammer'])) &&(bool) $_POST[ 'members']) else if (isset( $_POST[ 'adm-mp-confirm']) &&(bool) $_POST[ 'members']) else if (isset( $_POST[ 'action']) &&$_POST[ 'action']=='get_members') else if (isset( $_POST[ 'action']) &&$_POST[ 'action']=='get_controls') if (isset( $_GET[ 'action']) &&$_GET[ 'action']=='browse') $iNameIndex = 10

Definition at line 156 of file profiles.php.

◆ $logged

$logged[ 'admin'] = member_auth( 1, true, true )

Definition at line 35 of file profiles.php.

◆ $sCtlType

$sCtlType = isset($_POST['adm-mp-members-ctl-type']) && in_array($_POST['adm-mp-members-ctl-type'], array('qlinks', 'browse', 'calendar', 'tags', 'search', 'settings')) ? $_POST['adm-mp-members-ctl-type'] : CH_WSB_ADM_MP_CTL

Definition at line 37 of file profiles.php.

◆ $sDefaultMemberMode

$sDefaultMemberMode = strtolower(getParam('default_view_mode'))

Definition at line 25 of file profiles.php.

◆ $sDefaultOverViewMode

$sDefaultOverViewMode = strtolower(getParam('default_overview_mode'))

Definition at line 24 of file profiles.php.

◆ $sViewType

$sViewType = isset($_POST['adm-mp-members-view-type']) && in_array($_POST['adm-mp-members-view-type'], array('geeky', 'simple', 'extended')) ? $_POST['adm-mp-members-view-type'] : CH_WSB_ADM_MP_VIEW

Definition at line 40 of file profiles.php.

◆ CH_WSB_ADM_MP_CTL

const CH_WSB_ADM_MP_CTL $sDefaultOverViewMode

Definition at line 29 of file profiles.php.

◆ CH_WSB_ADM_MP_JS_NAME

const CH_WSB_ADM_MP_JS_NAME 'oMP'

Definition at line 31 of file profiles.php.

◆ CH_WSB_ADM_MP_PER_PAGE

const CH_WSB_ADM_MP_PER_PAGE $iDefaultPerPage

Definition at line 32 of file profiles.php.

◆ CH_WSB_ADM_MP_PER_PAGE_STEP

const CH_WSB_ADM_MP_PER_PAGE_STEP 16

Definition at line 33 of file profiles.php.

◆ CH_WSB_ADM_MP_VIEW

const CH_WSB_ADM_MP_VIEW $sDefaultMemberMode

Definition at line 30 of file profiles.php.

PageCodeMembers
PageCodeMembers($sDefaultCtl=CH_WSB_ADM_MP_CTL, $sDefaultView=CH_WSB_ADM_MP_VIEW)
Definition: profiles.php:308
$GLOBALS
$GLOBALS['iAdminPage']
Definition: profiles.php:10
$sCtlType
$sCtlType
Definition: profiles.php:37
CH_WSB_ADM_MP_PER_PAGE
const CH_WSB_ADM_MP_PER_PAGE
Definition: profiles.php:32
PageCodeControls
PageCodeControls($sDefault=CH_WSB_ADM_MP_CTL)
Definition: profiles.php:176
CH_WSB_ADM_MP_JS_NAME
const CH_WSB_ADM_MP_JS_NAME
Definition: profiles.php:31
_t
_t($key, $arg0="", $arg1="", $arg2="")
Definition: languages.inc.php:509
$iNameIndex
if(isset($_POST['save']) &&isset($_POST['cat'])) if(isset($_POST['adm-mp-activate']) &&(bool) $_POST['members']) else if(isset($_POST['adm-mp-deactivate']) &&(bool) $_POST['members']) else if(isset($_POST['adm-mp-ban']) &&(bool) $_POST['members']) else if(isset($_POST['adm-mp-unban']) &&(bool) $_POST['members']) else if(isset($_POST['adm-mp-set-admin']) &&(bool) $_POST['members']) else if(isset($_POST['adm-mp-unset-admin']) &&(bool) $_POST['members']) else if((isset($_POST['adm-mp-delete'])||isset($_POST['adm-mp-delete-spammer'])) &&(bool) $_POST['members']) else if(isset($_POST['adm-mp-confirm']) &&(bool) $_POST['members']) else if(isset($_POST['action']) && $_POST['action']=='get_members') else if(isset($_POST['action']) && $_POST['action']=='get_controls') if(isset($_GET['action']) && $_GET['action']=='browse') $iNameIndex
Definition: profiles.php:156
empty
Attr AllowedRel this is empty
Definition: Attr.AllowedRel.txt:7
$sViewType
$sViewType
Definition: profiles.php:40
$aCtlType
$aCtlType
Definition: profiles.php:38