Current Path :
/
home
/
develito
/
public_html
/
templates
/
jsn_epic2_pro
/
Or
Select Your Path :
Upload File :
New :
File
Dir
//home/develito/public_html/templates/jsn_epic2_pro/error.php
<?php /** * @version $Id$ * @package SUN Framework * @author JoomlaShine Team <support@joomlashine.com> * @copyright Copyright (C) 2012 JoomlaShine.com. All Rights Reserved. * @license GNU/GPL v2 or later http://www.gnu.org/licenses/gpl-2.0.html * * Websites: http://www.joomlashine.com * Technical Support: Feedback - http://www.joomlashine.com/contact-us/get-support.html */ // if (($this->error->getCode()) == '404') { // header('Location: ' . $this->baseurl . '/index.php?option=com_content&view=article&id=119'); // exit; // } // No direct access to this file. defined('_JEXEC') or die; $sunfwParams = SunFwSite::getInstance(); $sunfwParams1 = json_encode($sunfwParams); $sunfwParams1 = json_decode($sunfwParams1); $custom_404_data = $sunfwParams1->custom_404_data; ?> <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.css" rel="stylesheet" /> <?php if (!empty($custom_404_data) && (int) $custom_404_data->enabled && !empty($custom_404_data->article)) { SunFwSite::getInstance()->render('error', $this); }else { $app = JFactory::getApplication(); $doc = JFactory::getDocument(); $user = JFactory::getUser(); $this->language = $doc->language; $this->direction = $doc->direction; // Output document as HTML5. if (is_callable(array($doc, 'setHtml5'))) { $doc->setHtml5(true); } // 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', ''); $sitename = $app->get('sitename'); if($task == "edit" || $layout == "form" ) { $fullWidth = 1; } else { $fullWidth = 0; } $image_404_path = $this->baseurl . '/templates/' . $this->template . "/images/404.png"; // Add JavaScript Frameworks JHtml::_('bootstrap.framework'); ?> <!DOCTYPE html> <html> <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 ?> <link href="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template; ?>/css/template.css" rel="stylesheet" /> <link href="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template; ?>/css/bootstrap.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; ?> <link href="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template; ?>/favicon.ico" rel="shortcut icon" type="image/vnd.microsoft.icon" /> </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' : ''); ?>"> <!-- Body --> <div class="body jsn-error-page"> <div class="jsn-error-inner sunfw-content"> <!-- Banner --> <div class="container"> <div class="row"> <div id="content" class="col-xs-12 col-sm-12 col-md-12 col-lg-12"> <!-- Begin Content --> <div class="table"> <div class="table-cell"> <h1 class="page-header hidden"><?php echo $this->error->getCode(); ?></h1> <!-- <img src="<?php echo $image_404_path; ?>" alt="Error 404" /> --> <div class="content-inner"> <img src="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template; ?>/images/icons/404.png" /> <h4 class="jsn-error-text">Oops ! <?php echo htmlspecialchars($this->error->getMessage(), ENT_QUOTES, 'UTF-8');?> at this location.</h4> <div class="page-header"> <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="jsn-search"> <?php if (JModuleHelper::getModule('search')) : ?> <p><a href="<?php echo $this->baseurl; ?>/index.php"><?php echo JText::_('JERROR_LAYOUT_SEARCH_PAGE'); ?></a></p> <?php echo $this->getBuffer('module', 'search-404'); ?> <?php endif; ?> <div class="goto-home"><a href="<?php echo $this->baseurl; ?>/index.php" class="btn btn-default"><?php echo JText::_('JERROR_LAYOUT_HOME_PAGE'); ?></a></div> </div> </div> </div> </div> <!-- End Content --> </div> </div> </div> </div> </div> <?php echo $doc->getBuffer('modules', 'debug', array('style' => 'none')); ?> </body> </html> <?php } ?>