{template 'header', 'member'}
{if $action == 'buy'}

Template preview： |
* Buy duration： | (Note: according to the 30 day/month calculation)
Template price： | {$fee}{$unit}/month
Deal price： | {$fee}{$unit}
{if $currency == 'money'}
{$DT[money_name]}balance： | {$_money}{$unit} [Prepaid]
* PayPassword： | {template 'password', 'chip'}
{else}
{$DT[credit_name]}balance： | {$_credit}{$unit} [buy]
{/if}

{else}
{$fields_select} {$type_select} price：~
{$order_select} {if $all} {else} {/if}

{if $lists} {loop $lists $k $v} {if $k%3==0}
{/if}
{$v[title]}
{if $v['skin'] == 'default'}default{else}popularity：{$v[hits]}{/if}
writer：{$v[author]}
price： {if $v[fee]} {if $v[currency] == 'money'} {$v[fee]}{$DT[money_unit]}/month {else} {$v[fee]}{$DT[credit_unit]}/month {/if} {else} free {/if}
{if $c[skin] == $v[skin]} My homepage [{if $havedays}{$havedays}Days remaining{else} in use{/if}] {else} {if $v[fee]}buy{else}enable{/if} | preview {/if}
{$v[group]}
{if $k%3==2}
{/if} {/loop} {else}
Message: not find relevant template
{/if}

{$pages}
{/if}
{template 'footer', 'member'}