{* Template for the video detailview $Id: show.tpl,v 2.17 2008/12/07 12:43:28 andig2 Exp $ *}
{if $link} {if $config.imdbBrowser}{assign var="link" value=$link|escape:url}{assign var="link" value="trace.php?videodburl=$link"}{/if} {/if} {html_image file=$video.imgurl link=$link title=$lang.visit max_width="97" max_height="144"} {$video.title} {if $video.subtitle != ''}
{$video.subtitle} {/if}
{if $video.diskid != ''} {$video.diskid} {if !empty($video.who) && $video.who != ''}
{$lang.notavail} {$video.who} {/if} {/if}
{if $video.year} {/if} {if $video.director != ''} {/if} {if count($video.country)} {/if}
{$lang.year}:{$video.year}
{$lang.director}:{$video.director}
{$lang.country}: {* {$video.country} *} {foreach item=country from=$video.country} {$country} {/foreach}
{$lang.seen}:
{html_checkbox name="seen" value=1 checked=$video.seen onclick="submit()"} {if $video.seen}{/if}
{$lang.rating}: {html_rating value=$video.rating}
{if $video.runtime > 0} {/if} {if $video.language} {/if} {if $video.mediatype != ''} {/if} {if !empty($video.owner)} {/if}
{$lang.length}:{math equation="floor(x/60)" x=$video.runtime} h {math equation="x - floor(x/60) * 60" x=$video.runtime} min ({$video.runtime} min)
{$lang.language}: {foreach item=language from=$video.language} {$language} {/foreach}
{$lang.mediatype}:{$video.mediatype}
{$lang.owner}: {$video.owner} {if $loggedin != '' and $video.email != '' and $video.owner != $loggedin and $video.who == '' and $video.diskid != ''} [ {$lang.borrowask} ] {/if}
{if $genres} {$lang.genres}:
{foreach item=genre from=$genres} {$genre.name}
{/foreach} {/if}
{if $video.plot != ''} {/if}
{$lang.plot}:
{$video.plot}

{if $video.filename != ''} {/if} {if $video.filesize > 0} {/if} {if $video.filedate != "0000-00-00 00:00:00"} {/if} {if $video.audio_codec != ''} {/if} {if $video.video_codec != ''} {/if} {if $video.video_height > 0 || $video.video_width > 0} {/if}
{$lang.filename}:{$video.filename}
{$lang.filesize}:{$video.filesize} mb
{$lang.filedate}:{$video.filedate}
{$lang.audiocodec}:{$video.audio_codec}
{$lang.videocodec}:{$video.video_codec}
{$lang.dimension}:{$video.video_width}x{$video.video_height}

{if $video.comment != ''} {/if} {if !empty($video.custom1name) && !empty($video.custom1out)} {/if} {if !empty($video.custom2name) && !empty($video.custom2out)} {/if} {if !empty($video.custom3name) && !empty($video.custom3out)} {/if} {if !empty($video.custom4name) && !empty($video.custom4out)} {/if}
{$lang.comment}: {$video.comment}
{$video.custom1name}: {$video.custom1out}
{$video.custom2name}: {$video.custom2out}
{$video.custom3name}: {$video.custom3out}
{$video.custom4name}: {$video.custom4out}
{if $video.actors != ''} {$lang.cast}: {if $cast_toggle} {if $show_cast} {$lang.hidecast} {else} {$lang.showcast} {/if} {/if} {if $show_cast} {counter start=0 print=false name=castcount assign=count} {foreach item=actor from=$video.cast} {if $count == 0} {/if} {counter assign=count name=castcount} {if $count == $castcolumns} {counter start=0 print=false name=castcount} {/if} {/foreach}
{if $actor.imgurl != ''} {/if}
{$actor.name}
{foreach item=role from=$actor.roles} {$role}
{/foreach}
{/if}
{/if}