<{if $op=="tad_web_files_form"}>
  <form action="files.php" method="post" id="myForm" enctype="multipart/form-data" class="form-horizontal" role="form">
    <div class="control-group">
      <label class="span2 control-label">
        <{$smarty.const._MD_TCW_FILES_UPLOAD}>
      </label>
      <div class="span8 controls">
        <{$upform}>
      </div>
      <div class="span2 controls">
        <!--所屬領域-->
        <input type="hidden" name="WebID" value="<{$WebID}>">
        <!--檔案流水號-->
        <input type="hidden" name="fsn" value="<{$fsn}>">
        <input type="hidden" name="op" value="<{$next_op}>">
        <button type="submit" class="btn btn-primary"><{$smarty.const._TAD_SAVE}></button>
      </div>
    </div>

    <div class="control-group">
      <div class="span12 controls">
        <{$list_del_file}>
      </div>
    </div>

  </form>

<{else}>
  <{$FooTableJS}>
  <{includeq file="db:tad_web_common_files.html"}>
<{/if}>

