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.59.42
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 /
theme /
trema /
layout /
[ HOME SHELL ]
Name
Size
Permission
Action
columns2.php
2.43
KB
-rw-r--r--
frontpage.php
5.49
KB
-rw-r--r--
login.php
1.94
KB
-rw-r--r--
mydashboard.php
3.22
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : frontpage.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/>. /** * Frontpage file. * * @package theme_trema * @copyright 2019 Trema - {@link https://trema.tech/} * @author Rodrigo Mady * @author Trevor Furtado * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ defined('MOODLE_INTERNAL') || die(); // TODO: add custom HTML area. user_preference_allow_ajax_update('drawer-open-nav', PARAM_ALPHA); require_once($CFG->libdir . '/behat/lib.php'); if (isloggedin()) { $navdraweropen = (get_user_preferences('drawer-open-nav', 'true') == 'true'); } else { $navdraweropen = false; } $extraclasses = []; if ($navdraweropen) { $extraclasses[] = 'drawer-open-left'; } $bodyattributes = $OUTPUT->body_attributes($extraclasses); $blockshtml = $OUTPUT->blocks('side-pre'); $hasblocks = strpos($blockshtml, 'data-block=') !== false; $adminblockshtml = $OUTPUT->blocks('side-admin'); $pluginsettings = get_config("theme_trema"); // Frontpage images. if ($pluginsettings->numberofimages > 1) { $frontpagecarrousel = []; $active = true; for ($i = 1; $i <= $pluginsettings->numberofimages; $i++) { $title = "carrouseltitle{$i}"; $subtitle = "carrouselsubtitle{$i}"; $btntext = "carrouselbtntext{$i}"; $btnhref = "carrouselbtnhref{$i}"; $btnclass = "carrouselbtnclass{$i}"; $url = theme_trema_setting_file_url("frontpageimage{$i}", "frontpageimage{$i}", $PAGE->theme); if (!empty($url)) { $frontpagecarrousel[$i]['image'] = $url; } else { $frontpagecarrousel[$i]['image'] = $OUTPUT->image_url('frontpage/banner2', 'theme'); } $frontpagecarrousel[$i]['index'] = $i - 1; $frontpagecarrousel[$i]['title'] = !empty($pluginsettings->$title) ? format_text($pluginsettings->$title, FORMAT_HTML) : ''; $frontpagecarrousel[$i]['subtitle'] = !empty($pluginsettings->$subtitle) ? format_text($pluginsettings->$subtitle, FORMAT_HTML) : ''; $frontpagecarrousel[$i]['btntext'] = !empty($pluginsettings->$btntext) ? format_text($pluginsettings->$btntext, FORMAT_HTML) : ''; $frontpagecarrousel[$i]['btnhref'] = !empty($pluginsettings->$btnhref) ? $pluginsettings->$btnhref : ''; $frontpagecarrousel[$i]['btnclass'] = !empty($pluginsettings->$btnclass) ? $pluginsettings->$btnclass : ''; // Must have just one slide active. if ($active) { $frontpagecarrousel[$i]['active'] = "active"; $active = false; } } $frontpagecarrousel = array_values($frontpagecarrousel); } else { $frontpagecarrousel = false; } $regionmainsettingsmenu = $OUTPUT->region_main_settings_menu(); $templatecontext = [ 'sitename' => format_string($SITE->shortname, true, [ 'context' => context_course::instance(SITEID), "escape" => false ]), 'output' => $OUTPUT, 'sidepreblocks' => $blockshtml, 'sideadminblocks' => $adminblockshtml, 'hasblocks' => $hasblocks, 'hasadminblocks' => is_siteadmin(), 'bodyattributes' => $bodyattributes, 'navdraweropen' => $navdraweropen, 'regionmainsettingsmenu' => $regionmainsettingsmenu, 'hasregionmainsettingsmenu' => ! empty($regionmainsettingsmenu), 'defaultfrontpagebody' => !empty($pluginsettings->defaultfrontpagebody) ? format_text($pluginsettings->defaultfrontpagebody, FORMAT_HTML) : '', 'defaultfrontpagefooter' => !empty($pluginsettings->defaultfooter) ? format_text($pluginsettings->defaultfooter, FORMAT_HTML) : '', 'frontpagecarrousel' => $frontpagecarrousel, 'frontpagetitle' => !empty($pluginsettings->frontpagetitle) ? format_text($pluginsettings->frontpagetitle, FORMAT_HTML) : '', 'frontpagesubtitle' => !empty($pluginsettings->frontpagesubtitle) ? format_text($pluginsettings->frontpagesubtitle, FORMAT_HTML) : '', 'frontpagebuttontext' => !empty($pluginsettings->frontpagebuttontext) ? format_text($pluginsettings->frontpagebuttontext, FORMAT_HTML) : '', 'frontpagebuttonclass' => !empty($pluginsettings->frontpagebuttonclass) ? $pluginsettings->frontpagebuttonclass : '', 'frontpagebuttonhref' => !empty($pluginsettings->frontpagebuttonhref) ? $pluginsettings->frontpagebuttonhref : '', 'hascards' => !empty($pluginsettings->frontpageenablecards), 'cardstitle' => !empty($pluginsettings->frontpagecardstitle) ? format_text($pluginsettings->frontpagecardstitle, FORMAT_HTML) : '', 'cardssubtitle' => !empty($pluginsettings->frontpagecardssubtitle) ? format_text($pluginsettings->frontpagecardssubtitle, FORMAT_HTML) : '', 'cardssettings' => theme_trema_get_cards_settings(), 'footerinfo' => $pluginsettings->enablefooterinfo ]; $nav = $PAGE->flatnav; $templatecontext['flatnavigation'] = $nav; $templatecontext['firstcollectionlabel'] = $nav->get_collectionlabel(); echo $OUTPUT->render_from_template('theme_trema/frontpage', $templatecontext);
Close