~dont_cache() ~include('../config.tmpl') ~list(~get('database'),"SELECT title FROM tips WHERE id=~integer(~get_filename())","LM", ~set('title','~get('website_title'): Astuces: ~fld('title')'), 'LD', ~http_error(404)) ~include('../site/header.tmpl') ~defunc("display_spelled",~sparam(1)) ~include('leftbox.tmpl')
~list(~get('database'),"SELECT tips.id, users.id AS user_id_tip, tips.title, tips.tip, tips.section_id, tips.insert_timestamp AS timestamp FROM tips, users WHERE users.id=tips.user_id AND tips.state=~get('state_ok') AND tips.id=~integer(~get_filename()) LIMIT 1", 'LM', ' ~include('show_one.tmpl',~get_filename()) ') ~include("../site/news_comments.tmpl",~integer(~get_filename()), ~get('res_type_tips')) ~back_to_top()
~include('../site/footer.tmpl')