Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 3.133.142.101
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
myadmin /
libraries /
classes /
Config /
Forms /
Delete
Unzip
Name
Size
Permission
Date
Action
Page
[ DIR ]
drwxr-xr-x
2020-10-15 12:07
Setup
[ DIR ]
drwxr-xr-x
2020-10-15 12:07
User
[ DIR ]
drwxr-xr-x
2020-10-15 12:07
BaseForm.php
2.14
KB
-rw-r--r--
2021-02-05 18:26
BaseFormList.php
3.03
KB
-rw-r--r--
2021-02-05 18:26
Save
Rename
<?php /* vim: set expandtab sw=4 ts=4 sts=4: */ /** * User preferences form * * @package PhpMyAdmin */ declare(strict_types=1); namespace PhpMyAdmin\Config\Forms; use PhpMyAdmin\Config\ConfigFile; /** * Class BaseFormList * @package PhpMyAdmin\Config\Forms */ class BaseFormList { /** * List of all forms */ protected static $all = []; /** * @var string */ protected static $ns = 'PhpMyAdmin\\Config\\Forms\\'; /** * @var array */ private $_forms; /** * @return array */ public static function getAll() { return static::$all; } /** * @param string $name Name * @return bool */ public static function isValid($name) { return in_array($name, static::$all); } /** * @param string $name Name * @return null|string */ public static function get($name) { if (static::isValid($name)) { return static::$ns . $name . 'Form'; } return null; } /** * Constructor * * @param ConfigFile $cf Config file instance */ public function __construct(ConfigFile $cf) { $this->_forms = []; foreach (static::$all as $form) { $class = static::get($form); $this->_forms[] = new $class($cf); } } /** * Processes forms, returns true on successful save * * @param bool $allowPartialSave allows for partial form saving * on failed validation * @param bool $checkFormSubmit whether check for $_POST['submit_save'] * * @return boolean whether processing was successful */ public function process($allowPartialSave = true, $checkFormSubmit = true) { $ret = true; foreach ($this->_forms as $form) { $ret = $ret && $form->process($allowPartialSave, $checkFormSubmit); } return $ret; } /** * Displays errors * * @return string HTML for errors */ public function displayErrors() { $ret = ''; foreach ($this->_forms as $form) { $ret .= $form->displayErrors(); } return $ret; } /** * Reverts erroneous fields to their default values * * @return void */ public function fixErrors() { foreach ($this->_forms as $form) { $form->fixErrors(); } } /** * Tells whether form validation failed * * @return boolean */ public function hasErrors() { $ret = false; foreach ($this->_forms as $form) { $ret = $ret || $form->hasErrors(); } return $ret; } /** * Returns list of fields used in the form. * * @return string[] */ public static function getFields() { $names = []; foreach (static::$all as $form) { $class = static::get($form); $names = array_merge($names, $class::getFields()); } return $names; } }