{assign var="bc" value=$block.BlockContent}> <{if $bc.main_data}> <{if $isMyWeb}> <{$sweet_delete_homework_func_code}> <{/if}>