~dont_cache() ~includeonce('../config.tmpl') ~set('title',"~get('website_title'): les votes sur le sondage") ~set('meta_robots','noindex,follow') ~include('../site/header.tmpl')
Vous avez une meilleure idée de sondage ? Envoyez-la nous.
~list(~get('database'), 'SELECT COUNT(id) AS count FROM poll_questions', 'LM', ~set('num',~fld('count')) ) ~include('../site/next_page.tmpl',~get_filenamevar(1),~get('num'),20,'index') ~list(~get('database'), "SELECT id, question FROM poll_questions ORDER BY id DESC LIMIT 20 OFFSET ~get('indice')",'LM','Total : ~get('total_votes') votes
> Lire les commentaires. ~include('../site/countcomments.tmpl',~fld('id'),~get('res_type_poll'))