~dont_cache() ~includeonce('../config.tmpl') ~includeonce('../config/email.tmpl') ~includeonce('../lib/settings.tmpl') ~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 WHERE state=~get('state_ok') ', 'LM', ~set('num',~fld('count')) ) ~setl('res_per_page',~getcnf('poll_questions_count_index_main', 20)) ~include('../site/next_page.tmpl',~get_filenamevar(1),~get('num'), ~getl('res_per_page'),'index') ~list(~get('database'), "SELECT poll_questions.id, poll_questions.title FROM poll_questions WHERE state=~get('state_ok') ORDER BY id DESC LIMIT ~getl('res_per_page') OFFSET ~get('indice')",'LM','Total : ~get('total_votes') votes
> Lire les commentaires. ~include('../site/countcomments.tmpl',~fld('id'),~get('res_type_poll'))