<{foreach from=$movie_list item=i key=k}>

<{assign var="movie" value=$i}> <{include file="db:`$mydirname`_thumb_part.html"}>

<{/foreach}>