__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

www-data@216.73.216.148: ~ $
<?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/>.

/**
 * Redirect the user based on their capabilities to either a scorm activity or to scorm reports
 *
 * @package   mod_scorm
 * @category  grade
 * @copyright 2010 onwards Dan Marsden
 * @license   http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
 */

require_once("../../config.php");

$id = required_param('id', PARAM_INT); // Course module ID.

if (! $cm = get_coursemodule_from_id('scorm', $id)) {
    throw new \moodle_exception('invalidcoursemodule');
}

if (! $scorm = $DB->get_record('scorm', array('id' => $cm->instance))) {
    throw new \moodle_exception('invalidcoursemodule');
}

if (! $course = $DB->get_record('course', array('id' => $scorm->course))) {
    throw new \moodle_exception('coursemisconf');
}

require_login($course, false, $cm);

if (has_capability('mod/scorm:viewreport', context_module::instance($cm->id))) {
    redirect('report.php?id='.$cm->id);
} else {
    redirect('view.php?id='.$cm->id);
}

Filemanager

Name Type Size Permission Actions
backup Folder 0755
classes Folder 0755
datamodels Folder 0755
db Folder 0755
lang Folder 0755
pix Folder 0755
report Folder 0755
templates Folder 0755
tests Folder 0755
aicc.php File 24.69 KB 0644
datamodel.php File 4.73 KB 0644
deprecatedlib.php File 1.14 KB 0644
grade.php File 1.59 KB 0644
index.php File 4.37 KB 0644
lib.php File 65.18 KB 0644
loadSCO.php File 6.51 KB 0644
locallib.php File 99.89 KB 0644
mod_form.php File 27.77 KB 0644
module.js File 40.32 KB 0644
player.js File 1.23 KB 0644
player.php File 12.23 KB 0644
prereqs.php File 3.21 KB 0644
renderer.php File 8.45 KB 0644
report.php File 3.61 KB 0644
reportsettings_form.php File 2.12 KB 0644
request.js File 9.93 KB 0644
settings.php File 8.76 KB 0644
styles.css File 5.19 KB 0644
upgrade.txt File 1.71 KB 0644
version.php File 1.15 KB 0644
view.js File 3.61 KB 0644
view.php File 7.44 KB 0644
Filemanager