~dont_cache() ~include('../updateuser.tmpl') ~set('info', ~str_replace("%7E",'',~get_dirname(1))) ~set('info', ~str_replace("~",'',~get('info'))) ~set('title','Astuces de ~get('info')') ~set('meta_robots','noindex,follow') ~include('../site/header.tmpl') ~include('../forums/forums.tmpl')
~include('../logo.tmpl') ~if(~get('user_id')=='',~include('../site/authbox.anon.tmpl'), ~include('../site/authbox.ok.tmpl'))
~init_paginate('nb_items_per_page',20,'indice','limit_sql') ~list(~get('database'),"SELECT COUNT(*) AS count FROM tips, users WHERE state=~get('state_ok') AND tips.user_id=users.id AND users.login='~addslashes(~get('info'))' ",'LM', ~set('pagelist','

~paginate(~get('indice'),~fld('count'),~get('nb_items_per_page'))

')) ~get('pagelist') ~list(~get('database'),"SELECT tips.id, users.login, tips.name, tips.tip, tips.user_id, tips.tip_section_id, tips.timestamp FROM tips, users WHERE users.id=tips.user_id AND users.login='~addslashes(~get('info'))' AND tips.state=~get('state_ok') ORDER BY tips.id DESC ~get('limit_sql')",'LM',' ~defunc("display_spelled",~sparam(1)) ~include('../tips/show_one.tmpl') ','LD','Pas d\'astuces') ~get('pagelist')
~include('../site/footer.tmpl')