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 /
magazine /
[ HOME SHELL ]
Name
Size
Permission
Action
lang
[ DIR ]
drwxrwxrwx
layout
[ DIR ]
drwxrwxrwx
pix
[ DIR ]
drwxrwxrwx
pix_core
[ DIR ]
drwxrwxrwx
style
[ DIR ]
drwxrwxrwx
config.php
6.62
KB
-rwxrwxrwx
lib.php
4.69
KB
-rwxrwxrwx
settings.php
3.86
KB
-rwxrwxrwx
version.php
1.21
KB
-rwxrwxrwx
Delete
Unzip
Zip
${this.title}
Close
Code Editor : lib.php
<?php /** * Makes our changes to the CSS * * @param string $css * @param theme_config $theme * @return string */ function magazine_process_css($css, $theme) { // Set the link color if (!empty($theme->settings->linkcolor)) { $linkcolor = $theme->settings->linkcolor; } else { $linkcolor = null; } $css = magazine_set_linkcolor($css, $linkcolor); // Set the link hover color if (!empty($theme->settings->linkhover)) { $linkhover = $theme->settings->linkhover; } else { $linkhover = null; } $css = magazine_set_linkhover($css, $linkhover); // Set the main color if (!empty($theme->settings->maincolor)) { $maincolor = $theme->settings->maincolor; } else { $maincolor = null; } $css = magazine_set_maincolor($css, $maincolor); // Set the main accent color if (!empty($theme->settings->maincoloraccent)) { $maincoloraccent = $theme->settings->maincoloraccent; } else { $maincoloraccent = null; } $css = magazine_set_maincoloraccent($css, $maincoloraccent); // Set the main headings color if (!empty($theme->settings->headingcolor)) { $headingcolor = $theme->settings->headingcolor; } else { $headingcolor = null; } $css = magazine_set_headingcolor($css, $headingcolor); // Set the block headings color if (!empty($theme->settings->blockcolor)) { $blockcolor = $theme->settings->blockcolor; } else { $blockcolor = null; } $css = magazine_set_blockcolor($css, $blockcolor); // Set the forum background color if (!empty($theme->settings->forumback)) { $forumback = $theme->settings->forumback; } else { $forumback = null; } $css = magazine_set_forumback($css, $forumback); // Set the body background image if (!empty($theme->settings->background)) { $background = $theme->settings->background; } else { $background = null; } $css = magazine_set_background($css, $background); // Set the logo image if (!empty($theme->settings->logo)) { $logo = $theme->settings->logo; } else { $logo = null; } $css = magazine_set_logo($css, $logo); // Return the CSS return $css; } /** * Sets the link color variable in CSS * */ function magazine_set_linkcolor($css, $linkcolor) { $tag = '[[setting:linkcolor]]'; $replacement = $linkcolor; if (is_null($replacement)) { $replacement = '#32529a'; } $css = str_replace($tag, $replacement, $css); return $css; } function magazine_set_linkhover($css, $linkhover) { $tag = '[[setting:linkhover]]'; $replacement = $linkhover; if (is_null($replacement)) { $replacement = '#4e2300'; } $css = str_replace($tag, $replacement, $css); return $css; } function magazine_set_maincolor($css, $maincolor) { $tag = '[[setting:maincolor]]'; $replacement = $maincolor; if (is_null($replacement)) { $replacement = '#002f2f'; } $css = str_replace($tag, $replacement, $css); return $css; } function magazine_set_maincoloraccent($css, $maincoloraccent) { $tag = '[[setting:maincoloraccent]]'; $replacement = $maincoloraccent; if (is_null($replacement)) { $replacement = '#092323'; } $css = str_replace($tag, $replacement, $css); return $css; } function magazine_set_headingcolor($css, $headingcolor) { $tag = '[[setting:headingcolor]]'; $replacement = $headingcolor; if (is_null($replacement)) { $replacement = '#4e0000'; } $css = str_replace($tag, $replacement, $css); return $css; } function magazine_set_blockcolor($css, $blockcolor) { $tag = '[[setting:blockcolor]]'; $replacement = $blockcolor; if (is_null($replacement)) { $replacement = '#002f2f'; } $css = str_replace($tag, $replacement, $css); return $css; } function magazine_set_forumback($css, $forumback) { $tag = '[[setting:forumback]]'; $replacement = $forumback; if (is_null($replacement)) { $replacement = '#e6e2af'; } $css = str_replace($tag, $replacement, $css); return $css; } function magazine_set_background($css, $background) { global $OUTPUT; $tag = '[[setting:background]]'; $replacement = $background; if (is_null($replacement)) { $replacement = $OUTPUT->pix_url('bg4', 'theme'); } $css = str_replace($tag, $replacement, $css); return $css; } function magazine_set_logo($css, $logo) { global $OUTPUT; $tag = '[[setting:logo]]'; $replacement = $logo; if (is_null($replacement)) { $replacement = $OUTPUT->pix_url('logo', 'theme'); } $css = str_replace($tag, $replacement, $css); return $css; }
Close