[{if $blEOD}]
    [{include file="headitem.tpl" title="GENERAL_ADMIN_TITLE"|oxmultilangassign}]
[{else}]
    [{assign var="params" value=$oViewConf->getSelfLink()|oxaddparams:"cl=d3_picture_import"|oxaddparams:"fnc=doimport"|oxaddparams:"d3cf=`$iCheckedFiles`"|oxaddparams:"d3if=`$iImportedFiles`"|oxaddparams:"oxid=`$oxid`"}]
    [{include file="headitem.tpl" title="GENERAL_ADMIN_TITLE"|oxmultilangassign

    meta_refresh_sec="1"
    meta_refresh_url=$params
    }]
[{/if}]

<form name="transfer" id="transfer" action="[{$oViewConf->getSelfLink()}]" method="post">
    [{$oViewConf->getHiddenSid()}]
    <input type="hidden" name="oxid" value="[{$oxid}]">
    <input type="hidden" name="cl" value="d3_picture_import">
    <input type="hidden" name="editlanguage" value="[{$editlanguage}]">
</form>

<form name="myedit" id="myedit" enctype="multipart/form-data" action="[{$oViewConf->getSelfLink()}]" method="post">
    [{$oViewConf->getHiddenSid()}]
    <input type="hidden" name="cl" value="d3_picture_import">
    <input type="hidden" name="fnc" value="">
    <input type="hidden" name="oxid" value="[{$oxid}]">
    <input type="hidden" name="line" value="[{$actcsvline}]">

    <table cellspacing="0" cellpadding="0" border="0" width="98%">

        [{assign var="iError" value=$oView->getConfigFailure()}]
        [{if $iError}]
            [{block name="d3_d3importer_views_admin_tpl_d3_picture_ticket_failure"}]
                <tr>
                    <td valign="top" class="edittext" colspan="2">
                        <div class="errorbox">[{oxmultilang ident="D3_PICTURE_FAILCONFIG_$iError"}]</div>
                    </td>
                </tr>
            [{/block}]
        [{else}]
            [{block name="d3_d3importer_views_admin_tpl_d3_picture_success"}]
                <tr>
                    <td valign="top" class="edittext">
                        <div style="text-align: center;">
                            <h3>[{oxmultilang ident="D3_PICTURE_IMPORT_INFO1"}] : [{$iCheckedFiles}] [{oxmultilang ident="D3_PICTURE_IMPORT_INFO2"}] [{$iSumFiles}].</h3>

                            <h3>[{oxmultilang ident="D3_PICTURE_IMPORT_INFO3"}] : [{$iImportedFiles}]</h3>
                            [{if $blEOD}]
                                <h3>[{oxmultilang ident="D3_PICTURE_IMPORT_IMPORTEND"}]</h3>
                            [{/if}]
                        </div>
                    </td>
                </tr>
            [{/block}]
        [{/if}]
    </table>
</form>

[{include file="bottomnaviitem.tpl"}]
[{include file="bottomitem.tpl"}]