{* Template for the video detailview $Id: show.tpl,v 1.34 2013/03/14 17:16:36 andig2 Exp $ *} {include file="fancyzoom.tpl"} {*include file="fullsize.tpl"*} {if $video.editable || $video.copyable}
{if $video.editable}
{/if} {if $video.copyable}
{* IE whitespace fix *}{* IE whitespace fix *}
{/if} {if $video.editable}
{/if} {if $video.prev_id || $video.next_id}
{/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.imgurl} {html_image file=$video.imgurl link=$link title=$lang.visit max_width="97" max_height="144" id="coverimg" class="canzoom" targetimg=$video.imgurl} {/if}

{$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}

{$lang.year}:

{$video.year}

{$lang.director}:

{$video.director}

{$lang.country}:

{foreach $video.country as $country} {$country} {/foreach}

{$lang.seen}:

{html_checkbox name="seen" value=1 checked=$video.seen}
{if !empty($engines.trailer)} {/if} {if !empty($engines.purchase)} {/if} {if !empty($engines.download)} {/if}
{if $video.runtime > 0} {/if} {if $video.language} {/if} {if $video.mediatype} {/if} {if !empty($video.owner)} {/if} {if !empty($video.custom1name) && $video.custom1out} {/if} {if !empty($video.custom2name) && $video.custom2out} {/if} {if !empty($video.custom3name) && $video.custom3out} {/if} {if !empty($video.custom4name) && $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}:

{foreach $video.language as $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}

{$lang.rating}:

 ({if $video.rating}{$video.rating}{else}0{/if})

{$video.custom1name}:

{$video.custom1out}

{$video.custom2name}:

{$video.custom2out}

{$video.custom3name}:

{$video.custom3out}

{$video.custom4name}:

{$video.custom4out}
{if $genres}

{$lang.genres}:

{foreach $genres as $genre} {$genre.name}
{/foreach} {/if}
{if $video.plot}

{$lang.plot}:

{$video.plot|regex_replace:"/^(.)/u":"\\1"}
{/if} {if !empty($video.episodes)}{include file="episodes.tpl"}{/if} {if $video.filename}
{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} {if $video.comment}

{$lang.comment}:

{$video.comment}
{/if} {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 $video.cast as $actor} {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 canzoom" targetimg=$actor.imgurl}{**} {/if} {$actor.name} {foreach $actor.roles as $role}
{$role} {/foreach}
 
{/if}
{/if}