/home
/u800617633
/domains
/eurocarnavales.es
/public_html
/catalog
/controller
/product
/category.php
}
}
}
usort($category_info['subcategories'], function($a, $b) {
return $a['sort_order'] - $b['sort_order'];
});
}
// RECOBER BANNERS
$this->load->model('extension/module');
$category_info['banners'] = [];
if (isset($category_info['bannerA_id']) && !empty($category_info['bannerA_id'])) {
$category_info['banners']['bannerA'] = $this->load->controller('extension/module/banner', $this->model_extension_module->getModule($category_info['bannerA_id']));
}
if (isset($category_info['bannerB_id']) && !empty($category_info['bannerB_id'])) {
$category_info['banners']['bannerB'] = $this->load->controller('extension/module/banner', $this->model_extension_module->getModule($category_info['bannerB_id']));
}
if ($category_info && count($parts) == 1) {
$this->document->setTitle($category_info['meta_title']);
$this->document->setDescription($category_info['meta_description']);
$this->document->setKeywords($category_info['meta_keyword']);
$data['heading_title'] = $category_info['name'];
}
} else if(isset($this->request->get['path']) && strpos($this->request->get['path'],",") !== false){
$category_id = $this->request->get['path'];
} else {
$category_id = 0;
}
if (empty($data['heading_title']))
$data['heading_title'] = $this->language->get('text_all_products');
if (!empty($search)) {
$data['heading_title'] = $this->language->get('text_be_searching') . ' ' . $search;
$this->document->setTitle($data['heading_title']);
$description = (is_array($this->config->get('config_meta_description'))) ? $this->config->get('config_meta_description')[(int)$this->config->get('config_language_id')] : $this->config->get('config_meta_description');
$keyword = (is_array($this->config->get('config_meta_keyword'))) ? $this->config->get('config_meta_keyword')[(int)$this->config->get('config_language_id')] : $this->config->get('config_meta_keyword');
Arguments
"Undefined index: meta_title"
/home
/u800617633
/domains
/eurocarnavales.es
/public_html
/catalog
/controller
/product
/category.php
}
}
}
usort($category_info['subcategories'], function($a, $b) {
return $a['sort_order'] - $b['sort_order'];
});
}
// RECOBER BANNERS
$this->load->model('extension/module');
$category_info['banners'] = [];
if (isset($category_info['bannerA_id']) && !empty($category_info['bannerA_id'])) {
$category_info['banners']['bannerA'] = $this->load->controller('extension/module/banner', $this->model_extension_module->getModule($category_info['bannerA_id']));
}
if (isset($category_info['bannerB_id']) && !empty($category_info['bannerB_id'])) {
$category_info['banners']['bannerB'] = $this->load->controller('extension/module/banner', $this->model_extension_module->getModule($category_info['bannerB_id']));
}
if ($category_info && count($parts) == 1) {
$this->document->setTitle($category_info['meta_title']);
$this->document->setDescription($category_info['meta_description']);
$this->document->setKeywords($category_info['meta_keyword']);
$data['heading_title'] = $category_info['name'];
}
} else if(isset($this->request->get['path']) && strpos($this->request->get['path'],",") !== false){
$category_id = $this->request->get['path'];
} else {
$category_id = 0;
}
if (empty($data['heading_title']))
$data['heading_title'] = $this->language->get('text_all_products');
if (!empty($search)) {
$data['heading_title'] = $this->language->get('text_be_searching') . ' ' . $search;
$this->document->setTitle($data['heading_title']);
$description = (is_array($this->config->get('config_meta_description'))) ? $this->config->get('config_meta_description')[(int)$this->config->get('config_language_id')] : $this->config->get('config_meta_description');
$keyword = (is_array($this->config->get('config_meta_keyword'))) ? $this->config->get('config_meta_keyword')[(int)$this->config->get('config_language_id')] : $this->config->get('config_meta_keyword');
Arguments
8
"Undefined index: meta_title"
"/home/u800617633/domains/eurocarnavales.es/public_html/catalog/controller/product/category.php"
264
array:27 [
"data" => array:4 [
"allow_buy" => "1"
"search" => ""
"breadcrumbs" => array:2 [
0 => array:2 [
"text" => "<i class="fa fa-home"></i>"
"href" => "https://eurocarnavales.es"
]
1 => array:2 [
"text" => "OUTLET"
"href" => "https://eurocarnavales.es/liquidacion?sort=p.price&order=ASC&pricerange=8.26;12.4"
]
]
"categories_list" => array:2 [
0 => array:19 [
"category_id" => "640"
"image" => ""
"parent_id" => "0"
"top" => "0"
"column" => "0"
"sort_order" => "900"
"status" => "1"
"date_added" => "2020-09-15 01:04:22"
"date_modified" => "2024-03-29 11:15:17"
"erp_id" => "771"
"reference" => "NULL"
"bannerA_id" => "0"
"bannerB_id" => "0"
"language_id" => "2"
"name" => "OUTLET"
"description" => "<p>50% en los productos de liquidación hasta fin de existencias.</p>\r\n"
"meta_title" => "OUTLET"
"meta_description" => ""
"meta_keyword" => ""
]
1 => []
]
]
"search" => ""
"filter_size" => []
"filter_color" => []
"filter_latest" => ""
"filter_outlet" => ""
"prices" => array:2 [
0 => "8.26"
1 => "12.4"
]
"from_price" => "8.26"
"to_price" => "12.4"
"filter" => ""
"attribute" => ""
"date" => ""
"sort" => "p.price"
"order" => "ASC"
"page" => 1
"limit" => 24
"limit_page" => 24
"breadcrumbs" => "1"
"default_meta_description" => "EuroCarnavales"
"category_info" => array:2 [
"subcategories" => false
"banners" => []
]
"url" => "&sort=p.price&order=ASC&pricerange=8.26;12.4"
"path" => 2200
"parts" => array:1 [
0 => "2200"
]
"category_id" => "2200"
"path_id" => "2200"
"path_categories" => array:2 [
1 => "640"
0 => "2200"
]
"path_category_id" => "2200"
]
/home
/u800617633
/domains
/eurocarnavales.es
/public_html
/system
/engine
/action.php
$class = 'Controller' . CUSTOMER . preg_replace('/[^a-zA-Z0-9]/', '', $this->route);
}
else {
$file = DIR_APPLICATION . 'controller/' . $this->route . '.php';
$class = 'Controller' . preg_replace('/[^a-zA-Z0-9]/', '', $this->route);
}
// Initialize the class
if (is_file($file)) {
include_once $file;
$controller = new $class($registry);
}
else {
return new \Exception('Error: Could not call ' . $this->route . '/' . $this->method . '!');
}
$reflection = new ReflectionClass($class);
if ($reflection->hasMethod($this->method) && $reflection->getMethod($this->method)->getNumberOfRequiredParameters() <= count($args)) {
return call_user_func_array(array($controller, $this->method), $args);
}
else {
return new \Exception('Error: Could not call ' . $this->route . '/' . $this->method . '!');
}
}
}
/home
/u800617633
/domains
/eurocarnavales.es
/public_html
/catalog
/controller
/startup
/router.php
} else {
$route = $this->config->get('action_default');
}
// Sanitize the call
$route = preg_replace('/[^a-zA-Z0-9_\/]/', '', (string)$route);
$data = [];
// Trigger the pre events
$result = $this->event->trigger('controller/' . $route . '/before', array(&$route, &$data));
if (!is_null($result)) {
return $result;
}
// We dont want to use the loader class as it would make an controller callable.
$action = new Action($route);
// Any output needs to be another Action object.
if(!empty($_GET['_t']) && $_GET['_t'] == 'cu') $output = $action->execute($this->registry,[],'customer');
else $output = $action->execute($this->registry);
// Trigger the post events
$result = $this->event->trigger('controller/' . $route . '/after', array(&$route, &$data, &$output));
if (!is_null($result)) {
return $result;
}
return $output;
}
}
Arguments
/home
/u800617633
/domains
/eurocarnavales.es
/public_html
/system
/engine
/action.php
$class = 'Controller' . CUSTOMER . preg_replace('/[^a-zA-Z0-9]/', '', $this->route);
}
else {
$file = DIR_APPLICATION . 'controller/' . $this->route . '.php';
$class = 'Controller' . preg_replace('/[^a-zA-Z0-9]/', '', $this->route);
}
// Initialize the class
if (is_file($file)) {
include_once $file;
$controller = new $class($registry);
}
else {
return new \Exception('Error: Could not call ' . $this->route . '/' . $this->method . '!');
}
$reflection = new ReflectionClass($class);
if ($reflection->hasMethod($this->method) && $reflection->getMethod($this->method)->getNumberOfRequiredParameters() <= count($args)) {
return call_user_func_array(array($controller, $this->method), $args);
}
else {
return new \Exception('Error: Could not call ' . $this->route . '/' . $this->method . '!');
}
}
}
/home
/u800617633
/domains
/eurocarnavales.es
/public_html
/system
/engine
/front.php
public function dispatch(Action $action, Action $error) {
$this->error = $error;
foreach ($this->pre_action as $pre_action) {
$result = $this->execute($pre_action);
if ($result instanceof Action) {
$action = $result;
break;
}
}
while ($action instanceof Action) {
$action = $this->execute($action);
}
}
private function execute(Action $action) {
$result = $action->execute($this->registry);
if ($result instanceof Action) {
return $result;
}
if ($result instanceof Exception) {
$action = $this->error;
$this->error = null;
return $action;
}
}
}
Arguments
/home
/u800617633
/domains
/eurocarnavales.es
/public_html
/system
/engine
/front.php
public function addPreAction(Action $pre_action) {
$this->pre_action[] = $pre_action;
}
public function dispatch(Action $action, Action $error) {
$this->error = $error;
foreach ($this->pre_action as $pre_action) {
$result = $this->execute($pre_action);
if ($result instanceof Action) {
$action = $result;
break;
}
}
while ($action instanceof Action) {
$action = $this->execute($action);
}
}
private function execute(Action $action) {
$result = $action->execute($this->registry);
if ($result instanceof Action) {
return $result;
}
if ($result instanceof Exception) {
$action = $this->error;
$this->error = null;
return $action;
}
}
}
Arguments
/home
/u800617633
/domains
/eurocarnavales.es
/public_html
/system
/framework.php
// Model Autoload
if ($config->has('model_autoload')) {
foreach ($config->get('model_autoload') as $value) {
$loader->model($value);
}
}
// Front Controller
$controller = new Front($registry);
$registry::setInstance($registry);
// Pre Actions
if ($config->has('action_pre_action')) {
foreach ($config->get('action_pre_action') as $value) {
$controller->addPreAction(new Action($value));
}
}
// Dispatch
$controller->dispatch(new Action($config->get('action_router')), new Action($config->get('action_error')));
// Output
$response->setCompression($config->get('config_compression'));
$response->output();
Arguments
/home
/u800617633
/domains
/eurocarnavales.es
/public_html
/system
/startup.php
require_once(DIR_SYSTEM . 'engine/controller.php');
require_once(DIR_SYSTEM . 'engine/event.php');
require_once(DIR_SYSTEM . 'engine/front.php');
require_once(DIR_SYSTEM . 'engine/loader.php');
require_once(DIR_SYSTEM . 'engine/model.php');
require_once(DIR_SYSTEM . 'engine/registry.php');
require_once(DIR_SYSTEM . 'engine/proxy.php');
// Libs
require_once(DIR_SYSTEM . 'composer_library/str.php');
require_once(DIR_SYSTEM . 'composer_library/arr.php');
// Helper
require_once(DIR_SYSTEM . 'helper/general.php');
require_once(DIR_SYSTEM . 'helper/utf8.php');
require_once(DIR_SYSTEM . 'helper/json.php');
require_once(DIR_SYSTEM . 'helper/html.php');
function start($application_config) {
require_once(DIR_SYSTEM . 'framework.php');
}
Arguments
"/home/u800617633/domains/eurocarnavales.es/public_html/system/framework.php"
/home
/u800617633
/domains
/eurocarnavales.es
/public_html
/index.php
<?php
ini_set('display_errors',1);
// Version
define('VERSION', '2.3.0.2');
// Configuration
if (is_file('config/config.php')) {
require_once('config/config.php');
}
// Install
if (!defined('DIR_APPLICATION')) {
header('Location: install/index.php');
exit;
}
// Startup
require_once(DIR_SYSTEM . 'startup.php');
start('catalog');
Arguments