{template 'header', $module}
{if $action == 'add'}

* classification | {$type_select}
* title | [Limit 5-30 words]
* content | {deditor($moduleid, 'content', 'Simple', '98%', 300)}[limit 10-5000 words]

{elseif $action == 'edit'}

* classification | {$type_select}
* title | [limit 5-30 words]
*content | {$content} {deditor($moduleid, 'content', 'Simple', '98%', 200)}[limit 10-5000 words]

{elseif $action == 'show'}

Question Classification | {$TYPE[$typeid][typename]}
Problem title | {$title}
Problem content | {$content}
Submit time | {$addtime}
Accepts state | {$dstatus[$status]}
{if $status > 1}
Problem reply | {$reply}
acceptance time | {$admintime}
Accept people | {$admin}
My evaluation | {if $star} {$stars[$star]} {else} Not satisfied Basic satisfaction Very Satisfied {/if}
{/if}

{else}

serial number | state | title | AddDate | classification | modify | delete
--- | --- | --- | --- | --- | --- | ---
{loop $asks $k $v}
{$v[itemid]} | {$v[dstatus]} | {$v[title]} | {$v[addtime]} | {$v[type]} | {if $v[status] == 0}{else}--{/if} |
{/loop}

{$pages}
{/if} {if $action=='add' || $action=='edit'}
{/if} {template 'footer', $module}