{if ($type=='template')}
{volist name="data" id="v"}
{if isset($site[$module.'_theme']) && $site[$module.'_theme']==$v['name']}
{:__("Current")}
{/if}

##### {$v.title}

{if isset($v.price) && $v.price>0} {$v.price} {elseif isset($v.price) && $v.price==0} {:__('Free')} {else /} - {/if} {$v.author}

{$v.description}

{/volist}
{else /}

{:__("Title")} | {:lang("Cover")} | {:__("Introduce")} | {:__("Author")} | {:__("Price")} | {:__("Version")} | {:__("Status")} | {:__("Operate")}
--- | --- | --- | --- | --- | --- | --- | ---
{volist name="data" id="v"}
{$v.title|default=''} |  | {$v.description|default=''} | {$v.author|default=''} | {:isset($v['price'])?$v['price']<=0?''.__("Free").'':''.$v['price'].'':'-'} |  | {if !isset($v['db_install'])} {/if} | {if !isset($v['db_install'])} {if isset($v['config'])&&$v['config']&&$v['status']==1} {:__("Config")} {/if} {:__("Uninstall")} {:__("Pack")} {else /} {:__('Install')} {/if}
{/volist} {if empty($data)}
{:__("No data")}
{/if}

{/if}