~dont_cache() ~includeonce('../config.tmpl') ~include('../updateuser.tmpl') ~set('title','~get('website_title'): astuces...') ~add_rss('~absolute_templeet()backend/tips/backend.rss', 'Astuces') ~set('meta_robots','noindex,follow') ~include('../site/header.tmpl') ~defunc("display_spelled",~sparam(1)) ~include('leftbox.tmpl')
~list(~get('database'),'SELECT COUNT(*) AS count FROM tips WHERE state=~get('state_ok') ','LM', ~set('num',~fld('count')) ) ~include('../site/next_page.tmpl',~get_filenamevar(1),~get('num'),20,'index') ~list(~get('database'),"SELECT tips.id, users.id AS user_id_tip, tips.name, tips.tip, tips.user_id, tips.tip_section_id, tips.timestamp FROM tips, users WHERE users.id=tips.user_id AND tips.state=~get('state_ok') ORDER BY id DESC LIMIT 20 OFFSET ~get('indice')", 'LM', ' ~include('show_one.tmpl') ','LD','Pas d\'astuce') ~include('../site/next_page.tmpl',~get_filenamevar(1),~get('num'),20,'index')
~include('../site/footer.tmpl')