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 | : 52.14.223.136
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 /
[ HOME SHELL ]
Name
Size
Permission
Action
ActiveControls
[ DIR ]
drwxr-xr-x
JuiControls
[ DIR ]
drwxr-xr-x
WebControls
[ DIR ]
drwxr-xr-x
IBindable.php
527
B
-rw-r--r--
IBroadcastEventReceiver.php
941
B
-rw-r--r--
IButtonControl.php
2.5
KB
-rw-r--r--
INamingContainer.php
467
B
-rw-r--r--
IPageStatePersister.php
888
B
-rw-r--r--
IPostBackDataHandler.php
1.28
KB
-rw-r--r--
IPostBackEventHandler.php
830
B
-rw-r--r--
IRenderable.php
618
B
-rw-r--r--
ISurroundable.php
887
B
-rw-r--r--
ITemplate.php
761
B
-rw-r--r--
ITheme.php
621
B
-rw-r--r--
IValidatable.php
830
B
-rw-r--r--
IValidator.php
1.13
KB
-rw-r--r--
TBroadcastEventParameter.php
1.49
KB
-rw-r--r--
TCachePageStatePersister.php
6.17
KB
-rw-r--r--
TClientScriptManager.php
27.57
KB
-rw-r--r--
TClientSideOptions.php
2.24
KB
-rw-r--r--
TCommandEventParameter.php
1.26
KB
-rw-r--r--
TCompositeControl.php
950
B
-rw-r--r--
TCompositeLiteral.php
2.87
KB
-rw-r--r--
TControl.php
55.29
KB
-rw-r--r--
TControlAdapter.php
3.67
KB
-rw-r--r--
TControlCollection.php
2.47
KB
-rw-r--r--
TEmptyControlCollection.php
1.24
KB
-rw-r--r--
TEventContent.php
1.38
KB
-rw-r--r--
TForm.php
4.45
KB
-rw-r--r--
THtmlWriter.php
5.32
KB
-rw-r--r--
TPage.php
35.57
KB
-rw-r--r--
TPageStateFormatter.php
2.69
KB
-rw-r--r--
TPageStatePersister.php
1.66
KB
-rw-r--r--
TSessionPageStatePersister.php
3.93
KB
-rw-r--r--
TSkinTemplate.php
1.38
KB
-rw-r--r--
TTemplate.php
35.29
KB
-rw-r--r--
TTemplateControl.php
9.48
KB
-rw-r--r--
TTemplateControlInheritable.ph...
3.38
KB
-rw-r--r--
TTemplateManager.php
4.2
KB
-rw-r--r--
TTheme.php
10.8
KB
-rw-r--r--
TThemeManager.php
5.6
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : THtmlWriter.php
<?php /** * THtmlWriter class file * * @author Qiang Xue <qiang.xue@gmail.com> * @link https://github.com/pradosoft/prado * @license https://github.com/pradosoft/prado/blob/master/LICENSE */ namespace Prado\Web\UI; use Prado\IO\ITextWriter; use Prado\Web\THttpUtility; /** * THtmlWriter class * * THtmlWriter is a writer that renders valid XHTML outputs. * It provides functions to render tags, their attributes and stylesheet fields. * Attribute and stylesheet values will be automatically HTML-encoded if * they require so. For example, the 'value' attribute in an input tag * will be encoded. * * A common usage of THtmlWriter is as the following sequence: * <code> * $writer->addAttribute($name1,$value1); * $writer->addAttribute($name2,$value2); * $writer->renderBeginTag($tagName); * // ... render contents enclosed within the tag here * $writer->renderEndTag(); * </code> * Make sure each invocation of {@link renderBeginTag} is accompanied with * a {@link renderEndTag} and they are properly nested, like nesting * tags in HTML and XHTML. * * @author Qiang Xue <qiang.xue@gmail.com> * @since 3.0 */ class THtmlWriter extends \Prado\TApplicationComponent implements \Prado\IO\ITextWriter { /** * @var array list of tags are do not need a closing tag */ private static $_simpleTags = [ 'area' => true, 'base' => true, 'basefont' => true, 'bgsound' => true, 'col' => true, 'embed' => true, 'frame' => true, 'hr' => true, 'img' => true, 'input' => true, 'isindex' => true, 'link' => true, 'meta' => true, 'wbr' => true, ]; /** * @var array list of attributes to be rendered for a tag */ private $_attributes = []; /** * @var array list of openning tags */ private $_openTags = []; /** * @var array list of style attributes */ private $_styles = []; /** * @var ITextWriter writer */ protected $_writer; /** * Constructor. * @param ITextWriter $writer a writer that THtmlWriter will pass its rendering result to */ public function __construct($writer) { $this->_writer = $writer; parent::__construct(); } public function getWriter() { return $this->_writer; } public function setWriter($writer) { $this->_writer = $writer; } /** * Adds a list of attributes to be rendered. * @param array $attrs list of attributes to be rendered */ public function addAttributes($attrs) { foreach ($attrs as $name => $value) { $this->_attributes[THttpUtility::htmlStrip($name)] = THttpUtility::htmlEncode($value); } } /** * Adds an attribute to be rendered. * @param string $name name of the attribute * @param string $value value of the attribute */ public function addAttribute($name, $value) { $this->_attributes[THttpUtility::htmlStrip($name)] = THttpUtility::htmlEncode($value); } /** * Removes the named attribute from rendering * @param string $name name of the attribute to be removed */ public function removeAttribute($name) { unset($this->_attributes[THttpUtility::htmlStrip($name)]); } /** * Adds a list of stylesheet attributes to be rendered. * @param array $attrs list of stylesheet attributes to be rendered */ public function addStyleAttributes($attrs) { foreach ($attrs as $name => $value) { $this->_styles[THttpUtility::htmlStrip($name)] = THttpUtility::htmlEncode($value); } } /** * Adds a stylesheet attribute to be rendered * @param string $name stylesheet attribute name * @param string $value stylesheet attribute value */ public function addStyleAttribute($name, $value) { $this->_styles[THttpUtility::htmlStrip($name)] = THttpUtility::htmlEncode($value); } /** * Removes the named stylesheet attribute from rendering * @param string $name name of the stylesheet attribute to be removed */ public function removeStyleAttribute($name) { unset($this->_styles[THttpUtility::htmlStrip($name)]); } /** * Flushes the rendering result. * This will invoke the underlying writer's flush method. * @return string the content being flushed */ public function flush() { return $this->_writer->flush(); } /** * Renders a string. * @param string $str string to be rendered */ public function write($str) { $this->_writer->write($str); } /** * Renders a string and appends a newline to it. * @param string $str string to be rendered */ public function writeLine($str = '') { $this->_writer->write($str . "\n"); } /** * Renders an HTML break. */ public function writeBreak() { $this->_writer->write('<br/>'); } /** * Renders the openning tag. * @param string $tagName tag name */ public function renderBeginTag($tagName) { $str = '<' . $tagName; foreach ($this->_attributes as $name => $value) { $str .= ' ' . $name . '="' . $value . '"'; } if (!empty($this->_styles)) { $str .= ' style="'; foreach ($this->_styles as $name => $value) { $str .= $name . ':' . $value . ';'; } $str .= '"'; } if (isset(self::$_simpleTags[$tagName])) { $str .= ' />'; $this->_openTags[] = ''; } else { $str .= '>'; $this->_openTags[] = $tagName; } $this->_writer->write($str); $this->_attributes = []; $this->_styles = []; } /** * Renders the closing tag. */ public function renderEndTag() { if (!empty($this->_openTags) && ($tagName = array_pop($this->_openTags)) !== '') { $this->_writer->write('</' . $tagName . '>'); } } }
Close