<?

function panel_terminal_view(&$recs)
{ ?><div id="panel_terminal_edit"><form>
    <table class="basic fz_small auto"><tr><th>ID</th><th>Наименование</th><th>IP</th><th>Состояние</th><th>video</th><th>tonometer</th><th>thermometer</th><th>alcotester</th><th>pupilometer</th><th>Число перезагрузок</th><th>Профиль</th></tr>
     <?  if (_sizeof($recs)) foreach($recs as $rec) {?>
        <tr><td><?echo addslashes($rec['id'])?></td>
            <td><?echo addslashes($rec['obj_name'])?></td>
            <td><?echo addslashes($rec['ip'])?> :<?echo _TERMINAL_PORT?></td>
            <td class="status"><? echo $_SESSION['ARR_terminal_status_color'][$rec['status']]?></td>
            <td class="status"><img src="/images/status_<? echo $rec['video']?>.png"></td>
            <td class="status"><img src="/images/status_<? echo $rec['tonometer']?>.png"></td>
            <td class="status"><img src="/images/status_<? echo $rec['thermometer']?>.png"></td>
            <td class="status"><img src="/images/status_<? echo $rec['alcotester']?>.png"></td>
            <td class="status"><img src="/images/status_<? echo $rec['pupilometer']?>.png"></td>
            <td class="status"><?echo $rec['temp']?></td>
            <td>Профиль: <strong><?echo $rec['_profil_name']?></strong></td>
         </tr>
     <?}?>
   </table>
   </form></div><?

//damp_array(_IL('IL_term_prof')->recs,1,-1) ;
}

function show_profil_device()
{

}





?>
