| Current Path : /proc/thread-self/root/proc/thread-self/root/proc/1908984/root/proc/1147586/cwd/ |
| Current File : //proc/thread-self/root/proc/thread-self/root/proc/1908984/root/proc/1147586/cwd/error.php.tar |
home/digilove/public_html/templates/vmbeez3/error.php 0000644 00000020506 15232603234 0017016 0 ustar 00 <?php
/**
* @package Joomla.Site
* @subpackage Templates.beez3
*
* @copyright Copyright (C) 2005 - 2020 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
/** @var JDocumentError $this */
$showRightColumn = 0;
$showleft = 0;
$showbottom = 0;
// Get params
$app = JFactory::getApplication();
$params = $app->getTemplate(true)->params;
$logo = $params->get('logo');
$color = $params->get('templatecolor');
$navposition = $params->get('navposition');
$format = $app->input->getCmd('format', 'html');
?>
<!DOCTYPE html>
<html lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>">
<head>
<meta charset="utf-8" />
<title><?php echo $this->error->getCode(); ?> - <?php echo htmlspecialchars($this->error->getMessage(), ENT_QUOTES, 'UTF-8'); ?></title>
<link href="<?php echo $this->baseurl; ?>/templates/system/css/system.css" rel="stylesheet" />
<link href="<?php echo $this->baseurl; ?>/templates/system/css/error.css" rel="stylesheet" />
<link href="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template; ?>/css/position.css" rel="stylesheet" media="screen" />
<link href="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template; ?>/css/layout.css" rel="stylesheet" media="screen" />
<link href="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template; ?>/css/print.css" rel="stylesheet" media="print" />
<link href="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template; ?>/css/<?php echo htmlspecialchars($color); ?>.css" rel="stylesheet" />
<?php $files = JHtml::_('stylesheet', 'general.css', array('relative' => true, 'returnPath' => true)); ?>
<?php if ($files) : ?>
<?php if (!is_array($files)) : ?>
<?php $files = array($files); ?>
<?php endif; ?>
<?php foreach ($files as $file) : ?>
<link href="<?php echo $file; ?>" rel="stylesheet" />
<?php endforeach; ?>
<?php endif; ?>
<link href="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template; ?>/css/<?php echo htmlspecialchars($color, ENT_COMPAT, 'UTF-8'); ?>.css" rel="stylesheet" />
<?php if ($this->direction === 'rtl') : ?>
<link href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/css/template_rtl.css" rel="stylesheet" />
<?php if (file_exists(JPATH_SITE . '/templates/' . $this->template . '/css/' . $color . '_rtl.css')) : ?>
<link href="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template; ?>/css/<?php echo htmlspecialchars($color, ENT_COMPAT, 'UTF-8'); ?>_rtl.css" rel="stylesheet" />
<?php endif; ?>
<?php endif; ?>
<?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; ?>
<!--[if lte IE 6]><link href="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template; ?>/css/ieonly.css" rel="stylesheet" /><![endif]-->
<!--[if IE 7]><link href="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template; ?>/css/ie7only.css" rel="stylesheet" /><![endif]-->
<!--[if lt IE 9]><script src="<?php echo JUri::root(true); ?>/media/jui/js/html5.js"></script><![endif]-->
<style>
<!--
#errorboxbody
{margin:30px}
#errorboxbody h2
{font-weight:normal;
font-size:1.5em}
#searchbox
{background:#eee;
padding:10px;
margin-top:20px;
border:solid 1px #ddd
}
-->
</style>
</head>
<body>
<div id="all">
<div id="back">
<div id="header">
<div class="logoheader">
<h1 id="logo">
<?php if ($logo) : ?>
<img src="<?php echo $this->baseurl; ?>/<?php echo htmlspecialchars($logo); ?>" alt="<?php echo htmlspecialchars($params->get('sitetitle')); ?>" />
<?php else : ?>
<?php echo htmlspecialchars($params->get('sitetitle')); ?>
<?php endif; ?>
<span class="header1">
<?php echo htmlspecialchars($params->get('sitedescription')); ?>
</span>
</h1>
</div><!-- end logoheader -->
<ul class="skiplinks">
<li>
<a href="#wrapper2" class="u2">
<?php echo JText::_('TPL_BEEZ3_SKIP_TO_ERROR_CONTENT'); ?>
</a>
</li>
<li>
<a href="#nav" class="u2">
<?php echo JText::_('TPL_BEEZ3_ERROR_JUMP_TO_NAV'); ?>
</a>
</li>
</ul>
<div id="line">
</div><!-- end line -->
</div><!-- end header -->
<div id="contentarea2" >
<div class="left1" id="nav">
<h2 class="unseen">
<?php echo JText::_('TPL_BEEZ3_NAVIGATION'); ?>
</h2>
<?php $module = JModuleHelper::getModule('menu'); ?>
<?php echo JModuleHelper::renderModule($module); ?>
</div><!-- end navi -->
<div id="wrapper2">
<div id="errorboxbody">
<h2>
<?php echo JText::_('JERROR_LAYOUT_PAGE_NOT_FOUND'); ?>
</h2>
<h3><?php echo JText::_('JERROR_LAYOUT_ERROR_HAS_OCCURRED_WHILE_PROCESSING_YOUR_REQUEST'); ?></h3>
<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>
<?php if ($format === 'html' && JModuleHelper::getModule('mod_search')) : ?>
<div id="searchbox">
<h3 class="unseen">
<?php echo JText::_('TPL_BEEZ3_SEARCH'); ?>
</h3>
<p>
<?php echo JText::_('JERROR_LAYOUT_SEARCH'); ?>
</p>
<?php $module = JModuleHelper::getModule('mod_search'); ?>
<?php echo JModuleHelper::renderModule($module); ?>
</div><!-- end searchbox -->
<?php endif; ?>
<div><!-- start goto home page -->
<p>
<a href="<?php echo $this->baseurl; ?>/index.php" title="<?php echo JText::_('JERROR_LAYOUT_GO_TO_THE_HOME_PAGE'); ?>"><?php echo JText::_('JERROR_LAYOUT_HOME_PAGE'); ?></a>
</p>
</div><!-- end goto home page -->
<h3>
<?php echo JText::_('JERROR_LAYOUT_PLEASE_CONTACT_THE_SYSTEM_ADMINISTRATOR'); ?>
</h3>
<h2>
#<?php echo $this->error->getCode(); ?> <?php echo htmlspecialchars($this->error->getMessage(), ENT_QUOTES, 'UTF-8'); ?>
</h2>
<?php if ($this->debug) : ?>
<br/><?php echo htmlspecialchars($this->error->getFile(), ENT_QUOTES, 'UTF-8');?>:<?php echo $this->error->getLine(); ?>
<?php endif; ?>
<br />
</div><!-- end errorboxbody -->
</div><!-- end wrapper2 -->
</div><!-- end contentarea2 -->
<?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 back -->
</div><!--end all -->
<div id="footer-outer">
<div id="footer-sub">
<div id="footer">
<p>
<?php echo JText::_('TPL_BEEZ3_POWERED_BY'); ?>
<a href="https://www.joomla.org/">
Joomla!®
</a>
</p>
</div><!-- end footer -->
</div><!-- end footer-sub -->
</div><!-- end footer-outer-->
</body>
</html>
home/digilove/public_html/templates/protostar/error.php 0000644 00000022665 15234424053 0017512 0 ustar 00 <?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>
home/digilove/public_html/templates/beez3/error.php 0000644 00000020471 15234426277 0016470 0 ustar 00 <?php
/**
* @package Joomla.Site
* @subpackage Templates.beez3
*
* @copyright (C) 2010 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 */
$showRightColumn = 0;
$showleft = 0;
$showbottom = 0;
// Get params
$app = JFactory::getApplication();
$params = $app->getTemplate(true)->params;
$logo = $params->get('logo');
$color = $params->get('templatecolor');
$navposition = $params->get('navposition');
$format = $app->input->getCmd('format', 'html');
?>
<!DOCTYPE html>
<html lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>">
<head>
<meta charset="utf-8" />
<title><?php echo $this->error->getCode(); ?> - <?php echo htmlspecialchars($this->error->getMessage(), ENT_QUOTES, 'UTF-8'); ?></title>
<link href="<?php echo $this->baseurl; ?>/templates/system/css/system.css" rel="stylesheet" />
<link href="<?php echo $this->baseurl; ?>/templates/system/css/error.css" rel="stylesheet" />
<link href="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template; ?>/css/position.css" rel="stylesheet" media="screen" />
<link href="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template; ?>/css/layout.css" rel="stylesheet" media="screen" />
<link href="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template; ?>/css/print.css" rel="stylesheet" media="print" />
<link href="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template; ?>/css/<?php echo htmlspecialchars($color); ?>.css" rel="stylesheet" />
<?php $files = JHtml::_('stylesheet', 'general.css', array('relative' => true, 'returnPath' => true)); ?>
<?php if ($files) : ?>
<?php if (!is_array($files)) : ?>
<?php $files = array($files); ?>
<?php endif; ?>
<?php foreach ($files as $file) : ?>
<link href="<?php echo $file; ?>" rel="stylesheet" />
<?php endforeach; ?>
<?php endif; ?>
<link href="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template; ?>/css/<?php echo htmlspecialchars($color, ENT_COMPAT, 'UTF-8'); ?>.css" rel="stylesheet" />
<?php if ($this->direction === 'rtl') : ?>
<link href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/css/template_rtl.css" rel="stylesheet" />
<?php if (file_exists(JPATH_SITE . '/templates/' . $this->template . '/css/' . $color . '_rtl.css')) : ?>
<link href="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template; ?>/css/<?php echo htmlspecialchars($color, ENT_COMPAT, 'UTF-8'); ?>_rtl.css" rel="stylesheet" />
<?php endif; ?>
<?php endif; ?>
<?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; ?>
<!--[if lte IE 6]><link href="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template; ?>/css/ieonly.css" rel="stylesheet" /><![endif]-->
<!--[if IE 7]><link href="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template; ?>/css/ie7only.css" rel="stylesheet" /><![endif]-->
<!--[if lt IE 9]><script src="<?php echo JUri::root(true); ?>/media/jui/js/html5.js"></script><![endif]-->
<style>
<!--
#errorboxbody
{margin:30px}
#errorboxbody h2
{font-weight:normal;
font-size:1.5em}
#searchbox
{background:#eee;
padding:10px;
margin-top:20px;
border:solid 1px #ddd
}
-->
</style>
</head>
<body>
<div id="all">
<div id="back">
<div id="header">
<div class="logoheader">
<h1 id="logo">
<?php if ($logo) : ?>
<img src="<?php echo $this->baseurl; ?>/<?php echo htmlspecialchars($logo); ?>" alt="<?php echo htmlspecialchars($params->get('sitetitle')); ?>" />
<?php else : ?>
<?php echo htmlspecialchars($params->get('sitetitle')); ?>
<?php endif; ?>
<span class="header1">
<?php echo htmlspecialchars($params->get('sitedescription')); ?>
</span>
</h1>
</div><!-- end logoheader -->
<ul class="skiplinks">
<li>
<a href="#wrapper2" class="u2">
<?php echo JText::_('TPL_BEEZ3_SKIP_TO_ERROR_CONTENT'); ?>
</a>
</li>
<li>
<a href="#nav" class="u2">
<?php echo JText::_('TPL_BEEZ3_ERROR_JUMP_TO_NAV'); ?>
</a>
</li>
</ul>
<div id="line">
</div><!-- end line -->
</div><!-- end header -->
<div id="contentarea2" >
<div class="left1" id="nav">
<h2 class="unseen">
<?php echo JText::_('TPL_BEEZ3_NAVIGATION'); ?>
</h2>
<?php $module = JModuleHelper::getModule('menu'); ?>
<?php echo JModuleHelper::renderModule($module); ?>
</div><!-- end navi -->
<div id="wrapper2">
<div id="errorboxbody">
<h2>
<?php echo JText::_('JERROR_LAYOUT_PAGE_NOT_FOUND'); ?>
</h2>
<h3><?php echo JText::_('JERROR_LAYOUT_ERROR_HAS_OCCURRED_WHILE_PROCESSING_YOUR_REQUEST'); ?></h3>
<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>
<?php if ($format === 'html' && JModuleHelper::getModule('mod_search')) : ?>
<div id="searchbox">
<h3 class="unseen">
<?php echo JText::_('TPL_BEEZ3_SEARCH'); ?>
</h3>
<p>
<?php echo JText::_('JERROR_LAYOUT_SEARCH'); ?>
</p>
<?php $module = JModuleHelper::getModule('mod_search'); ?>
<?php echo JModuleHelper::renderModule($module); ?>
</div><!-- end searchbox -->
<?php endif; ?>
<div><!-- start goto home page -->
<p>
<a href="<?php echo $this->baseurl; ?>/index.php" title="<?php echo JText::_('JERROR_LAYOUT_GO_TO_THE_HOME_PAGE'); ?>"><?php echo JText::_('JERROR_LAYOUT_HOME_PAGE'); ?></a>
</p>
</div><!-- end goto home page -->
<h3>
<?php echo JText::_('JERROR_LAYOUT_PLEASE_CONTACT_THE_SYSTEM_ADMINISTRATOR'); ?>
</h3>
<h2>
#<?php echo $this->error->getCode(); ?> <?php echo htmlspecialchars($this->error->getMessage(), ENT_QUOTES, 'UTF-8'); ?>
</h2>
<?php if ($this->debug) : ?>
<br/><?php echo htmlspecialchars($this->error->getFile(), ENT_QUOTES, 'UTF-8');?>:<?php echo $this->error->getLine(); ?>
<?php endif; ?>
<br />
</div><!-- end errorboxbody -->
</div><!-- end wrapper2 -->
</div><!-- end contentarea2 -->
<?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 back -->
</div><!--end all -->
<div id="footer-outer">
<div id="footer-sub">
<div id="footer">
<p>
<?php echo JText::_('TPL_BEEZ3_POWERED_BY'); ?>
<a href="https://www.joomla.org/">
Joomla!®
</a>
</p>
</div><!-- end footer -->
</div><!-- end footer-sub -->
</div><!-- end footer-outer-->
</body>
</html>
home/digilove/public_html/templates/horme_3/error.php 0000644 00000006050 15234457514 0017007 0 ustar 00 <?php
/**
* @package Horme 3 template
* @author Spiros Petrakis
* @copyright Copyright (C) 2015 - 2022 Spiros Petrakis. All rights reserved.
* @license GNU General Public License version 2 or later
*
*/
defined('_JEXEC') or die;
if (!isset($this->error)) {
$this->error = JError::raiseWarning(404, JText::_('JERROR_ALERTNOAUTHOR'));
$this->debug = false;
}
//get language and direction
$app = JFactory::getApplication('site');
$doc = JFactory::getDocument();
$this->language = $doc->language;
$this->direction = $doc->direction;
$tpath = $this->baseurl.'/templates/'.$this->template;
$template = $app->getTemplate(true);
$params = JFactory::getApplication()->getTemplate(true)->params;
$style = $params->get('style');
?>
<!DOCTYPE html>
<html lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title><?php echo $this->error->getCode(); ?> - <?php echo $this->title; ?></title>
<?php if ($style == 0) { ?>
<link rel="stylesheet" href="<?php echo $tpath ;?>/css/bootstrap.min.css" type="text/css" />
<?php } else { ?>
<link rel="stylesheet" href="<?php echo $tpath ;?>/css/horme.bootstrap.min.css" type="text/css" />
<?php } ?>
<link rel="stylesheet" href="<?php echo $tpath ;?>/css/template.css" type="text/css" />
<?php if ($style == 1) { ?>
<link rel="stylesheet" href="<?php echo $tpath ;?>/css/style.css" type="text/css" />
<?php } ?>
<link rel="stylesheet" href="<?php echo $tpath ;?>/css/error.css" type="text/css" />
<?php if ($params->get('customcss')) { ?>
<link rel="stylesheet" href="<?php echo $tpath; ?>/css/custom.css" type="text/css" />
<?php } ?>
</head>
<body>
<div class="error container text-center">
<div class="row-fluid">
<div class="col-sm-12 span12">
<h1 class="page-header"><?php echo $app->getCfg('sitename'); ?></h1>
<div class="hero-unit">
<h2><?php echo $this->error->getCode(); ?></h2>
<p><?php echo $this->error->getMessage(); ?></p>
</div>
<div id="errorboxbody" class="well">
<p class="lead"><?php echo JText::_('JERROR_LAYOUT_PLEASE_TRY_ONE_OF_THE_FOLLOWING_PAGES'); ?></p>
<a class="btn btn-primary btn-lg" href="<?php echo $this->baseurl; ?>/index.php" title="<?php echo JText::_('JERROR_LAYOUT_GO_TO_THE_HOME_PAGE'); ?>">
<span class="glyphicon glyphicon-home"></span> <?php echo JText::_('JERROR_LAYOUT_HOME_PAGE'); ?>
</a>
<p class="csm">
<?php echo JText::_('JERROR_LAYOUT_PLEASE_CONTACT_THE_SYSTEM_ADMINISTRATOR'); ?>
<br>
<a href="mailto:<?php echo $app->getCfg('mailfrom'); ?>"><span class="glyphicon glyphicon-envelope"></span> <?php echo $app->getCfg('mailfrom'); ?></a>
</p>
<div id="techinfo">
<blockquote><?php echo $this->error->getMessage(); ?></blockquote>
<p>
<?php if ($this->debug) {
echo $this->renderBacktrace();
} ?>
</p>
</div>
</div>
</div>
</div>
</div>
</body>
</html>