~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')
)