/** * @see Page::readParameters() */ public function readParameters() { parent::readParameters(); if (isset($_REQUEST['deletedBBCodeID'])) { $this->deletedBBCodeID = intval($_REQUEST['deletedBBCodeID']); } }
/** * @see Page::readParameters() */ public function readParameters() { parent::readParameters(); if (isset($_REQUEST['deletedPackageUpdateServerID'])) { $this->deletedPackageUpdateServerID = intval($_REQUEST['deletedPackageUpdateServerID']); } }
/** * @see Page::readParameters() */ public function readParameters() { parent::readParameters(); if (WCF::getUser()->threadsPerPage) { $this->itemsPerPage = WCF::getUser()->threadsPerPage; } }
/** * @see Page::readParameters() */ public function readParameters() { parent::readParameters(); // get available letters $defaultLetters = WCF::getLanguage()->get('wcf.user.membersList.letters'); if (!empty($defaultLetters) && $defaultLetters != 'wcf.user.membersList.letters') { self::$defaultLetters = $defaultLetters; } // get user options $this->userOptions = new UserOptions('medium'); // letter if (isset($_REQUEST['letter']) && StringUtil::length($_REQUEST['letter']) == 1 && StringUtil::indexOf(self::$defaultLetters, $_REQUEST['letter']) !== false) { $this->letter = $_REQUEST['letter']; } // active fields $this->activeFields = explode(',', MEMBERS_LIST_COLUMNS); if (MODULE_AVATAR != 1 && ($key = array_search('avatar', $this->activeFields)) !== false) { unset($this->activeFields[$key]); } // search id if (isset($_REQUEST['searchID'])) { $this->searchID = intval($_REQUEST['searchID']); if ($this->searchID != 0) { $this->getSearchResult(); } } }
/** * @see Page::readParameters() */ public function readParameters() { parent::readParameters(); if (isset($_REQUEST['detailedSpiderList'])) { $this->usersOnlineSortedList->detailedSpiderList = intval($_REQUEST['detailedSpiderList']); } }
/** * @see Page::readParameters() */ public function readParameters() { parent::readParameters(); // default values if (WCF::getUser()->threadsPerPage) { $this->itemsPerPage = WCF::getUser()->threadsPerPage; } if (WCF::getUser()->threadDaysPrune) { $this->defaultDaysPrune = WCF::getUser()->threadDaysPrune; } // days prune if (isset($_REQUEST['daysPrune'])) { $this->daysPrune = intval($_REQUEST['daysPrune']); } if ($this->daysPrune < 1) { $this->daysPrune = $this->defaultDaysPrune; } // get thread list if ($this->threadList === null) { $this->threadList = new SubscribedThreadList($this->daysPrune); } // get board list if ($this->boardList === null) { $this->boardList = new SubscribedBoardList(); } }
/** * @see Page::readParameters() */ public function readParameters() { parent::readParameters(); if (isset($_REQUEST['userID'])) { $this->userID = intval($_REQUEST['userID']); } }
/** * @see Page::readParameters() */ public function readParameters() { parent::readParameters(); $this->warningList = new WarningList(); if (isset($_REQUEST['deletedWarningID'])) { $this->deletedWarningID = intval($_REQUEST['deletedWarningID']); } }
/** * @see Page::readParameters() */ public function readParameters() { parent::readParameters(); $this->suspensionList = new SuspensionList(); if (isset($_REQUEST['deletedSuspensionID'])) { $this->deletedSuspensionID = intval($_REQUEST['deletedSuspensionID']); } }
/** * @see Page::readParameters() */ public function readParameters() { parent::readParameters(); if (isset($_REQUEST['deletedInvitationID'])) { $this->deletedInvitationID = intval($_REQUEST['deletedInvitationID']); } $this->invitationList = new InvitationList(); }
/** * @see Page::readParameters() */ public function readParameters() { parent::readParameters(); // detect group deletion if (isset($_REQUEST['deletedrulesets'])) { $this->deletedrulesets = intval($_REQUEST['deletedrulesets']); } }
/** * @see Page::readParameters() */ public function readParameters() { parent::readParameters(); $this->avatarCategoryList = new AvatarCategoryList(); if (isset($_REQUEST['deletedAvatarCategoryID'])) { $this->deletedAvatarCategoryID = intval($_REQUEST['deletedAvatarCategoryID']); } }
/** * @see Page::readParameters() */ public function readParameters() { parent::readParameters(); if (isset($_REQUEST['deletedEntryID'])) { $this->deletedEntryID = intval($_REQUEST['deletedEntryID']); } $this->entryList = new EntryList(); }
/** * @see Page::readParameters() */ public function readParameters() { parent::readParameters(); // parameters if (isset($_REQUEST['username'])) { $this->username = StringUtil::trim($_REQUEST['username']); } if (isset($_REQUEST['suspensionID'])) { $this->suspensionID = intval($_REQUEST['suspensionID']); } if (isset($_REQUEST['status'])) { $this->status = $_REQUEST['status']; } if (isset($_REQUEST['fromDay'])) { $this->fromDay = intval($_REQUEST['fromDay']); } if (isset($_REQUEST['fromMonth'])) { $this->fromMonth = intval($_REQUEST['fromMonth']); } if (isset($_REQUEST['fromYear'])) { $this->fromYear = intval($_REQUEST['fromYear']); } if (isset($_REQUEST['untilDay'])) { $this->untilDay = intval($_REQUEST['untilDay']); } if (isset($_REQUEST['untilMonth'])) { $this->untilMonth = intval($_REQUEST['untilMonth']); } if (isset($_REQUEST['untilYear'])) { $this->untilYear = intval($_REQUEST['untilYear']); } if (isset($_REQUEST['deletedUserSuspensionID'])) { $this->deletedUserSuspensionID = intval($_REQUEST['deletedUserSuspensionID']); } // init list $this->userSuspensionList = new UserSuspensionList(); // set conditions $this->userSuspensionList->sqlConditions .= 'user_suspension.packageID = ' . PACKAGE_ID; if (!empty($this->username)) { $this->userSuspensionList->sqlConditions .= " AND user_suspension.userID = (SELECT userID FROM wcf" . WCF_N . "_user WHERE username = '******')"; } if ($this->suspensionID) { $this->userSuspensionList->sqlConditions .= " AND user_suspension.suspensionID = " . $this->suspensionID; } if ($this->status == 'active') { $this->userSuspensionList->sqlConditions .= " AND (user_suspension.expires = 0 OR user_suspension.expires > " . TIME_NOW . ")"; } else { if ($this->status == 'expired') { $this->userSuspensionList->sqlConditions .= " AND user_suspension.expires > 0 AND user_suspension.expires < " . TIME_NOW; } } if ($this->fromDay && $this->fromMonth && $this->fromYear) { $this->userSuspensionList->sqlConditions .= " AND user_suspension.time > " . gmmktime(0, 0, 0, $this->fromMonth, $this->fromDay, $this->fromYear); } if ($this->untilDay && $this->untilMonth && $this->untilYear) { $this->userSuspensionList->sqlConditions .= " AND user_suspension.time < " . gmmktime(0, 0, 0, $this->untilMonth, $this->untilDay, $this->untilYear); } }
/** * @see Page::readParameters() */ public function readParameters() { parent::readParameters(); $this->ruleList = new PMRuleList(); $this->ruleList->sqlConditions = 'pm_rule.userID = ' . WCF::getUser()->userID; if (isset($_REQUEST['deletedRuleID'])) { $this->deletedRuleID = intval($_REQUEST['deletedRuleID']); } }
/** * @see Page::readParameters() */ public function readParameters() { parent::readParameters(); if (isset($_REQUEST['deletedCategoryID'])) { $this->deletedCategoryID = intval($_REQUEST['deletedCategoryID']); } $this->userOptionCategoryList = new UserOptionCategoryList(); $this->userOptionCategoryList->sqlConditions = "option_category.parentCategoryName = 'profile'"; }
/** * @see Page::readParameters() */ public function readParameters() { if (!WCF::getUser()->getPermission('user.board.canViewUsersOnlineBox')) { return; } parent::readParameters(); if (isset($_REQUEST['detailedSpiderList'])) { $this->usersOnlineSortedList->detailedSpiderList = intval($_REQUEST['detailedSpiderList']); } }
/** * @see Page::readParameters() */ public function readParameters() { parent::readParameters(); if (isset($_REQUEST['detailedSpiderList'])) { $this->usersOnlineSortedList->detailedSpiderList = intval($_REQUEST['detailedSpiderList']); } if (isset($this->usersOnlineSortedList->sqlConditions)) { $this->usersOnlineSortedList->sqlConditions = ' AND groups.showOnTeamOnlineBox = 1 '; } }
public function readParameters() { parent::readParameters(); if (isset($_REQUEST['result'])) { $this->result = StringUtil::trim($_REQUEST['result']); } if (isset($_REQUEST['success'])) { $this->success = true; } }
/** * @see Page::readParameters() */ public function readParameters() { parent::readParameters(); if (isset($_REQUEST['deletedLanguageID'])) { $this->deletedLanguageID = intval($_REQUEST['deletedLanguageID']); } if (isset($_REQUEST['deletedVariable'])) { $this->deletedVariable = $_REQUEST['deletedVariable']; } }
/** * @see Page::readParameters() */ public function readParameters() { parent::readParameters(); if (isset($_REQUEST['searchID'])) { $this->searchID = intval($_REQUEST['searchID']); if ($this->searchID) { $this->readSearchResult(); } } }
/** * @see Page::readParameters() */ public function readParameters() { parent::readParameters(); if (isset($_GET['activeTabMenuItem'])) { $this->activeTabMenuItem = StringUtil::trim($_GET['activeTabMenuItem']); } if (isset($_GET['activeSubTabMenuItem'])) { $this->activeSubTabMenuItem = StringUtil::trim($_GET['activeSubTabMenuItem']); } }
/** * @see Page::readParameters() */ public function readParameters() { parent::readParameters(); if (isset($_REQUEST['deletedSmileyID'])) { $this->deletedSmileyID = intval($_REQUEST['deletedSmileyID']); } if (isset($_REQUEST['smileyCategoryID'])) { $this->smileyCategoryID = intval($_REQUEST['smileyCategoryID']); } $this->smileyList = new SmileyList(); $this->smileyList->sqlConditions = 'smiley.smileyCategoryID = ' . $this->smileyCategoryID; }
/** * @see Page::readParameters() */ public function readParameters() { parent::readParameters(); // detect job deletion. if (isset($_REQUEST['deleteJob'])) { $this->deleteJob = intval($_REQUEST['deleteJob']); } // detect execution if (isset($_REQUEST['successfulExecuted'])) { $this->successfulExecuted = true; } }
/** * @see Page::readParameters() */ public function readParameters() { parent::readParameters(); $this->avatarList = new AvatarList(); if (isset($_REQUEST['type'])) { $this->type = intval($_REQUEST['type']); } if (isset($_REQUEST['deletedAvatarID'])) { $this->deletedAvatarID = intval($_REQUEST['deletedAvatarID']); } $this->avatarList->sqlConditions .= "avatar.userID " . ($this->type == 0 ? '= 0' : '<> 0'); }
/** * @see Page::readParameters() */ public function readParameters() { parent::readParameters(); if (isset($_REQUEST['deletedOptionID'])) { $this->deletedOptionID = intval($_REQUEST['deletedOptionID']); } if (isset($_REQUEST['classID'])) { $this->classID = intval($_REQUEST['classID']); } $this->ratingoptionList = new ContestRatingoptionList(); $this->ratingoptionList->sqlConditions = 'contest_ratingoption.classID = ' . $this->classID; }
/** * @see Page::readParameters() */ public function readParameters() { parent::readParameters(); if (isset($_REQUEST['searchID'])) { $this->searchID = intval($_REQUEST['searchID']); } // get search data $sql = "SELECT\t*\n\t\t\tFROM\twcf" . WCF_N . "_search\n\t\t\tWHERE\tsearchID = " . $this->searchID . "\n\t\t\t\tAND userID = " . WCF::getUser()->userID . "\n\t\t\t\tAND searchType = 'packages'"; $this->search = WCF::getDB()->getFirstRow($sql); if (empty($this->search['searchID'])) { throw new IllegalLinkException(); } }
/** * @see Page::readParameters() */ public function readParameters() { parent::readParameters(); if (isset($_REQUEST['containerType'])) { $this->containerType = $_REQUEST['containerType']; } if (isset($_REQUEST['fileType'])) { $this->fileType = $_REQUEST['fileType']; } if (isset($_REQUEST['isImage'])) { $this->isImage = intval($_REQUEST['isImage']); } if (isset($_REQUEST['showThumbnail'])) { $this->showThumbnail = intval($_REQUEST['showThumbnail']); } if (isset($_REQUEST['filename'])) { $this->filename = $_REQUEST['filename']; } if (isset($_REQUEST['greaterThan'])) { $this->greaterThan = intval($_REQUEST['greaterThan']); } // period if (isset($_REQUEST['fromDay'])) { $this->fromDay = intval($_REQUEST['fromDay']); } if (isset($_REQUEST['fromMonth'])) { $this->fromMonth = intval($_REQUEST['fromMonth']); } if (isset($_REQUEST['fromYear'])) { $this->fromYear = intval($_REQUEST['fromYear']); if (empty($this->fromYear)) { $this->fromYear = ''; } } if (isset($_REQUEST['untilDay'])) { $this->untilDay = intval($_REQUEST['untilDay']); } if (isset($_REQUEST['untilMonth'])) { $this->untilMonth = intval($_REQUEST['untilMonth']); } if (isset($_REQUEST['untilYear'])) { $this->untilYear = intval($_REQUEST['untilYear']); if (empty($this->untilYear)) { $this->untilYear = ''; } } // get select options $this->availableContainerTypes = $this->attachmentList->getAvailableContainerTypes(); $this->availableFileTypes = $this->attachmentList->getAvailableFileTypes(); }
/** * @see Page::readParameters() */ public function readParameters() { parent::readParameters(); // get session log if (isset($_REQUEST['sessionLogID'])) { $this->sessionLogID = intval($_REQUEST['sessionLogID']); } $this->sessionLog = new SessionLog($this->sessionLogID); if (!$this->sessionLog->sessionLogID) { throw new IllegalLinkException(); } $this->sessionAccessLogList = new SessionAccessLogList(); $this->sessionAccessLogList->sqlConditions = 'sessionLogID = ' . $this->sessionLogID; }
/** * @see Page::readParameters() */ public function readParameters() { // get folders $this->folderList = new PMFolderList(); parent::readParameters(); if (WCF::getUser()->pmsPerPage) { $this->itemsPerPage = WCF::getUser()->pmsPerPage; } // get folder id if (isset($_REQUEST['folderID'])) { $this->folderID = intval($_REQUEST['folderID']); } if (!isset($this->folderList->folders[$this->folderID])) { throw new IllegalLinkException(); } if (isset($_REQUEST['filterBySender'])) { $this->filterBySender = intval($_REQUEST['filterBySender']); } }