<{if $op=="edit_form"}>
<{$formValidator_code}>

# <{$smarty.const._MD_TCW_WORKS_ADD}>

<{$cate_menu_form}>
<{$WorkDesc}>
<{$smarty.const._MD_TCW_WORKS_KIND}>
<{$smarty.const._MD_TCW_WORKS_ENABLE}>
checked<{/if}>> <{$smarty.const._YES}> checked<{/if}>> <{$smarty.const._NO}>
<{if $WorksKind!=""}> <{$smarty.const._MD_TCW_WORKS_END_DATE}> <{else}> <{$smarty.const._MD_TCW_WORKS_DATE}> <{/if}>
<{$tags_form}>
style="display:none;"<{/if}>> <{$smarty.const._MD_TCW_WORKS_UPLOAD}>
<{$upform}>
<{elseif $op=="show_one"}> <{if $isMyWeb}> <{$sweet_delete_works_func_code}> <{/if}>

# <{$WorkName}>

<{if $WorkDesc}>
<{$WorkDesc}>
<{/if}>
<{$pics}>
<{if $show_mem_upload_form}>
<{$smarty.const._MD_TCW_WORKS_UPLOAD}>
<{$upform}>
<{$smarty.const._MD_TCW_WORKS_DESCRIPTION}>
<{$smarty.const._MD_TCW_WORKS_UPLOADED_WORKS}>
<{$mem_upload_content.list_del_file}>
<{$smarty.const._MD_TCW_WORKS_AUTHOR}> <{$LoginMemName}>
<{/if}> <{if $isMyWeb}>
<{$smarty.const._TAD_DEL}><{$smarty.const._MD_TCW_WORKS_SHORT}> <{$smarty.const._MD_TCW_ADD}><{$smarty.const._MD_TCW_WORKS_SHORT}> <{$smarty.const._TAD_EDIT}><{$smarty.const._MD_TCW_WORKS_SHORT}> <{if $WorksKind!==''}> <{$smarty.const._MD_TCW_WORKS_WORKS_SCORE_FORM}> <{/if}>
<{/if}> <{$fb_comments}> <{elseif $op=="score_form" and $show_score_form}>

## <{$WorkName}> <{$smarty.const._MD_TCW_WORKS_WORKS_SCORE_FORM}>

<{foreach from=$all_upload_content item=work}>
<{$work.MemName}> @ <{$work.UploadDate}>
<{$work.MemName}><{$smarty.const._MD_TCW_WORKS_WORKS_SCORE}>
<{if $work.WorkDesc}>
<{$work.WorkDesc}>
<{/if}> <{$work.list_del_file}>
<{$work.WorkJudgment}>

<{/foreach}>
<{elseif $op=="list_all"}> <{if $WebID}>
<{$cate_menu}>
<{if $isMyWeb and $WebID}> <{$smarty.const._MD_TCW_CATE_TOOLS}> <{$smarty.const._MD_TCW_ADD}><{$smarty.const._MD_TCW_WORKS_SHORT}> <{/if}>
<{/if}> <{if $works_data}> <{$FooTableJS}> <{includeq file="$xoops_rootpath/modules/tad_web/plugins/works/tpls/tad_web_common_works_b3.html"}> <{else}>

# <{$works.PluginTitle}>

<{$smarty.const._MD_TCW_EMPTY}>
<{/if}> <{elseif $op=="setup"}> <{includeq file="$xoops_rootpath/modules/tad_web/templates/tad_web_plugin_setup_b3.html"}> <{else}>

# <{$works.PluginTitle}>

<{if $isMyWeb and $WebID}> <{$smarty.const._MD_TCW_ADD}><{$smarty.const._MD_TCW_WORKS_SHORT}> <{else}>
<{/if}> <{/if}>