<?
  // шаблон - вывод ссылками без разделитея
  function list_mo_sessions($list_recs,$options=array())
  { $id=($options['id'])? 'id='.$options['id']:'' ;
    include_once('list_mo_sessions_tr.php') ;
    //$arr_member_views=
    ?><script type="application/javascript" src="/<?echo _CLASS_?>/ext/aspmo_pp/script.js"></script>
      <link rel="stylesheet" type="text/css" href="/<?echo _CLASS_?>/ext/aspmo_pp/style.css" charset="utf-8">
      <div class=list_mo_sessions <?echo $id?>>
      <table>
        <colgroup><col id="c0"><col id="c1"><col id="c2"><col id="c22"><col id="c3"><col id="c_photo"><col id="c_result"><!--<col id="c11">--><col id="c12"><col id="c13"></colgroup>
        <tr class="head"><th>№</th><th>Дата/время</th><th>Терминал</th><th>Тип<br>контроля</th><th>ФИО<br>сотрудника</th><th>Фото</th><th>Проверка</th><!--<th>Жалобы</th>--><th>Результат осмотра</th><th>Допуск</th></tr><?
        $i=($options['no_reverse_indx'])? 1:_sizeof($list_recs) ;
        if (_sizeof($list_recs)) foreach($list_recs as $rec)
          {   $options['i']=$i ;
              list_mo_sessions_tr($rec,$options) ;
              if ($options['no_reverse_indx']) $i++ ; else $i-- ;
          }


      ?></table><div id="panel_image_preview"></div></div>
      <script type="text/javascript">
          $j(document).ready(function()
          {    $j('div.list_mo_sessions td.photo div.img img').hover(
                  function() { $j('div#panel_image_preview').addClass('active').html('<img src="'+$j(this).attr('src')+'">');},
                  function() {  $j('div#panel_image_preview').removeClass('active');}
                ) ;
          }) ;
      </script>

      <?
  }

?>
