~include('../site/admin.header.tmpl','Gestion passerelles') ~defunc('disp_row','[~format_timestamp('%d/%m %H:%M',~fld('timestamp'))] ~fld('longname1')->~fld('longname2')
')

Dernières passerelles modifiées: (1 mois):
~list(~get('database'), "SELECT topics1.title AS longname1,topics2.title AS longname2, topics1.id AS id1, topics2.id AS id2, topics_topics.timestamp + 0 as timestamp FROM topics_topics,topics AS topics1,topics AS topics2 WHERE topics_topics.timestamp >= date_sub(current_timestamp(), interval 31 day) AND topics_topics.topic_id=topics1.id AND topics_topics.topic_next=topics2.id ORDER BY topics_topics.timestamp DESC LIMIT 20", 'LM',~call('disp_row') )

~list(~get('database'), "SELECT count(*) as count FROM topics_topics", 'LF',~set('num',~fld('count')) ) ~include('../site/next_page.tmpl',~get_filenamevar(1),~get('num'),20) ~list(~get('database'), "SELECT topics1.title AS longname1,topics2.title AS longname2, topics1.id AS id1, topics2.id AS id2, topics_topics.timestamp + 0 as timestamp FROM topics_topics,topics AS topics1,topics AS topics2 WHERE topics_topics.topic_id=topics1.id AND topics_topics.topic_next=topics2.id ORDER BY id1 DESC LIMIT 20 OFFSET ~get('indice')", 'LM',~call('disp_row') ) ~include('../site/next_page.tmpl',~get_filenamevar(1),~get('num'),20) ~include("../site/admin.footer.tmpl")