<?
function panel_tk_seans($args)
{   ?><div id="panel_proverka_result"><form>
        <?if ($args['comment']) echo '<div class="green" style="font-size:16px;">'.$args['comment'].'</div>'?>
      <table>
      <tr><td colspan="2"><strong>Результаты проверки:</strong></td></tr>
      <?if ($args['data']['alcotester']){?><tr><td>Тест на алкоголь</td><td><input type="radio" name="alko" value="0" checked> Нет <input type="radio" name="alko" value="1"> Есть <input type=text name="alko_value" value="<?echo 0?>"></td><td></td></tr><?}?>

      <tr><td>args.data.reason</td><td><select name="reason"><option value="0"></option><?if (_sizeof($_SESSION['ARR_mo_failed_status'])) foreach($_SESSION['ARR_mo_failed_status'] as $id=>$value) if ($id){?><option value="<?echo $id?>"><?echo $value?></option><?}?></select></td></tr>
      <tr><td>args.data.equipment</td><td><select name="equipment"><option value="0"></option><?if (_sizeof($_SESSION['ARR_mo_failed_dev'])) foreach($_SESSION['ARR_mo_failed_dev'] as $id=>$value){?><option value="<?echo $id?>"><?echo $value?></option><?}?></select></td></tr>
      <tr><td>Требуется калибровка</td><td><input type="radio" name="alcotester_calibration" value="0" checked> Нет <input type="radio" name="alcotester_calibration" value="1"> Да </td></tr>
      </table>
     <input id=submit type="submit" class="v2" cmd="kt/send_proverka_result" terminal_id="<?echo $args['id']['terminal']?>"  user="<?echo $args['id']['user']?>"  medexam="<?echo $args['id']['medexam']?>" value="Отправить результаты фельдшеру">
    </form></div><?

}

?>
