<?
  // шаблон - вывод ссылками без разделитея
  function list_cars_full(&$list_recs,$options=array())
  {
    $id=($options['id'])? 'id='.$options['id']:'' ;
    ?><table class="basic full auto fz_small list_cars_full" <?echo $id?>>
        <colgroup><col id="c1"><col id="c2"><col id="c3"><col id="c4"></colgroup>
        <tr><th>Собственник авто</th><th>Марка, модель</th><th>Гос.номер</th><th>Класс</th><th>Дата<br>окончания<br>ОСАГО</th><th>Дата<br>окончания<br>СТС</th><th>Дата<br>окончания<br>ГТО</th><th>Действия</th></tr><? ;
        if (_sizeof($list_recs)) foreach($list_recs as $rec)
        { ?><tr class=item>
                <td><?echo PERSONAL()->get_name_by_id($rec['parent']) ;?></td>
                <td><?echo $rec['model']?></td>
                <td><?echo $rec['obj_name']?></td>
                <td class="left"><?echo $rec['typ']?></td>
                <td class="left"><?if ($rec['e_osago']) echo date('d.m.Y',$rec['e_osago'])?></td>
                <td class="left"><?if ($rec['e_sts']) echo date('d.m.Y',$rec['e_sts'])?></td>
                <td class="left"><?if ($rec['e_to']) echo date('d.m.Y',$rec['e_to'])?></td>
                <td><button class="v1" href="/cab/client/car/<?echo $rec['pkey']?>/">Изменить</button></td>
            </tr><?
        }
      ?></table><?
  }
?>
