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.51
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.backup.39 /
mod /
assign /
[ HOME SHELL ]
Name
Size
Permission
Action
amd
[ DIR ]
drwxrwxr-x
backup
[ DIR ]
drwxrwxr-x
classes
[ DIR ]
drwxrwxr-x
db
[ DIR ]
drwxrwxr-x
feedback
[ DIR ]
drwxrwxr-x
lang
[ DIR ]
drwxrwxr-x
pix
[ DIR ]
drwxrwxr-x
submission
[ DIR ]
drwxrwxr-x
templates
[ DIR ]
drwxrwxr-x
tests
[ DIR ]
drwxrwxr-x
yui
[ DIR ]
drwxrwxr-x
adminlib.php
12.02
KB
-rw-rw-r--
adminmanageplugins.php
1.41
KB
-rw-rw-r--
assignmentplugin.php
23.71
KB
-rw-rw-r--
batchsetallocatedmarkerform.ph...
2.33
KB
-rw-rw-r--
batchsetmarkingworkflowstatefo...
3.73
KB
-rw-rw-r--
extensionform.php
5.58
KB
-rw-rw-r--
externallib.php
124.66
KB
-rw-rw-r--
feedbackplugin.php
6.34
KB
-rw-rw-r--
gradeform.php
3.69
KB
-rw-rw-r--
gradingbatchoperationsform.php
3.9
KB
-rw-rw-r--
gradingoptionsform.php
5.07
KB
-rw-rw-r--
gradingtable.php
63.67
KB
-rw-rw-r--
index.php
1.84
KB
-rw-rw-r--
lib.php
74.12
KB
-rw-rw-r--
locallib.php
374.97
KB
-rw-rw-r--
mod_form.php
13.83
KB
-rw-rw-r--
module.js
8.01
KB
-rw-rw-r--
override_form.php
11.78
KB
-rw-rw-r--
overridedelete.php
3.17
KB
-rw-rw-r--
overrideedit.php
7.68
KB
-rw-rw-r--
overrides.php
10.25
KB
-rw-rw-r--
quickgradingform.php
2.39
KB
-rw-rw-r--
renderable.php
36.57
KB
-rw-rw-r--
renderer.php
64.42
KB
-rw-rw-r--
settings.php
16.56
KB
-rw-rw-r--
styles.css
33.09
KB
-rw-rw-r--
submission_form.php
2.19
KB
-rw-rw-r--
submissionconfirmform.php
2.32
KB
-rw-rw-r--
submissionplugin.php
4.41
KB
-rw-rw-r--
upgrade.txt
8.74
KB
-rw-rw-r--
upgradelib.php
20.07
KB
-rw-rw-r--
version.php
1.16
KB
-rw-rw-r--
view.php
1.9
KB
-rw-rw-r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : overridedelete.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/>. /** * This page handles deleting assigment overrides * * @package mod_assign * @copyright 2016 Ilya Tregubov * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ require_once(dirname(__FILE__) . '/../../config.php'); require_once($CFG->dirroot.'/mod/assign/lib.php'); require_once($CFG->dirroot.'/mod/assign/locallib.php'); require_once($CFG->dirroot.'/mod/assign/override_form.php'); $overrideid = required_param('id', PARAM_INT); $confirm = optional_param('confirm', false, PARAM_BOOL); if (! $override = $DB->get_record('assign_overrides', array('id' => $overrideid))) { print_error('invalidoverrideid', 'assign'); } list($course, $cm) = get_course_and_cm_from_instance($override->assignid, 'assign'); $context = context_module::instance($cm->id); $assign = new assign($context, null, null); require_login($course, false, $cm); // Check the user has the required capabilities to modify an override. require_capability('mod/assign:manageoverrides', $context); $url = new moodle_url('/mod/assign/overridedelete.php', array('id' => $override->id)); $confirmurl = new moodle_url($url, array('id' => $override->id, 'confirm' => 1)); $cancelurl = new moodle_url('/mod/assign/overrides.php', array('cmid' => $cm->id)); if (!empty($override->userid)) { $cancelurl->param('mode', 'user'); } // If confirm is set (PARAM_BOOL) then we have confirmation of intention to delete. if ($confirm) { require_sesskey(); $assign->delete_override($override->id); reorder_group_overrides($assign->get_instance()->id); redirect($cancelurl); } // Prepare the page to show the confirmation form. $stroverride = get_string('override', 'assign'); $title = get_string('deletecheck', null, $stroverride); $PAGE->set_url($url); $PAGE->set_pagelayout('admin'); $PAGE->navbar->add($title); $PAGE->set_title($title); $PAGE->set_heading($course->fullname); echo $OUTPUT->header(); echo $OUTPUT->heading(format_string($assign->get_instance()->name, true, array('context' => $context))); if ($override->groupid) { $group = $DB->get_record('groups', array('id' => $override->groupid), 'id, name'); $confirmstr = get_string("overridedeletegroupsure", "assign", $group->name); } else { $namefields = get_all_user_name_fields(true); $user = $DB->get_record('user', array('id' => $override->userid), 'id, ' . $namefields); $confirmstr = get_string("overridedeleteusersure", "assign", fullname($user)); } echo $OUTPUT->confirm($confirmstr, $confirmurl, $cancelurl); echo $OUTPUT->footer();
Close