~include('../config.tmpl') ~include('../site/simple.header.tmpl') ~include('../updateuser.tmpl') ~if(~empty(~get('user_id')), ~http_error(404)) ~dont_cache()

Reporter un abus

~if( ~getpost('submit') == '','
~list(~get('database'), "SELECT comments.id, comments.subject, comments.body, users.login FROM comments, users WHERE comments.id='~addslashes(~get_filenamevar(1))' AND users.id=comments.user_id ",'LM', '
~fld('subject') par ~fld('login')
~cuthtml(~fld('body'), 150,,, -1)...
' )
',' ~if(~getpost('submit') == 'Reporter', ~list(~get('database'), "INSERT INTO comments_abuse(user_id, comment_id, event_timestamp) VALUES ('~get('user_id')', '~addslashes(~get_filenamevar(1))', CURRENT_TIMESTAMP())" ) )

Le commentaire a été reporté.


')

Fermer la fenêtre

~include('../site/simple.footer.tmpl')