<?php include 'includes/conf.inc.php'; if (isset($_GET['s'])) { include MODELS_PATH . 'model.Secciones.php'; $secciones_model = new Secciones(); $seccion = $secciones_model->fetchById($_GET['s']); include MODELS_PATH . 'model.Tiendas.php'; $tiendas_model = new Tiendas(); $tiendas = $tiendas_model->fetchAllBySeccion($_GET['s']); } if (isset($_GET['ss']) && !empty($_GET['ss'])) { include MODELS_PATH . 'model.Subsecciones.php'; $subsecciones_model = new Subsecciones(); $subseccion = $subsecciones_model->fetchById($_GET['ss']); $tiendas = $tiendas_model->fetchAllBySubseccion($_GET['s'], $_GET['ss']); } ?> <!doctype html> <html lang="es"> <head> <meta charset="UTF-8"> <title><?php echo TITLE; ?> </title> <link rel="stylesheet" href="<?php echo CSS_PATH; ?> styles.css"> <link rel="stylesheet" href="<?php