{section name=m loop=$movies}
{if $movies[m]->dubbed && strlen($movies[m]->dubbed) == 1}
دوبله فارسی
{/if}
{if $movies[m]->hasPhoto()}{$movies[m]->name|htmlentities:3:'UTF-8'} {elseif $movies[m]->hasCover()}{$movies[m]->name|htmlentities:3:'UTF-8'} {else}
{$smarty.const.NO_COVER|htmlentities:3:'UTF-8'}
{/if}
{$movies[m]->name|htmlentities:3:'UTF-8'} ({$movies[m]->year|htmlentities:3:'UTF-8'})
{if $movies[m]->sebodi && strlen($movies[m]->sebodi) == 1}
{$smarty.const.VISIT_IMDB|htmlentities:3:'UTF-8'}
{/if}
{if $movies[m]->genres && strlen($movies[m]->genres) > 0} {assign var=genres value=$movies[m]->getList('genres')} {section name=g loop=$genres} {if !$smarty.section.g.first}|{/if} {$genres[g]|htmlentities:3:'UTF-8'} {/section} {/if}
مدت زمان : {if $movies[m]->duration && $movies[m]->duration != 0}{$movies[m]->duration|htmlentities:3:'UTF-8'} {$smarty.const.MINUTES|htmlentities:3:'UTF-8'}{/if}
{if $movies[m]->rating && $movies[m]->rating != 0} {$smarty.const.RATING|htmlentities:3:'UTF-8'}: {$movies[m]->rating|htmlentities:3:'UTF-8'} {/if} | لینک IMDB
{if $movies[m]->plotoutline && strlen($movies[m]->plotoutline) > 0}

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

{assign var=plotoutline value=$movies[m]->getList('plotoutline')} {section name=p loop=$plotoutline}
{$plotoutline[p]|htmlentities:3:'UTF-8'|truncate:300:"...":true}
{/section} {/if}
{if $movies[m]->country && strlen($movies[m]->country) > 0} {$smarty.const.COUNTRY|htmlentities:3:'UTF-8'}: {assign var=country value=$movies[m]->getList('country')} {section name=c loop=$country} {if !$smarty.section.c.first}|{/if} {$country[c]|htmlentities:3:'UTF-8'} {/section} {/if}
{if $movies[m]->director && strlen($movies[m]->director) > 0} {$smarty.const.DIRECTOR|htmlentities:3:'UTF-8'}: {assign var=director value=$movies[m]->getList('director')} {section name=d loop=$director} {if !$smarty.section.d.first}|{/if} {$director[d]|htmlentities:3:'UTF-8'} {/section} {/if}
{if $movies[m]->writer && strlen($movies[m]->writer) > 0} {$smarty.const.WRITER|htmlentities:3:'UTF-8'}: {assign var=writer value=$movies[m]->getList('writer')} {section name=w loop=$writer} {if !$smarty.section.w.first}|{/if} {$writer[w]|htmlentities:3:'UTF-8'} {/section} {/if}
{if $movies[m]->producer && strlen($movies[m]->producer) > 0} {$smarty.const.PRODUCER|htmlentities:3:'UTF-8'}: {assign var=producer value=$movies[m]->getList('producer')} {section name=p loop=$producer} {if !$smarty.section.p.first}|{/if} {$producer[p]|htmlentities:3:'UTF-8'} {/section} {/if}
{sectionelse}
{$smarty.const.NO_RESULTS_FOUND|htmlentities:3:'UTF-8'}
{/section} {include file="movies/pager.html"}