Linux cesa-www-main 6.1.0-49-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
Apache/2.4.68 (Debian)
Server IP : 10.218.0.2 & Your IP : 216.73.216.28
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
cesa.co.za /
sipdm.cesa.co.za /
mod /
scorm /
Delete
Unzip
Name
Size
Permission
Date
Action
backup
[ DIR ]
drwxr-sr-x
2017-06-22 15:16
classes
[ DIR ]
drwxr-sr-x
2017-06-22 15:26
datamodels
[ DIR ]
drwxr-sr-x
2017-06-22 15:26
db
[ DIR ]
drwxr-sr-x
2017-06-22 15:26
lang
[ DIR ]
drwxr-sr-x
2017-06-22 15:16
pix
[ DIR ]
drwxr-sr-x
2017-06-22 15:26
report
[ DIR ]
drwxr-sr-x
2017-06-22 15:26
tests
[ DIR ]
drwxr-sr-x
2017-06-22 15:27
aicc.php
23.67
KB
-rw-r--r--
2017-06-22 15:26
datamodel.php
4.25
KB
-rw-r--r--
2017-06-22 15:26
grade.php
1.54
KB
-rw-r--r--
2017-06-22 15:26
index.php
4.37
KB
-rw-r--r--
2017-06-22 15:26
lib.php
52.75
KB
-rw-r--r--
2017-06-22 15:26
loadSCO.php
6.39
KB
-rw-r--r--
2017-06-22 15:26
locallib.php
89.88
KB
-rw-r--r--
2017-06-22 15:26
mod_form.php
25.92
KB
-rw-r--r--
2017-06-22 15:26
module.js
36.71
KB
-rw-r--r--
2017-06-22 15:26
player.js
1.23
KB
-rw-r--r--
2017-06-22 15:26
player.php
11.75
KB
-rw-r--r--
2017-06-22 15:26
prereqs.php
3.11
KB
-rw-r--r--
2017-06-22 15:26
renderer.php
7.23
KB
-rw-r--r--
2017-06-22 15:26
report.php
3.48
KB
-rw-r--r--
2017-06-22 15:26
reportsettings_form.php
2.12
KB
-rw-r--r--
2017-06-22 15:26
request.js
1.92
KB
-rw-r--r--
2017-06-22 15:26
settings.php
8.89
KB
-rw-r--r--
2017-06-22 15:26
styles.css
5.19
KB
-rw-r--r--
2017-06-22 15:26
tabs.php
2.04
KB
-rw-r--r--
2017-06-22 15:26
upgrade.txt
767
B
-rw-r--r--
2017-06-22 15:27
version.php
1.18
KB
-rw-r--r--
2017-06-22 15:27
view.js
3.67
KB
-rw-r--r--
2017-06-22 15:27
view.php
7.28
KB
-rw-r--r--
2017-06-22 15:27
Save
Rename
<?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/>. require_once("../../config.php"); require_once($CFG->dirroot.'/mod/scorm/locallib.php'); $id = required_param('id', PARAM_INT); // Course id. $PAGE->set_url('/mod/scorm/index.php', array('id' => $id)); if (!empty($id)) { if (!$course = $DB->get_record('course', array('id' => $id))) { print_error('invalidcourseid'); } } else { print_error('missingparameter'); } require_course_login($course); $PAGE->set_pagelayout('incourse'); // Trigger instances list viewed event. $event = \mod_scorm\event\course_module_instance_list_viewed::create(array('context' => context_course::instance($course->id))); $event->add_record_snapshot('course', $course); $event->trigger(); $strscorm = get_string("modulename", "scorm"); $strscorms = get_string("modulenameplural", "scorm"); $strname = get_string("name"); $strsummary = get_string("summary"); $strreport = get_string("report", 'scorm'); $strlastmodified = get_string("lastmodified"); $PAGE->set_title($strscorms); $PAGE->set_heading($course->fullname); $PAGE->navbar->add($strscorms); echo $OUTPUT->header(); echo $OUTPUT->heading($strscorms); $usesections = course_format_uses_sections($course->format); if ($usesections) { $sortorder = "cw.section ASC"; } else { $sortorder = "m.timemodified DESC"; } if (! $scorms = get_all_instances_in_course("scorm", $course)) { notice(get_string('thereareno', 'moodle', $strscorms), "../../course/view.php?id=$course->id"); exit; } $table = new html_table(); if ($usesections) { $strsectionname = get_string('sectionname', 'format_'.$course->format); $table->head = array ($strsectionname, $strname, $strsummary, $strreport); $table->align = array ("center", "left", "left", "left"); } else { $table->head = array ($strlastmodified, $strname, $strsummary, $strreport); $table->align = array ("left", "left", "left", "left"); } foreach ($scorms as $scorm) { $context = context_module::instance($scorm->coursemodule); $tt = ""; if ($usesections) { if ($scorm->section) { $tt = get_section_name($course, $scorm->section); } } else { $tt = userdate($scorm->timemodified); } $report = ' '; $reportshow = ' '; if (has_capability('mod/scorm:viewreport', $context)) { $trackedusers = scorm_get_count_users($scorm->id, $scorm->groupingid); if ($trackedusers > 0) { $reportshow = html_writer::link('report.php?id='.$scorm->coursemodule, get_string('viewallreports', 'scorm', $trackedusers)); } else { $reportshow = get_string('noreports', 'scorm'); } } else if (has_capability('mod/scorm:viewscores', $context)) { require_once('locallib.php'); $report = scorm_grade_user($scorm, $USER->id); $reportshow = get_string('score', 'scorm').": ".$report; } $options = (object)array('noclean' => true); if (!$scorm->visible) { // Show dimmed if the mod is hidden. $table->data[] = array ($tt, html_writer::link('view.php?id='.$scorm->coursemodule, format_string($scorm->name), array('class' => 'dimmed')), format_module_intro('scorm', $scorm, $scorm->coursemodule), $reportshow); } else { // Show normal if the mod is visible. $table->data[] = array ($tt, html_writer::link('view.php?id='.$scorm->coursemodule, format_string($scorm->name)), format_module_intro('scorm', $scorm, $scorm->coursemodule), $reportshow); } } echo html_writer::empty_tag('br'); echo html_writer::table($table); echo $OUTPUT->footer();