{* Output of search results/browselist $Id: list.tpl,v 2.35 2013/03/14 17:17:27 andig2 Exp $ *} {if !empty($listcolumns) && $listcolumns == 1} {assign var=IMGWIDTH value="35"} {assign var=IMGHEIGHT value="48"} {assign var=ROWSPAN value="2"} {else} {assign var=IMGWIDTH value="97"} {assign var=IMGHEIGHT value="144"} {assign var=ROWSPAN value="3"} {/if}
{if !empty($list)} {counter assign=count start=0 print=false name=videocount} {foreach item=video from=$list} {if $count == 0} {cycle values="even,odd" assign=CLASS print=false} {/if} {counter assign=count name=videocount} {if $count == $listcolumns} {counter start=0 print=false name=videocount} {/if} {/foreach} {if $count != 0} {section name="columnLoop" start=$count loop=$listcolumns} {/section} {/if}
{* uncomment this if you want the 'Browse' tab to remember last visited movie *} {if $video.imgurl}{/if} {/if} {if $listcolumns < 4} {if $listcolumns < 3}{/if}
{html_image file=$video.imgurl link="show.php?id="|cat:$video.id align=left max_width=$IMGWIDTH max_height=$IMGHEIGHT class="cover"} {if $listcolumns < 4}{/if} {$video.title}{if $video.subtitle} - {$video.subtitle}{/if}{if $listcolumns != 1}
{/if} {if $video.year || $video.director} [{if $video.year}{$video.year}{if $video.director}; {/if}{/if}{if $video.director}{$video.director}{/if}] {* uncomment this if you want to have ratings in the 'Browse' tab {if $video.custom_rating}
{custom_rating rating=$video.custom_rating}{/if} *}
{/if} {$video.plot|truncate:250} {$lang.more}
{$video.diskid}
{* changed to support mutiple languages {if $video.language} {if $video.flagfile}{$video.language}{else}{$video.language}{/if}{/if} *} {foreach item=itemlang from=$video.language} {if $itemlang} {if !empty($video.flagfile[$itemlang])} {$itemlang} {else} {$itemlang} {/if} {/if} {/foreach}
{if $video.seen}{$lang.seen}
{/if} {if $listcolumns == 1}
{/if} {if $video.editable} {* {$lang.edit}
{$lang.delete} *}
{/if}
 
{/if}