<?
function panel_driver_info($rec_personal,$options=array())
{ ?><div id="panel_driver_info" reffer="<?echo $rec_personal['_reffer']?>"><h1>Информация по водителю</h1><?
   ?><table class="table_tr_line">
     <tr><td>ФИО:</td><td><?echo $rec_personal['obj_name']?></td></tr>
     <tr><td>Пол:</td><td><?echo (!$rec_personal['pol'])? 'Мужской':'Женский'?></td></tr>
     <tr><td>Дата рождения:</td><td><?echo $rec_personal['dr']?></td></tr>
     <tr><td>Возраст:</td><td><?echo $rec_personal['age']?></td></tr>
     <tr><td>Организация:</td><td><?echo $rec_personal['_org_name']?></td></tr>
     <tr><td>Автопарк:</td><td><?echo $rec_personal['_otdel_name']?></td></tr>
     <tr><td>Телефон:</td><td><?echo $rec_personal['phone']?></td></tr>
     <tr><td>Номер ВУ:</td><td><?echo $rec_personal['driving']?></td></tr>
     <tr><td>Пропуск:</td><td><?echo $rec_personal['propusk']?></td></tr>
     <tr><td>Дата выдачи мед.справки:</td><td><?if ($rec_personal['s_medspravka']) echo date('d.m.Y',$rec_personal['s_medspravka'])?></td></tr>
    </table>
    <div class="buttons"><?
           /*  if ($options['button']['change_info'] and is_member_right('personal_change_info')) {?><button class="v2 fa fa-pencil-square-o" cmd="aspmo/get_panel_personal_edit_info">Редактировать</button><?}
             if ($options['button']['change_photo'] and is_member_right('personal_change_photo')) {?><button class="v2 fa fa-camera" cmd="webcamera_capture/get_panel_photo_capture">Фото</button><?}
             if ($options['button']['pupilometr'] and $rec_personal['_pupilomeria_cnt']){?><button class="v1  fa fa-eye"  href="<?echo $rec_personal['__href'].'n/'; ?>">Пупиллометрия</button><?}
             if ($options['button']['med_card']){?><button class="v1" href="<?echo $rec_personal['__href']?>">Медицинская карточка сотрудника</button><?} */
   ?></div></div><?
    //damp_array($rec_personal);

}

?>