{* Template for the video detailview $Id: show.tpl,v 2.60 2013/03/14 17:17:27 andig2 Exp $ *} {if $video.editable || $video.copyable} {if $video.copyable} {/if} {if $video.editable} {/if}
 
{else}
{/if}
{if $link} {if $config.imdbBrowser}{assign var="link" value=$link|escape:url}{assign var="link" value="trace.php?videodburl=$link"}{/if} {/if} {* {if $video.imdbID}{/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)}
{$lang.notavail} {$video.who} {/if} {/if}
{if $video.year} {/if} {if $video.director} {/if} {if count($video.country)} {/if} {if !empty($engines.trailer)} {/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}
{$lang.trailer_show}
{if $video.runtime > 0} {/if} {if $video.language} {/if} {if $video.mediatype} {/if} {if !empty($video.owner)} {/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.length}:{math equation="floor(x/60)" x=$video.runtime} hr(s) {math equation="x - floor(x/60) * 60" x=$video.runtime} min ({$video.runtime} min)
{$lang.language}: {* {$video.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}
{$video.custom1name}: {$video.custom1out}
{$video.custom2name}: {$video.custom2out}
{$video.custom3name}: {$video.custom3out}
{$video.custom4name}: {$video.custom4out}
{if $genres} {$lang.genres}:
{foreach item=genre from=$genres} {$genre.name}
{/foreach} {/if}
{if $video.plot}
{$lang.plot}:
{$video.plot}
{/if} {if !empty($video.episodes)}{include file="episodes.tpl"}{/if} {if $video.filename} {/if} {if $video.comment} {/if}
{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}

{$lang.comment}:
{$video.comment}
{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 == $config.castcolumns} {counter start=0 print=false name=castcount} {/if} {/foreach} {if $count != 0} {section name="columnLoop" start=$count loop=$config.castcolumns} {/section} {/if}
{if $actor.imgurl} {assign var="link" value=$actor.imdburl} {html_image file=$actor.imgurl max_width=45 max_height=60 class=thumb}{**} {/if} {$actor.name}
{foreach item=role from=$actor.roles} {$role}
{/foreach}
 
{/if}
{/if}