{foreach key=id item=video from=$videos} <div id="my"><a target="player" href="{$video.video}" > {$video.title|truncate:30} </a> </div> {/foreach}