{if !isset($imdbsearch) || strlen($imdbsearch) == 0} {/if}
{if !isset($movie)} {* Search IMDb movie information for new movies *}

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

{/if} {if isset($imdbresults) && $imdbresults|@count > 0} {* Search results from IMDb *}

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

{section name=r loop=$imdbresults} {/section}
{$smarty.const.VISIT_IMDB|htmlentities:3:'UTF-8'} {$imdbresults[r]->title()} {$imdbresults[r]->year()}
{elseif isset($imdbsearch) && strlen($imdbsearch) > 0} {* No results found on IMDb *}
{$smarty.const.NO_RESULTS_FOUND|htmlentities:3:'UTF-8'}
{else} {* Show movie information *}

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

loaned} class="hide"{/if}> loaned} class="hide"{/if}>
{if isset($imdbmovie) && $imdbmovie->photo()} {$movie->name|htmlentities:3:'UTF-8'} {elseif isset($movie) && $movie->hasPhoto()} {$movie->name|htmlentities:3:'UTF-8'} {elseif isset($movie) && $movie->hasCover()} {$movie->name|htmlentities:3:'UTF-8'} {/if}
{$smarty.const.IMDB_NUMBER|htmlentities:3:'UTF-8'}
{$smarty.const.TITLE|htmlentities:3:'UTF-8'}
{$smarty.const.AKA_TITLES|htmlentities:3:'UTF-8'}
{$smarty.const.YEAR|htmlentities:3:'UTF-8'}
{$smarty.const.DURATION_MINUTES|htmlentities:3:'UTF-8'}
{$smarty.const.RATING|htmlentities:3:'UTF-8'}
{$smarty.const.FORMAT|htmlentities:3:'UTF-8'}
{$smarty.const.dubbed|htmlentities:3:'UTF-8'} dubbed} checked{/if}> dubbed} checked{/if}>
{$smarty.const.sebodi|htmlentities:3:'UTF-8'} sebodi} checked{/if}> sebodi} checked{/if}>
{$smarty.const.I_OWN_THIS_MOVIE|htmlentities:3:'UTF-8'} own} checked{/if}> own} checked{/if}>
{$smarty.const.I_HAVE_SEEN_THIS_MOVIE|htmlentities:3:'UTF-8'} seen} checked{/if}> seen} checked{/if}>
{$smarty.const.LOANED_OUT|htmlentities:3:'UTF-8'} loaned} checked{/if}> loaned} checked{/if}>
{$smarty.const.LOANED_OUT_TO|htmlentities:3:'UTF-8'}
{$smarty.const.LOANED_OUT_SINCE|htmlentities:3:'UTF-8'}
{$smarty.const.COVER|htmlentities:3:'UTF-8'} {$smarty.const.SEARCH_FOR_COVER|htmlentities:3:'UTF-8'}
{$smarty.const.TRAILER_URL|htmlentities:3:'UTF-8'} {$smarty.const.SEARCH_FOR_TRAILER|htmlentities:3:'UTF-8'}
{$smarty.const.PERSONAL_NOTES|htmlentities:3:'UTF-8'}
{$smarty.const.TAGLINES|htmlentities:3:'UTF-8'}
{$smarty.const.PLOT_OUTLINE|htmlentities:3:'UTF-8'}
{$smarty.const.PLOTS|htmlentities:3:'UTF-8'}
{$smarty.const.LANGUAGES|htmlentities:3:'UTF-8'}
{$smarty.const.SUBTITLES|htmlentities:3:'UTF-8'}
{$smarty.const.AUDIO|htmlentities:3:'UTF-8'}
{$smarty.const.VIDEO|htmlentities:3:'UTF-8'}
{$smarty.const.COUNTRY|htmlentities:3:'UTF-8'}
{$smarty.const.GENRES|htmlentities:3:'UTF-8'}
{$smarty.const.DIRECTOR|htmlentities:3:'UTF-8'}
{$smarty.const.WRITER|htmlentities:3:'UTF-8'}
{$smarty.const.PRODUCER|htmlentities:3:'UTF-8'}
{$smarty.const.MUSIC|htmlentities:3:'UTF-8'}
{$smarty.const.CAST|htmlentities:3:'UTF-8'}
{if $autoupdate}

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

 

{/if} {/if}