<{$smarty.const._MD_CARTB2B_CATEGORY}>

<{if $xoops_isadmin}>
[<{$smarty.const._ADD}>]
<{$debstr}> <{/if}> <{if $message}> <{$message}> <{/if}> <{if $ctrl=="edit" || $ctrl=="update" || $ctrl=="addnew" || $ctrl=="insert" }>
<{$smarty.const._MD_CARTB2B_PARENT}>
<{$smarty.const._MD_CARTB2B_WEIGHT}>
<{$smarty.const._MD_CARTB2B_TITLE}>
<{$smarty.const._MD_CARTB2B_IMAGE}>
<{$smarty.const._MD_CARTB2B_CONTENT}>
[<{$smarty.const._VIEW}>]
<{elseif $ctrl=="delete" || $ctrl=="deleteOk" }>
<{$smarty.const._MD_CARTB2B_PARENT}> <{$records[0].parent}>
<{$smarty.const._MD_CARTB2B_WEIGHT}> <{$records[0].weight}>
<{$smarty.const._MD_CARTB2B_TITLE}> <{$records[0].title}>
<{$smarty.const._MD_CARTB2B_IMAGE}> <{$records[0].image}>
<{$smarty.const._MD_CARTB2B_CONTENT}> <{$records[0].content}>
<{else}>
<{foreach from=$records item=r}>

<{$smarty.foreach.loopname.iteration}>

<{$r.title}>

<{$r.content}>

<{$smarty.const._MD_CARTB2B_SELECT}> <{if $xoops_isadmin}> [<{$smarty.const._DELETE}> |<{$smarty.const._EDIT}>] <{/if}>

<{/foreach}>
<{/if}>