<?php
require_once 'header.php';
require_once 'erpc_nfecode_importacao_toolbar.php';
require_once 'inc/usuario.php';

checkLogin('login.php');

?>

<!-- Nav tabs -->
<ul class="nav nav-tabs" role="tablist">
  <li role="presentation" class="active"><a href="#form1" aria-controls="form1" role="tab" data-toggle="tab">DANFE - ARQUIVOS XML : IMPORTAR AQUIVO MANUAL</a></li>
</ul>

<div class="tab-content">
<div role="tabpanel" class="tab-pane fade in active" id="form1">
<form id=validate_custom  enctype="multipart/form-data"  method=POST action="erpc_nfecode_importacao_manual_ws.php">
  <input type=hidden name="id" id="id" class="validate[required] form-control" maxlength="08" size=8/>

  <div class=block>
    <!--
    <div class=header>
      <h2></h2>
    </div>
    -->
    <div class="content controls">
      <div class="row clear">&nbsp;</div>
      <div class="form-row">
        <div class=col-md-2>SELECIONE O ARQUIVO</div>
  			<div class=col-md-9>
  			<?
  			/*if (substr($ds_idioma, -3)=='jpg' || substr($ds_arquivo, -3)=='png' || substr($ds_arquivo, -3)=='gif') {
                  $prefix = substr($ds_arquivo, 5) =='http: ' || substr($ds_arquivo, 6) == 'https:' ? '' : '../';
                  echo "<h6>Imagem atual</h6><img src='$prefix$ds_value' width='100px'><br>";
                }*/
              ?>
              <input required="true" name="arquivo" type="file"  accept="text/xml" size="50"/>
  			</div>
      </div>

      <div class=footer>
        <div class="side pull-right">
          <div class=btn-group>
              <button class="btn btn-success" type="submit" value="adicionar" name="adicionar">Adicionar</button>
              <button class="btn btn-default" type="button" onClick="window.history.go(-1)" value="Voltar">Voltar</button>
              

          </div>
        </div>
      </div>


    </div>
  </div>
</form>
</div>
</div>



<?php include 'inc/helper_modal_div.php';?>
<?php include 'footer.php'; ?>
<script type="text/javascript" src="js/acme.js"></script>
