{eval static $upload_k=0;}
{if $editor_button_value[$upload_k]} {/if}
{eval $upload_k++;}