~includeonce('../config.tmpl') ~includeonce('../config/spell.tmpl') ~includeonce('../lib/ressources.tmpl') ~includeonce('../lib/admin.tmpl') ~mapfilenamevar('res_table','param_state','param_section','param_order','param_direction') ~if(~integer(~get('res_table'))>0, { ~get_res_info(~get('res_table'),'res'), ~redirect('~get_site_url()admin/manage_sections,~get('res[table]').html') }) ~set('res_type',~res_table_to_res_type(~get('res_table'))) ~get_res_info(~get('res_type'),'res') ~set('res_name',~get('res[name]')) ~include('../site/admin.header.tmpl','Gestion sections ~get('res_name')')

Gestion des sections ~get('res_name') : ~list(~get('database'), "SELECT id,longname FROM ~get('res_table')_sections" ,'LF','

' ,'LM','
  • ~fld('longname')' )

    ~img('img/svg/up-a.svg','Retour','intxt') Retour gestion

    ~include("../site/admin.footer.tmpl")