{% EVENT attachment_file_before %} {% for _file in loops._file %} {% if _file.S_DENIED %}

[{{ _file.DENIED_MESSAGE }}]

{% else %} {% EVENT attachment_file_prepend %} {% if _file.S_THUMBNAIL %}
{% if _file.COMMENT %}{{ _file.COMMENT|e('html') }}{% else %}{{ _file.DOWNLOAD_NAME }}{% endif %}
{% if _file.COMMENT %}
{{ _file.COMMENT }}
{% endif %}
{% endif %} {% if _file.S_IMAGE %}
{% if _file.COMMENT %}{{ _file.COMMENT|e('html') }}{% else %}{{ _file.DOWNLOAD_NAME }}{% endif %}
{% if _file.COMMENT %}
{{ _file.COMMENT }}
{% endif %}
{{ _file.DOWNLOAD_NAME }} ({{ _file.FILESIZE }} {{ _file.SIZE_LANG }}) {{ _file.L_DOWNLOAD_COUNT }}
{% endif %} {% if _file.S_FILE %}
{% if _file.UPLOAD_ICON %}{{ _file.UPLOAD_ICON }} {% endif %}{{ _file.DOWNLOAD_NAME }}
{% if _file.COMMENT %}
{{ _file.COMMENT }}
{% endif %}
({{ _file.FILESIZE }} {{ _file.SIZE_LANG }}) {{ _file.L_DOWNLOAD_COUNT }}
{% endif %} {% EVENT attachment_file_append %} {% endif %} {% endfor %} {% EVENT attachment_file_after %}