<?
  // шаблон - вывод ссылками без разделитея
  function list_files_ul(&$list_obj,$options=array())
  { global $pkey_by_table,$descr_obj_tables ;
    $id=($options['id'])? 'id='.$options['id']:'' ;
    ?><table class=list_files_table <?echo $id?>><?
    foreach($list_obj as $rec)
    { $patch=$descr_obj_tables[$rec['tkey']]->patch_to_file ;
      ?><tr><td class=name><a name="<?echo str_replace('.','',$rec['_reffer'])?>"></a>
                <?if ($options['editing']){?><input type=text class=image_name name=file_name[<?echo $rec['pkey']?>] value="<?echo htmlspecialchars($rec['obj_name'])?>"> <input type=checkbox name=file_delete[<?echo $rec['pkey']?>]> Удалить<?}
                  else echo nl2br(htmlspecialchars($rec['obj_name']))?></td>
            <td><?echo format_size($rec['size'])?></td>
            <td><?echo $rec['type']?></td>
            <td><a class=upload href="<?echo $patch.$rec['file_name']?>" target=_blank>Скачать</a></td>
       </tr><?}
    ?></table><?
  }



?>