~dont_cache() ~includeonce('config.tmpl') ~set('title',"Poster un message") ~includeonce('../config.tmpl') ~includeonce('../site/editarea.tmpl') ~includeonce('../lib/turring.tmpl') ~includeonce("../updateuser.tmpl") ~include("../site/header.tmpl") ~list( ~get('database'), "SELECT allow_comments FROM ressources WHERE res_type=~integer(~get_filenamevar(1))", 'LD', ~http_error(404), 'LF', ~if( !~fld('allow_comments'), ~http_error(404)) ) ~set('res_type',~get_filenamevar(1)) ~set('news_id',~get_filenamevar(2)) ~set('com_parent',~get_filenamevar(3)) ~set('com_thread',~get_filenamevar(4)) ~set('com_section',~get_filenamevar(6)) ~if(! (~get('is_admin') ||~get('is_moderator')) && (~get('com_section') == ~get('comments_section[admin]')),~http_error(404) )
~include('../site/sidebox.tmpl')
~defunc("display_spelled",~sparam(1)) ~include("../~get('comments_tmpl[~get('res_type')]')",~get('news_id')) ~set('noreply',1) ~if(~get('com_parent')!='0' && ~getpost('submit') != 'Envoyer', ~include("comment.tmpl",~get('com_parent')), '
~include('../site/warning.txt')') ~if(~getpost('submit')=='Vérifier', '

~getpost('subject')

~include('../site/utils.tmpl') ~call('cut_url',~nl2br(~display_spelled(~htmlentities_decode(~strictize(~cuthtml(~getpost('body'),,,,'b,a,i,s,u,em,strong,tt,cite'))))))

')
~rem(~session_start()) ~if(~check_archiving_anonymous(~get('res_type'), ~get('timestamp'), ~get('com_section')) != 1, '

Cette discussion est archivée, il n\'est plus possible de laisser de commentaires.

',' ~if(~getpost('save_contact')=='on', ~rem('~setcookie('saved_name', ~getpost('name'), ~time()+3600*24*31,'/')~setcookie('saved_contact',~getpost('contact'), ~time() + 3600*31*24, '/')') ) ~if( ~get('res_allow_anonymous') == 1 && ~get('allow_anonymous')==1, ~if(~getpost('submit')=='Envoyer', ~include('comments_reply.send.txt') , ~include('comments_reply.ok.txt') ) , ~if( ~get('user_id') != '', ~if( ~getpost('submit') == 'Envoyer', ~include('comments_reply.send.txt') , ~include('comments_reply.ok.txt') ) , ~include('comments_reply.anonyme.txt') ) ) ')
~include("../site/footer.tmpl")