<?
 function panel_rmv_stats()
 { ?><div id="panel_rmv_stats"><?
     $d=time()-MEMBER()->info['smena_in'] ;
     ?><table id="mo_stats">
       <tr><td>Время начала смены</td><td>Длительность смены</td><td>Число сотрудников</td><td>Ожидается на проверку</td><td>Пройдено МО</td><td>Допущено</td><td>Не допущено</td></tr>
       <tr><td><?echo date('d.m.Y H:i',MEMBER()->info['smena_in'])?></td>
           <td><?echo gmstrftime('%H:%M',$d)?></td>
           <td id="stats_count_personal"><img src="/<?echo _CLASS_?>/assets/loader.white.tr.gif"></td>
           <td id="stats_count_to_check" class="v1" href="/cab/rmv/[skoro,cur_smena]/"><img src="/<?echo _CLASS_?>/assets/loader.white.tr.gif"></td>
           <td id="stats_s1" class="v1" href="/cab/rmv/[cur_smena]/"><img src="/<?echo _CLASS_?>/assets/loader.white.tr.gif"></td>
           <td id="stats_s2" class="v1" href="/cab/rmv/[dopusk=(1),cur_smena]/"><img src="/<?echo _CLASS_?>/assets/loader.white.tr.gif"></td>
           <td id="stats_s3" class="v1" href="/cab/rmv/[dopusk=(2),cur_smena]/"><img src="/<?echo _CLASS_?>/assets/loader.white.tr.gif"></td>
       </tr>
     </table>
     <script type="text/javascript">send_ajax_request({cmd:'aspmo_rmv/rmv_doctor_backgroup_upload_stats'})</script>
     <?
   ?></div><?
 }
?>