~include('../site/admin.header.tmpl','Gestion images') ~include('filter.tmpl') ~defunc('disp_img','[~format_timestamp('%d/%m %H:%M',~fld('timestamp'))] ~fld('name')
')
~if(~getpost('text'), ~list(~get('database'), "SELECT id, name FROM images WHERE name LIKE '%~call('simple_fi','text')%' ORDER BY name", 'LM', '~fld('name')
', 'LD','Pas de~apos()image contenant ~getpost('text')' ) )

Vérifier les images

Dernières images modifiées: (1 mois):
~list(~get('database'), "SELECT name,id,update_timestamp + 0 as timestamp FROM images WHERE update_timestamp >= date_sub(current_timestamp(), interval 31 day) ORDER BY id DESC LIMIT 20", 'LM',~call('disp_img') )

~list(~get('database'), "SELECT name,id,update_timestamp + 0 as timestamp FROM images WHERE state=~get('state_wait') ORDER BY id LIMIT 20", 'LF','

Images effacée :
', 'LL','

', 'LM',~call('disp_img') )
~list(~get('database'), "SELECT name,id,update_timestamp + 0 as timestamp FROM images WHERE state=~get('state_new') ORDER BY id LIMIT 20", 'LF','

Images temporaires :
', 'LL','

', 'LM',~call('disp_img') )
~list(~get('database'), "SELECT count(*) as count FROM images", 'LF',~set('num',~fld('count')) ) ~include('../site/next_page.tmpl',~get_filenamevar(1),~get('num'),20) ~list(~get('database'), "SELECT id,name,update_timestamp + 0 as timestamp FROM images ORDER BY id DESC LIMIT 20 OFFSET ~get('indice')", 'LM',~call('disp_img') ) ~include('../site/next_page.tmpl',~get_filenamevar(1),~get('num'),20) ~include("../site/admin.footer.tmpl")