{include file="common/head.tpl.html" html5=true}
{if $upload_path}
{html->fileupload autostart=0 hidden=1 path=$upload_path onuploaded="ajax.exec('messages', 'ajax_add_sendfile_msg', chat.$('userid').value, '`$upload_path`')" droparea="document.body"}
{/if} {include file="common/foot.tpl.html"}