<?
  // шаблон - вывод ссылками без разделитея
  function list_reports(&$list_recs,$options=array())
  { global $member ;
    $id=($options['id'])? 'id='.$options['id']:'' ;
    //$arr_member_views=
    ?><div class=list_reports <?echo $id?>>
      <table>
        <tr><th>№</th><th>Создан</th><th>Наименование</th><th>Информация</th><th>Автор</th><th>Подписан</th><th>Дата подписи</th></tr><?
        if (_sizeof($list_recs)) foreach($list_recs as $rec)
        { ?><tr class="item v1" href="/cab/reports/<?echo $rec['pkey']?>.html">
                <td><?echo $rec['pkey']?></td>
                <td><?echo date('d.m.Y H:i',$rec['c_data'])?></td>
                <td class="name"><?echo $rec['obj_name']?></td>
                <td class="name"><?echo $rec['info']?></td>
                <td class="autor"><?echo $rec['_member_name']?></td>
                <td><?echo ($rec['podpis'])? 'Да':''?></td>
                <td><?echo ($rec['podpis'])? date('d.m.Y H:i',$rec['p_data']):''?></td>
            </tr><?
        }
      ?></table></div><?
  }

?>
