include_once("../inclusioni/db_mysql.php"); include_once("../configuratore.php"); include_once("../inclusioni/cms.php"); include_once("../inclusioni/front-end.php"); include_once("../inclusioni/front-end-puntoporte.php"); $cms = new cms; $cms->query("SELECT *, page_elements.exp_text as testo_pagina, page_elements.h1 as titolo_pagina FROM page_elements INNER JOIN nav_menu ON page_elements.id=nav_menu.father_order_id INNER JOIN section_compose ON page_elements.id=section_compose.father_id INNER JOIN sections ON section_compose.section_id=sections.section_id WHERE sections.note LIKE '%{slideshow}%' && page_elements.status='attiva' && page_elements.archived!='si' ORDER BY father_order DESC"); $totale_immagini=$cms->nf(); ?>