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 | : 108.162.216.83
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 /
glossary /
[ HOME SHELL ]
Name
Size
Permission
Action
backup
[ DIR ]
drwxr-xr-x
classes
[ DIR ]
drwxr-xr-x
db
[ DIR ]
drwxr-xr-x
formats
[ DIR ]
drwxr-xr-x
lang
[ DIR ]
drwxr-xr-x
pix
[ DIR ]
drwxr-xr-x
tests
[ DIR ]
drwxr-xr-x
README.txt
1.7
KB
-rw-r--r--
TODO.txt
607
B
-rw-r--r--
approve.php
2.22
KB
-rw-r--r--
deleteentry.php
2.76
KB
-rw-r--r--
edit.php
3.24
KB
-rw-r--r--
edit_form.php
6.72
KB
-rw-r--r--
editcategories.html
3.29
KB
-rw-r--r--
editcategories.php
10.82
KB
-rw-r--r--
export.php
2.62
KB
-rw-r--r--
exportentry.php
4.36
KB
-rw-r--r--
formats.php
9.5
KB
-rw-r--r--
import.php
15.35
KB
-rw-r--r--
import_form.php
1.14
KB
-rw-r--r--
index.php
4.34
KB
-rw-r--r--
lib.php
164.19
KB
-rw-r--r--
locallib.php
29.11
KB
-rw-r--r--
mod_form.php
10.57
KB
-rw-r--r--
print.php
6.89
KB
-rw-r--r--
rsslib.php
7.79
KB
-rw-r--r--
settings.php
3.82
KB
-rw-r--r--
showentry.php
3.12
KB
-rw-r--r--
showentry_ajax.php
3.77
KB
-rw-r--r--
sql.php
3.83
KB
-rw-r--r--
styles.css
2.5
KB
-rw-r--r--
tabs.php
3.86
KB
-rw-r--r--
upgrade.txt
1.25
KB
-rw-r--r--
version.php
1.2
KB
-rw-r--r--
view.php
19.23
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : deleteentry.php
<?php require_once("../../config.php"); require_once("lib.php"); $id = required_param('id', PARAM_INT); // course module ID $confirm = optional_param('confirm', 0, PARAM_INT); // commit the operation? $entry = optional_param('entry', 0, PARAM_INT); // entry id $prevmode = required_param('prevmode', PARAM_ALPHA); $hook = optional_param('hook', '', PARAM_CLEAN); $url = new moodle_url('/mod/glossary/deleteentry.php', array('id'=>$id,'prevmode'=>$prevmode)); if ($confirm !== 0) { $url->param('confirm', $confirm); } if ($entry !== 0) { $url->param('entry', $entry); } if ($hook !== '') { $url->param('hook', $hook); } $PAGE->set_url($url); $strglossary = get_string("modulename", "glossary"); $strglossaries = get_string("modulenameplural", "glossary"); $stredit = get_string("edit"); $entrydeleted = get_string("entrydeleted","glossary"); if (! $cm = get_coursemodule_from_id('glossary', $id)) { print_error("invalidcoursemodule"); } if (! $course = $DB->get_record("course", array("id"=>$cm->course))) { print_error('coursemisconf'); } if (! $entry = $DB->get_record("glossary_entries", array("id"=>$entry))) { print_error('invalidentry'); } // Permission checks are based on the course module instance so make sure it is correct. if ($cm->instance != $entry->glossaryid) { print_error('invalidentry'); } require_login($course, false, $cm); $context = context_module::instance($cm->id); if (! $glossary = $DB->get_record("glossary", array("id"=>$cm->instance))) { print_error('invalidid', 'glossary'); } // Throws an exception if the user cannot delete the entry. mod_glossary_can_delete_entry($entry, $glossary, $context, false); /// If data submitted, then process and store. if ($confirm and confirm_sesskey()) { // the operation was confirmed. mod_glossary_delete_entry($entry, $glossary, $cm, $context, $course, $hook, $prevmode); redirect("view.php?id=$cm->id&mode=$prevmode&hook=$hook"); } else { // the operation has not been confirmed yet so ask the user to do so $strareyousuredelete = get_string("areyousuredelete", "glossary"); $PAGE->navbar->add(get_string('delete')); $PAGE->set_title($glossary->name); $PAGE->set_heading($course->fullname); echo $OUTPUT->header(); $areyousure = "<b>".format_string($entry->concept)."</b><p>$strareyousuredelete</p>"; $linkyes = 'deleteentry.php'; $linkno = 'view.php'; $optionsyes = array('id'=>$cm->id, 'entry'=>$entry->id, 'confirm'=>1, 'sesskey'=>sesskey(), 'prevmode'=>$prevmode, 'hook'=>$hook); $optionsno = array('id'=>$cm->id, 'mode'=>$prevmode, 'hook'=>$hook); echo $OUTPUT->confirm($areyousure, new moodle_url($linkyes, $optionsyes), new moodle_url($linkno, $optionsno)); echo $OUTPUT->footer(); }
Close