. */ include_once __DIR__.'/../../core.php'; use Models\Module; ?>

{[ "type": "text", "label": "", "name": "nome", "required": 1, "value": "$nome$" ]}
{[ "type": "text", "label": "", "name": "colore", "class": "colorpicker text-center", "value": "$colore$", "extra": "maxlength='7'", "icon-after": "
" ]}
{[ "type": "textarea", "label": "", "name": "nota", "value": "$nota$" ]}


directory.'/row-list.php'; ?>
fetchArray('SELECT `my_impianti`.`id`, `my_impianti`.`matricola`, `my_impianti`.`nome` FROM `my_impianti` WHERE (`id_categoria`='.prepare($id_record).' OR `id_sottocategoria`='.prepare($id_record).' OR `id_sottocategoria` IN (SELECT id FROM `my_impianti_categorie` WHERE `parent`='.prepare($id_record).'))'); if (!empty($elementi)) { echo '

'.tr('Impianti collegati: _NUM_', [ '_NUM_' => count($elementi), ]).'

'; } else { echo ' '.tr('Elimina').' '; }