<?
  // шаблон - список статей: наименование-ссылка
  function list_images_highslide_table(&$list_recs,$options=array())
  { $id=($options['id'])? 'id='.$options['id']:'' ;
    $small_clone=($options['clone_small'])? $options['clone_small']:'small' ;
    $big_clone=($options['clone_big'])? $options['clone_big']:'source' ;
    ?><table class="list_images_highslide_table list_images_highslide" <?echo $id?>><?
  	if (_sizeof($list_recs)) foreach($list_recs as $rec)
  		{ ?><tr class=item>
               <td><a name="<?echo str_replace('.','',$rec['_reffer'])?>"></a>
                   <?if ($options['editing']){?><textarea class=image_name name=img_name[<?echo $rec['pkey']?>]><?echo htmlspecialchars($rec['obj_name'])?></textarea><?}
                     else {?><a href="<?echo img_clone($rec,$big_clone)?>"  target=_blank><?echo htmlspecialchars($rec['obj_name'])?></a><?}
                   ?>
               </td>
               <td><div class=item><a href="<?echo img_clone($rec,$big_clone)?>"  onclick="return hs.expand(this)"><img src="<?echo img_clone($rec,$small_clone)?>" alt="<?echo $options['alt']?>" border="0"></a></div></td>
               <td><?if ($options['editing']){?><input type=checkbox name=img_delete[<?echo $rec['pkey']?>]> Удалить<br><br><?}?></td>
            </tr><?
        }
    ?></table><?
  }
?>
