{if $edit}

{$smarty.const.BLOCKS_NAME}

{if $blocks_edit.html eq 0}

{$smarty.const.BLOCK_TEXT_CONT}
{$blocks_edit.content}

{if $smarty.const.CONF_EDITOR} {literal}
{/literal} {/if} {else} {$smarty.const.BLOCKS_HTML}{$smarty.const.CONF_DEFAULT_TEMPLATE}{$smarty.const.BLOCKS_HTML2}{$blocks_edit.url}"

{/if} {if $blocks_edit.about}{$smarty.const.BLOCK_EDIT_ABOUT}: {$blocks_edit.about}

{/if} {$smarty.const.BLOCK_EDIT_1}:
{$smarty.const.BLOCK_EDIT_2}:
{$smarty.const.BLOCK_EDIT_3}:

{$smarty.const.BLOCK_EDIT_NEW_CHOISE} | {$smarty.const.BLOCK_EDIT_ADD_CHOISE}

{$smarty.const.BLOCK_EDIT_DCAT} | {$smarty.const.BLOCK_EDIT_DPROD}
| {$blocks_edit.products} {$smarty.const.BLOCK_EDIT_PSDESCRIPT}

{$smarty.const.SAVE_BUTTON} | {$smarty.const.ADMIN_TX2}
{elseif $add_new_file}

{$smarty.const.BLOCKS_NAME}

{$smarty.const.BLOCK_TEXT_FILE}:

{$smarty.const.BLOCK_EDIT_1}:
{$smarty.const.BLOCK_EDIT_2}:
{$smarty.const.BLOCK_EDIT_3}:

{$smarty.const.BLOCK_EDIT_NEW_CHOISE} | {$smarty.const.BLOCK_EDIT_ADD_CHOISE}

{$smarty.const.BLOCK_EDIT_DCAT} | {$smarty.const.BLOCK_EDIT_DPROD}
| {$smarty.const.BLOCK_EDIT_PSDESCRIPT}

{$smarty.const.SAVE_BUTTON} | {$smarty.const.ADMIN_TX2}
{elseif $add_new}

{$smarty.const.BLOCKS_NAME}

{$smarty.const.BLOCK_TEXT_CONT}

{if $smarty.const.CONF_EDITOR} {literal}
{/literal} {/if} {$smarty.const.BLOCK_EDIT_1}:
{$smarty.const.BLOCK_EDIT_2}:
{$smarty.const.BLOCK_EDIT_3}:

{$smarty.const.BLOCK_EDIT_NEW_CHOISE} | {$smarty.const.BLOCK_EDIT_ADD_CHOISE}

{$smarty.const.BLOCK_EDIT_DCAT} | {$smarty.const.BLOCK_EDIT_DPROD}
| {$smarty.const.BLOCK_EDIT_PSDESCRIPT}

{$smarty.const.SAVE_BUTTON} | {$smarty.const.ADMIN_TX2}
{else} {if $blocks_count >= 1}

{$smarty.const.BLOCKS_NAME} | {$smarty.const.BLOCKS_ACTIVE} | {$smarty.const.BLOCKS_POSITION} | {$smarty.const.BLOCKS_SORT} | {$smarty.const.AUX_PAGE_EDIT}
{assign var="admhl" value=0} {section name=i loop=$blocks_edit} {if $admhl eq 1}
{else}{assign var="admhl" value=1}{/if}
{$blocks_edit[i][1]} | {if $blocks_edit[i][3] eq 1}{$smarty.const.BLOCKS_ON}{else}{$smarty.const.BLOCKS_OFF}{/if} | {if $blocks_edit[i][2] eq 1}{$smarty.const.BLOCKS_LEFT}{elseif $blocks_edit[i][2] eq 2}{$smarty.const.BLOCKS_TOP}{elseif $blocks_edit[i][2] eq 3}{$smarty.const.BLOCKS_BOTTOM}{elseif $blocks_edit[i][2] eq 4}{$smarty.const.BLOCKS_RIGHT}{/if} |  | {if $blocks_edit[i][3] eq 1}{$smarty.const.BLOCK_OUT}{else}{$smarty.const.BLOCK_IN}{/if} | {$smarty.const.ADMIN_EDIT_SMALL} | X
{/section}

{$smarty.const.SAVE_BUTTON} | {$smarty.const.ADD_BLOCK} | {$smarty.const.ADD_BLOCK_FILE}
{else}

{$smarty.const.ALERT_ADMIN_BLOCKS}

{$smarty.const.ADD_BLOCK} | {$smarty.const.ADD_BLOCK_FILE} {/if} {/if}

{$smarty.const.USEFUL_FOR_YOU} {$smarty.const.ALERT_ADMIN_BL2} {$smarty.const.ALERT_ADMIN2}