{assign var=photo value=0} {if isset($imdbmovie) && $imdbmovie->photo()} {$movie->name|htmlentities:3:'UTF-8'} {assign var=photo value=1} {elseif isset($movie) && $movie->hasPhoto()} {$movie->name|htmlentities:3:'UTF-8'} {assign var=photo value=1} {elseif isset($movie) && $movie->hasCover()} {$movie->name|htmlentities:3:'UTF-8'} {assign var=photo value=1} {/if}
{if $movie->taglines && strlen($movie->taglines) > 0} {assign var=taglines value=$movie->getList('taglines')} {section name=t loop=$taglines max=1}
{$taglines[t]|htmlentities:3:'UTF-8'}
{/section} {/if}

{$movie->name|htmlentities:3:'UTF-8'} محصول سال {$movie->year|htmlentities:3:'UTF-8'}

{if $movie->loaned} {$smarty.const.LOANED_OUT|htmlentities:3:'UTF-8'}{if $movie->loanname != ""} {$smarty.const.TO|htmlentities:3:'UTF-8'} {$movie->loanname|htmlentities:3:'UTF-8'}{/if}{if $movie->loandate != "0000-00-00"} {$smarty.const.ON|htmlentities:3:'UTF-8'} {$movie->loandate|htmlentities:3:'UTF-8'}{/if} {/if}
{if $movie->genres && strlen($movie->genres) > 0} {assign var=genres value=$movie->getList('genres')} {section name=g loop=$genres} {if !$smarty.section.g.first}|{/if} {$genres[g]|htmlentities:3:'UTF-8'} {/section} {/if}
{if $movie->duration && $movie->duration != 0}{$movie->duration|htmlentities:3:'UTF-8'} {$smarty.const.MINUTES|htmlentities:3:'UTF-8'}{/if}
{if $movie->rating && $movie->rating != 0} {$smarty.const.RATING|htmlentities:3:'UTF-8'}: {$movie->rating|htmlentities:3:'UTF-8'} {/if}
{if $movie->languages && strlen($movie->languages) > 0} {$smarty.const.LANGUAGES|htmlentities:3:'UTF-8'}: {assign var=languages value=$movie->getList('languages')} {section name=l loop=$languages} {if !$smarty.section.l.first}|{/if} {$languages[l]|htmlentities:3:'UTF-8'} {/section} {/if}
{if $movie->subtitles && strlen($movie->subtitles) > 0} {$smarty.const.SUBTITLES|htmlentities:3:'UTF-8'}: {assign var=subtitles value=$movie->getList('subtitles')} {section name=s loop=$subtitles} {if !$smarty.section.s.first}|{/if} {$subtitles[s]|htmlentities:3:'UTF-8'} {/section} {/if}
{if $movie->country && strlen($movie->country) > 0} {$smarty.const.COUNTRY|htmlentities:3:'UTF-8'}: {assign var=country value=$movie->getList('country')} {section name=c loop=$country} {if !$smarty.section.c.first}|{/if} {$country[c]|htmlentities:3:'UTF-8'} {/section} {/if}
{if $movie->director && strlen($movie->director) > 0} {$smarty.const.DIRECTOR|htmlentities:3:'UTF-8'}: {assign var=director value=$movie->getList('director')} {section name=d loop=$director} {if !$smarty.section.d.first}|{/if} {$director[d]|htmlentities:3:'UTF-8'} {/section} {/if}
{if $movie->writer && strlen($movie->writer) > 0} {$smarty.const.WRITER|htmlentities:3:'UTF-8'}: {assign var=writer value=$movie->getList('writer')} {section name=w loop=$writer} {if !$smarty.section.w.first}|{/if} {$writer[w]|htmlentities:3:'UTF-8'} {/section} {/if}
{if $movie->producer && strlen($movie->producer) > 0} {$smarty.const.PRODUCER|htmlentities:3:'UTF-8'}: {assign var=producer value=$movie->getList('producer')} {section name=p loop=$producer} {if !$smarty.section.p.first}|{/if} {$producer[p]|htmlentities:3:'UTF-8'} {/section} {/if}
{if $movie->music && strlen($movie->music) > 0} {$smarty.const.MUSIC|htmlentities:3:'UTF-8'}: {assign var=music value=$movie->getList('music')} {section name=m loop=$music} {if !$smarty.section.m.first}|{/if} {$music[m]|htmlentities:3:'UTF-8'} {/section} {/if}
{if $movie->video && strlen($movie->video) > 0} {$smarty.const.VIDEO|htmlentities:3:'UTF-8'}: {assign var=video value=$movie->getList('video')} {section name=v loop=$video} {if !$smarty.section.v.first}|{/if} {$video[v]|htmlentities:3:'UTF-8'} {/section} {/if}
{if $movie->audio && strlen($movie->audio) > 0} {$smarty.const.AUDIO|htmlentities:3:'UTF-8'}: {assign var=audio value=$movie->getList('audio')} {section name=a loop=$audio} {if !$smarty.section.a.first}|{/if} {$audio[a]|htmlentities:3:'UTF-8'} {/section} {/if}
{if $movie->notes && strlen($movie->notes) > 0}

{$smarty.const.PERSONAL_NOTES|htmlentities:3:'UTF-8'}

{$movie->notes|htmlentities:3:'UTF-8'|nl2br} {/if}
{if $movie->plotoutline && strlen($movie->plotoutline) > 0}

{$smarty.const.PLOT_OUTLINE|htmlentities:3:'UTF-8'}

{assign var=plotoutline value=$movie->getList('plotoutline')} {section name=p loop=$plotoutline}
{$plotoutline[p]|htmlentities:3:'UTF-8'}
{/section} {/if}
{if $movie->cast && strlen($movie->cast) > 0}

{$smarty.const.CAST|htmlentities:3:'UTF-8'}

    {assign var=cast value=$movie->getList('cast')} {section name=c loop=$cast}
  • {$cast[c]|htmlentities:3:'UTF-8'}
  • {/section} {/if}
{if $movie->plots && strlen($movie->plots) > 0}

{$smarty.const.PLOTS|htmlentities:3:'UTF-8'}

    {assign var=plots value=$movie->getList('plots')} {section name=p loop=$plots}
  1. {$plots[p]|htmlentities:3:'UTF-8'}
  2. {/section}
{/if}
{literal} {/literal}