<div class="doc_block">
 <a href="/index.php?go=doc&act=download&did={did}"><div class="doc_format_bg cursor_pointer"><img src="{theme}/images/darr.gif" style="margin-right:5px" />{format}</div></a>
 <a href="/index.php?go=doc&act=download&did={did}"><div class="doc_name cursor_pointer">{name}</div></a><div class="doc_sel" onClick="Doc.AddAttach('{name}', '{did}')">Выбрать документ</div>
 <div class="doc_date clear">Добавлено {date}</div>
 <div class="clear"></div>
</div>