<!--ERROR_MSG-->
<div class="borderwrap">
<form action='{$this->ipsclass->base_url}' method='post' id='postingform' onsubmit='return ValidateForm()' enctype='multipart/form-data' name='REPLIER'>
<input type='hidden' name='automodule' value='downloads' />
<input type='hidden' name='req' value='submit' />
<input type='hidden' name='code' value='{$default['code']}' />
<input type='hidden' name='id' value='{$default['file_id']}' />
<input type='hidden' name='file_cat' value='{$default['file_cat']}' />
<div class="catheadmid"><div class="catheadleft"><div class="catheadright"><div class="catheadtext">
{$default['header_lang']}{$this->ipsclass->lang['sform_filelang']} : {$default['cat_cname']}</div>
</div></div></div>
<table class='ipbtable' cellspacing="1" style="clear: left;">
 <tr>
<if="$default['edit_cat_link']">
 <tr>
  <td colspan='2' class='bg1' align='center'>
   <div style='width:100%;' align='center' class='borderwrap'>
    <table cellpadding='0' cellspacing='0' width='100%' class='darkrow3'>
     <tr>
      <td align='left'><a href='{$this->ipsclass->base_url}automodule=downloads&amp;req=submit&amp;code=edit_cat&amp;id={$default['file_id']}'><strong>{$default['edit_cat_link']}</strong></a></td>
     </tr>
    </table>
   </div>
  </td>
 </tr>
</if>
 <tr>
  <td colspan='2' class='bgspecial' align='center'>
   <div style='width:100%;' align='center' class='borderwrap'>
    <table cellpadding='0' cellspacing='0' width='100%' class='darkrow3'>
     <tr>
      <td width='20%' align='right'><strong>{$this->ipsclass->lang['sform_filename']}</strong></td>
      <td align='left'><input name='file_name' type='text' size='50' value='{$default['file_name']}' /> </td>
     </tr>
    </table>
   </div>
  </td>
 </tr>
 <tr>
  <td colspan='2' class='bg1' align='center'>
   <div style='width:100%;' align='center' class='borderwrap'>
    <table cellpadding='0' cellspacing='0' width='100%' class='darkrow3'>
     <tr>
      <td align='left'><!--FILE_DESCRIPTION--></td>
     </tr>
    </table>
   </div>
  </td>
 </tr>
{$cfields}
 <tr>
  <td colspan='2' class='bg1' align='center'>
   <div style='width:100%;' align='center' class='borderwrap'>
    <table cellpadding='0' cellspacing='0' width='100%' class='darkrow3'>
     <tr>
      <td width='20%' align='right'><strong>{$this->ipsclass->lang['sform_filefile']}</strong><br />
<div align='left'>{$this->ipsclass->lang['sform_maxsize']}{$default['file_maxsize']}<br />
{$this->ipsclass->lang['sform_allowed']} {$default['allowed_file']}</div></td>
      <td align='left'><input type='file' name='file' size='50' /></td>
     </tr>
    </table>
   </div>
  </td>
 </tr>
<if="$this->ipsclass->vars['idm_allow_urls'] == 1">
 <tr>
  <td colspan='2' class='bg1' align='center'>
   <div style='width:100%;' align='center' class='borderwrap'>
    <table cellpadding='0' cellspacing='0' width='100%' class='darkrow3'>
     <tr>
      <td width='20%' align='right'><strong>{$this->ipsclass->lang['sform_fileurl']}</strong><br />
<div align='left'>{$this->ipsclass->lang['sform_allowed']} {$default['allowed_file']}</div></td>
      <td align='left'><input type='text' name='file_url' size='50' value='{$default['file_url']}' /></td>
     </tr>
    </table>
   </div>
  </td>
 </tr>
</if>
{$default['path_bar']}
{$default['ss_bar']}
<if="$this->ipsclass->vars['idm_allow_urls'] == 1">
{$default['ss_url_bar']}
</if>
{$default['ss_path_bar']}
 <tr>
  <td colspan='2' class='formbuttonrow' align='center'><input type='submit' value='{$default['button']}' /></td>
 </tr>
</table>
</form>
</div>