{include file="$template_path/html/header.html"} {include file="$template_path/js/arc.html"} {include file="$template_path/html/jstemplate.html"} {if check_login_bool() && $smarty.session.user.user_id == $item.user_id || $smarty.session.user.access || isset($item.is_buyed)} {else} {/if}
{foreach from=$previewFiles item=file name=foo} {$item.name|escape} {/foreach}
{literal} {/literal}