<?
function panel_personal_info($rec,$options=array())
{
    ?>
    <td>
        <img class="person_image" width="<?echo $GLOBALS['LS_lamp_photo_width']?>" src="<? echo img_clone($rec,'source')?>">
    </td>
    <td>
        <table class="basic auto">
            <tr><th class="left">ФИО:</th><td><strong><?echo $rec['obj_name']?></strong></td></tr>
            <tr><th class="left">Пол:</th><td><?echo (!$rec['pol'])? 'Мужской':'Женский'?></td></tr>
            <tr><th class="left">Дата рождения:</th><td><?echo $rec['dr']?></td></tr>
            <tr><th class="left">Возраст:</th><td><?echo $rec['age']?></td></tr>
            <tr><th class="left">Организация:</th><td><?echo $rec['_org_name']?></td></tr>
            <tr><th class="left">Подразделение:</th><td><?echo $rec['_otdel_name']?></td></tr>
            <tr><th class="left">Должность:</th><td><?echo $rec['_work_name']?></td></tr>
            <?if (!$rec['enabled'])echo '<tr><th class="left">Статус:</th><td><span class="red bold">УВОЛЕН</span> ('.date('d.m.Y H:i',$rec['fired_data']).')</td></tr>'?>
        </table>
    </td>
    <?
}

?>