~dont_cache()
~include('../config.tmpl')
~list(~get('database'),"SELECT name FROM tips WHERE id='~addslashes(~get_filename())'","LM",
~set('title','~get('website_title'): Astuces: ~fld('name')'),
'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.name,
tips.tip,
tips.tip_section_id,
tips.timestamp
FROM
tips,
users
WHERE
users.id=tips.user_id AND
tips.state=~get('state_ok') AND
tips.id='~get_filename()'
LIMIT 1",
'LM',
'
~include('show_one.tmpl',~get_filename())
')
~include("../site/news_comments.tmpl",~integer(~get_filename()), ~get('res_type_tips'))
Revenir en haut de page
~include('../site/footer.tmpl')