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.224.43.98
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 : TValidationSummary.php
<?php /** * TValidationSummary 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 */ /** * TValidationSummary class * * TValidationSummary displays a summary of validation errors inline on a Web page, * in a message box, or both. By default, a validation summary will collect * {@link TBaseValidator::getErrorMessage ErrorMessage} of all failed validators * on the page. If {@link getValidationGroup ValidationGroup} is not * empty, only those validators who belong to the group will show their error messages * in the summary. * * The summary can be displayed as a list, as a bulleted list, or as a single * paragraph based on the {@link setDisplayMode DisplayMode} property. * The messages shown can be prefixed with {@link setHeaderText HeaderText}. * * The summary can be displayed on the Web page and in a message box by setting * the {@link setShowSummary ShowSummary} and {@link setShowMessageBox ShowMessageBox} * properties, respectively. Note, the latter is only effective when * {@link setEnableClientScript EnableClientScript} is true. * * @author Qiang Xue <qiang.xue@gmail.com> * @package System.Web.UI.WebControls * @since 3.0 */ class TValidationSummary extends TWebControl { /** * @var TClientSideValidationSummaryOptions validation client side options. */ private $_clientSide; /** * Constructor. * This method sets the foreground color to red. */ public function __construct() { parent::__construct(); $this->setForeColor('red'); } /** * @return TValidationSummaryDisplayStyle the style of displaying the error messages. Defaults to TValidationSummaryDisplayStyle::Fixed. */ public function getDisplay() { return $this->getViewState('Display',TValidationSummaryDisplayStyle::Fixed); } /** * @param TValidationSummaryDisplayStyle the style of displaying the error messages */ public function setDisplay($value) { $this->setViewState('Display',TPropertyValue::ensureEnum($value,'TValidationSummaryDisplayStyle'),TValidationSummaryDisplayStyle::Fixed); } /** * @return string the header text displayed at the top of the summary */ public function getHeaderText() { return $this->getViewState('HeaderText',''); } /** * Sets the header text to be displayed at the top of the summary * @param string the header text */ public function setHeaderText($value) { $this->setViewState('HeaderText',$value,''); } /** * @return TValidationSummaryDisplayMode the mode of displaying error messages. Defaults to TValidationSummaryDisplayMode::BulletList. */ public function getDisplayMode() { return $this->getViewState('DisplayMode',TValidationSummaryDisplayMode::BulletList); } /** * @param TValidationSummaryDisplayMode the mode of displaying error messages */ public function setDisplayMode($value) { $this->setViewState('DisplayMode',TPropertyValue::ensureEnum($value,'TValidationSummaryDisplayMode'),TValidationSummaryDisplayMode::BulletList); } /** * @return boolean whether the TValidationSummary component updates itself using client-side script. Defaults to true. */ public function getEnableClientScript() { return $this->getViewState('EnableClientScript',true); } /** * @param boolean whether the TValidationSummary component updates itself using client-side script. */ public function setEnableClientScript($value) { $this->setViewState('EnableClientScript',TPropertyValue::ensureBoolean($value),true); } /** * @return boolean whether the validation summary is displayed in a message box. Defaults to false. */ public function getShowMessageBox() { return $this->getViewState('ShowMessageBox',false); } /** * @param boolean whether the validation summary is displayed in a message box. */ public function setShowMessageBox($value) { $this->setViewState('ShowMessageBox',TPropertyValue::ensureBoolean($value),false); } /** * @return boolean whether the validation summary is displayed inline. Defaults to true. */ public function getShowSummary() { return $this->getViewState('ShowSummary',true); } /** * @param boolean whether the validation summary is displayed inline. */ public function setShowSummary($value) { $this->setViewState('ShowSummary',TPropertyValue::ensureBoolean($value),true); } /** * @return boolean whether scroll summary into viewport or not. Defaults to true. */ public function getScrollToSummary() { return $this->getViewState('ScrollToSummary',true); } /** * @param boolean whether scroll summary into viewport or not. */ public function setScrollToSummary($value) { $this->setViewState('ScrollToSummary',TPropertyValue::ensureBoolean($value),true); } /** * @return boolean whether the validation summary should be anchored. Defaults to false. */ public function getShowAnchor() { return $this->getViewState('ShowAnchor',false); } /** * @param boolean whether the validation summary should be anchored. */ public function setShowAnchor($value) { $this->setViewState('ShowAnchor',TPropertyValue::ensureBoolean($value),false); } /** * Gets the auto-update for this summary. * @return boolean automatic client-side summary updates. Defaults to true. */ public function getAutoUpdate() { return $this->getViewState('AutoUpdate', true); } /** * Sets the summary to auto-update on the client-side * @param boolean true for automatic summary updates. */ public function setAutoUpdate($value) { $this->setViewState('AutoUpdate', TPropertyValue::ensureBoolean($value), true); } /** * @return string the group which this validator belongs to */ public function getValidationGroup() { return $this->getViewState('ValidationGroup',''); } /** * @param string the group which this validator belongs to */ public function setValidationGroup($value) { $this->setViewState('ValidationGroup',$value,''); } protected function addAttributesToRender($writer) { $display=$this->getDisplay(); $visible=$this->getEnabled(true) && count($this->getErrorMessages()) > 0; if(!$visible) { if($display===TValidationSummaryDisplayStyle::None || $display===TValidationSummaryDisplayStyle::Dynamic) $writer->addStyleAttribute('display','none'); else $writer->addStyleAttribute('visibility','hidden'); } $writer->addAttribute('id',$this->getClientID()); parent::addAttributesToRender($writer); } /** * Render the javascript for validation summary. * @param array list of options for validation summary. */ protected function renderJsSummary() { if(!$this->getEnabled(true) || !$this->getEnableClientScript()) return; $cs = $this->getPage()->getClientScript(); $cs->registerPradoScript('validator'); //need to register the validation manager is validation summary is alone. $formID=$this->getPage()->getForm()->getClientID(); $scriptKey = "TBaseValidator:$formID"; if($this->getEnableClientScript() && !$cs->isEndScriptRegistered($scriptKey)) { $manager['FormID'] = $formID; $options = TJavaScript::encode($manager); $cs->registerPradoScript('validator'); $cs->registerEndScript($scriptKey, "new Prado.ValidationManager({$options});"); } $options=TJavaScript::encode($this->getClientScriptOptions()); $script = "new Prado.WebUI.TValidationSummary({$options});"; $cs->registerEndScript($this->getClientID(), $script); } /** * Get a list of options for the client-side javascript validation summary. * @return array list of options for the summary */ protected function getClientScriptOptions() { $options['ID'] = $this->getClientID(); $options['FormID'] = $this->getPage()->getForm()->getClientID(); if($this->getShowMessageBox()) $options['ShowMessageBox']=true; if(!$this->getShowSummary()) $options['ShowSummary']=false; $options['ScrollToSummary']=$this->getScrollToSummary(); $options['HeaderText']=$this->getHeaderText(); $options['DisplayMode']=$this->getDisplayMode(); $options['Refresh'] = $this->getAutoUpdate(); $options['ValidationGroup'] = $this->getValidationGroup(); $options['Display'] = $this->getDisplay(); if($this->_clientSide!==null) $options = array_merge($options,$this->_clientSide->getOptions()->toArray()); return $options; } /** * @return TClientSideValidationSummaryOptions client-side validation summary * event options. */ public function getClientSide() { if($this->_clientSide===null) $this->_clientSide = $this->createClientScript(); return $this->_clientSide; } /** * @return TClientSideValidationSummaryOptions javascript validation summary * event options. */ protected function createClientScript() { return new TClientSideValidationSummaryOptions; } /** * Get the list of validation error messages. * @return array list of validator error messages. */ protected function getErrorMessages() { $validators=$this->getPage()->getValidators($this->getValidationGroup()); $messages = array(); foreach($validators as $validator) { if(!$validator->getIsValid() && ($msg=$validator->getErrorMessage())!=='') //$messages[] = $validator->getAnchoredMessage($msg); $messages[] = $msg; } return $messages; } /** * Overrides parent implementation by rendering TValidationSummary-specific presentation. * @return string the rendering result */ public function renderContents($writer) { $this->renderJsSummary(); if($this->getShowSummary()) { // $this->setStyle('display:block'); switch($this->getDisplayMode()) { case TValidationSummaryDisplayMode::SimpleList: $this->renderList($writer); break; case TValidationSummaryDisplayMode::SingleParagraph: $this->renderSingleParagraph($writer); break; case TValidationSummaryDisplayMode::BulletList: $this->renderBulletList($writer); break; case TValidationSummaryDisplayMode::HeaderOnly: $this->renderHeaderOnly($writer); break; } } } /** * Render the validation summary as a simple list. * @param array list of messages * @param string the header text * @return string summary list */ protected function renderList($writer) { $header=$this->getHeaderText(); $messages=$this->getErrorMessages(); $content = ''; if(strlen($header)) $content.= $header."<br/>\n"; foreach($messages as $message) $content.="$message<br/>\n"; $writer->write($content); } /** * Render the validation summary as a paragraph. * @param array list of messages * @param string the header text * @return string summary paragraph */ protected function renderSingleParagraph($writer) { $header=$this->getHeaderText(); $messages=$this->getErrorMessages(); $content = $header; foreach($messages as $message) $content.= ' '.$message; $writer->write($content); } /** * Render the validation summary as a bullet list. * @param array list of messages * @param string the header text * @return string summary bullet list */ protected function renderBulletList($writer) { $header=$this->getHeaderText(); $messages=$this->getErrorMessages(); $content = $header; if(count($messages)>0) { $content .= "<ul>\n"; foreach($messages as $message) $content.= '<li>'.$message."</li>\n"; $content .= "</ul>\n"; } $writer->write($content); } /** * Render the validation summary header text only. * @param THtmlWriter the writer used for the rendering purpose */ protected function renderHeaderOnly($writer) { $writer->write($this->getHeaderText()); } } /** * TClientSideValidationSummaryOptions class. * * Client-side validation summary events such as {@link setOnHideSummary * OnHideSummary} and {@link setOnShowSummary OnShowSummary} can be modified * through the {@link TBaseValidator:: getClientSide ClientSide} property of a * validation summary. * * The <tt>OnHideSummary</tt> event is raise when the validation summary * requests to hide the messages. * * The <tt>OnShowSummary</tt> event is raised when the validation summary * requests to show the messages. * * See the quickstart documentation for further details. * * @author Wei Zhuo <weizhuo[at]gmail[dot]com> * @package System.Web.UI.WebControls * @since 3.0 */ class TClientSideValidationSummaryOptions extends TClientSideOptions { /** * @return string javascript code for client-side OnHideSummary event. */ public function getOnHideSummary() { return $this->getOption('OnHideSummary'); } /** * Client-side OnHideSummary validation summary event is raise when all the * validators are valid. This will override the default client-side * validation summary behaviour. * @param string javascript code for client-side OnHideSummary event. */ public function setOnHideSummary($javascript) { $this->setFunction('OnHideSummary', $javascript); } /** * Client-side OnShowSummary event is raise when one or more validators are * not valid. This will override the default client-side validation summary * behaviour. * @param string javascript code for client-side OnShowSummary event. */ public function setOnShowSummary($javascript) { $this->setFunction('OnShowSummary', $javascript); } /** * @return string javascript code for client-side OnShowSummary event. */ public function getOnShowSummary() { return $this->getOption('OnShowSummary'); } /** * Ensure the string is a valid javascript function. The code block * is enclosed with "function(summary, validators){ }" block. * @param string javascript code. * @return string javascript function code. */ protected function ensureFunction($javascript) { return "function(summary, validators){ {$javascript} }"; } } /** * TValidationSummaryDisplayMode class. * TValidationSummaryDisplayMode defines the enumerable type for the possible modes * that a {@link TValidationSummary} can organize and display the collected error messages. * * The following enumerable values are defined: * - SimpleList: the error messages are displayed as a list without any decorations. * - SingleParagraph: the error messages are concatenated together into a paragraph. * - BulletList: the error messages are displayed as a bulleted list. * - HeaderOnly: only the HeaderText will be display. * * @author Qiang Xue <qiang.xue@gmail.com> * @package System.Web.UI.WebControls * @since 3.0.4 */ class TValidationSummaryDisplayMode extends TEnumerable { const SimpleList='SimpleList'; const SingleParagraph='SingleParagraph'; const BulletList='BulletList'; const HeaderOnly='HeaderOnly'; } /** * TValidationSummaryDisplay class. * TValidationSummaryDisplay defines the enumerable type for the possible styles * that a {@link TValidationSummary} can display the collected error messages. * * The following enumerable values are defined: * - None: the error messages are not displayed * - Dynamic: the error messages are dynamically added to display as the corresponding validators fail * - Fixed: Similar to Dynamic except that the error messages physically occupy the page layout (even though they may not be visible) * * @author Qiang Xue <qiang.xue@gmail.com> * @package System.Web.UI.WebControls * @since 3.0.4 */ class TValidationSummaryDisplayStyle extends TEnumerable { const None='None'; const Dynamic='Dynamic'; const Fixed='Fixed'; }
Close