  <tr bgcolor="#ffffff">
   <td align="center" width="100"><a href="<% $link |h %>">\
% if ($item->{dir}) {
<img src="<% $m->top_comp->dir_path %>/gallery/imgdir.gif" width="100" height="28" border="0">\
% } else {
<& thumb, $item->{pic} &>\
% }
</a><br></td>
   <td width="100%">
    &nbsp;&nbsp;&nbsp;
    <b><a href="<% $link %>"><% $txt |h %></a></b>
    <& new, $item->{pic} &>
   </td>
  </tr>
% if (length($item->{comment})) {
  <tr>
   <td bgcolor="#ffffcc" colspan="2">
    <% $item->{comment} %>
   </td>
  </tr>
% }
<%init>
    my ($item) = @_;
    my ($link, $txt);

    if ($item->{dir}) {
	$txt = basename($item->{dir});
	$link = "$item->{dir}/";
    } else {
	$txt = basename($item->{pic});
	$link = "$txt.html";
    }
</%init>
