<?
  // шаблон - вывод ссылками без разделитея
  function list_mo_sessions_small(&$list_recs,$options=array())
  { $id=($options['id'])? 'id='.$options['id']:'' ;
     //damp_array($list_recs) ;
    ?><div class=list_mo_sessions_small <?echo $id?>>
      <table>
        <colgroup><col id="c1"><col id="c2"><col id="c7"><col id="c8"><col id="c9"><col id="c10"><col id="c11"><col id="c12"><col id="c13"></colgroup>
        <tr><th>Дата/время</th><th>Терминал</th><th>Артериальное давление</th><th>Температура</th><th>Пульс</th><th>Алкоголь</th><th>Пупиллометрия</th><th>ТКТ</th><th>Жалобы</th><th>Признаки ЗиПР</th><th>Комментарий<br>доктора</th><th>Результат осмотра</th><th>Допуск</th></tr><?
        if (_sizeof($list_recs)) foreach($list_recs as $rec)
        { ?><tr class="item v1" href="<?echo $rec['__href']?>">
                <td><?echo date('d.m.Y H:i',$rec['c_data'])?></td>
                <td><?echo ($rec['hand_check_user_id'])? '<img src="/images/doctor2.png"><br>'.$rec['_hand_check_user_name']:$rec['terminal_name']?></td>
                <td><? echo $rec['_sd']?></td>
                <td><? echo $rec['_temperature']?></td>
                <td><? echo $rec['_pulse'];?></td>
                <td><? echo $rec['_alko'];?></td>
                <td><? echo $rec['_narko'];?></td>
                <td><? echo $rec['_vcheck'];?></td>
                <td><? echo $rec['_question']?><?if ($rec['question_comment']) echo ': '.$rec['question_comment']?></td>
                <td><?echo _IL('IL_diagnoz')->recs[$rec['simptoms']]['obj_name']?></td>
                <td><?echo $rec['doctor_comment']?></td>
                <td class="comment"><? echo '<div class=status_'.$rec['status'].'>'.$rec['_status_name'].'</div>' ; echo $rec['_comment']?></td>
                <td class="dopusk_<?echo $rec['dopusk']?><?if ($rec['tk']==1 and $GLOBALS['LS_alternative_color_for_postshift_medexam']) echo " tk_".$rec['tk']?>"><? echo $rec['_dopusk_status']?></td>
            </tr><?
        }
      ?></table></div><?
  }

?>
