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.17.196
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 : rank_group_game.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 . '/filelib.php'); require_login(); global $USER, $COURSE, $OUTPUT, $CFG; $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/rank_game.php', array('id' => $courseid)); $PAGE->set_context(context_course::instance($courseid)); $PAGE->set_title(get_string('rank_group_game_title', 'block_game')); $PAGE->set_heading(get_string('rank_group_game_title', 'block_game')); echo $OUTPUT->header(); $game = new stdClass(); $cfggame = get_config('block_game'); if ($courseid == SITEID) { $game->config = $cfggame; } else { $game->config = block_game_get_config_block($courseid); } $limit = 0; if (isset($game->config->show_rank) && $game->config->show_rank == 1) { $outputhtml = '<div class="rank">'; if ($courseid != SITEID) { $outputhtml .= '<h3>( ' . $course->fullname . ' ) </h3><br/>'; $outputhtml .= '<table border="0" width="100%">'; if (isset($game->config->rank_group_calc) && $game->config->rank_group_calc == 1) { $rs = block_game_ranking_group_md($courseid); } else { $rs = block_game_ranking_group($courseid); } $ord = 1; foreach ($rs as $group) { $ordtxt = $ord . 'º'; $grouptxt = $group->name; $groupcount = $group->members; $scoretxt = number_format($group->pt, 2); if (isset($game->config->rank_group_calc) && $game->config->rank_group_calc == 1) { $scoretxt = number_format($group->md, 2); } $group = $DB->get_record('groups', array('id' => $group->id), '*', MUST_EXIST); $outputhtml .= '<tr>'; $outputhtml .= '<td width="10%" align="center">' . $ordtxt . '</td>'; $outputhtml .= '<td width="10%" align="right">' . print_group_picture($group, $courseid, false, true, false) . '</td>'; $outputhtml .= '<td width="70%" align="left"> ' . $grouptxt . '(' . $groupcount . ')</td>'; $outputhtml .= '<td width="10%" align="left"> ' . $scoretxt; $outputhtml .= get_string('abbreviate_score', 'block_game') . '</td>'; $outputhtml .= '</tr>'; $outputhtml .= '<tr><td colspan="4"><hr/></td></tr>'; $ord++; } $outputhtml .= '</table>'; } $outputhtml .= '</div>'; } else { $outputhtml = "..."; $context = context_course::instance($courseid, MUST_EXIST); if (has_capability('moodle/course:update', $context, $USER->id)) { $outputhtml = get_string('not_initial_config_game', 'block_game'); } } echo $outputhtml; echo $OUTPUT->footer();
Close