{template 'header', $module} {if $action == 'add'}
* {$type_select}
* [5-30]
* {deditor($moduleid, 'content', 'Simple', '98%', 300)}[10-5000]
    
{elseif $action == 'edit'}
* {$type_select}
* [5-30]
* {deditor($moduleid, 'content', 'Simple', '98%', 200)}[10-5000]
      
{elseif $action == 'show'} {if $status > 1} {/if}
{$TYPE[$typeid][typename]}
{$title}
{$content}
{$addtime}
{$dstatus[$status]}
{$reply}
{$admintime}
{$admin}
{if $star} {$stars[$star]} {else}
{/if}
{else}
{loop $asks $k $v} {/loop}
 {$v[itemid]}   {$v[dstatus]}  {$v[title]} {$v[addtime]} {$v[type]} {if $v[status] == 0}{else}--{/if}
{$pages}
{/if} {if $action=='add' || $action=='edit'} {/if} {template 'footer', $module}