<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>{#MpTitle#}</title>
<link rev="made" content="mailto:mail@cpengine.de">
<meta name="robots" content="noindex,nofollow">
<meta http-equiv="pragma" content="no-cache">
<meta name="generator" content="cpengine">
<meta name="copyright" content="dream4">
<meta name="Expires" content="Mon, 06 Jan 1990 00:00:01 GMT"> 
<link href="{$tpl_dir}css/style.css" rel="stylesheet" type="text/css">
<script src="{$tpl_dir}js/cpcode.js" type="text/javascript"></script>
<script src="{$tpl_dir}overlib/overlib.js" type="text/javascript"></script>
</head>


<form action="?do=browser&pop=1&cpengine={$sess}&action=upload2&typ={$smarty.request.typ}&pfad={$smarty.request.pfad}" method="post" enctype="multipart/form-data" name="upform" id="upform" style="display:inline;">
  <center>
    <table width="100%" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td align="center" valign="middle" class="boxstandart"><table width="100%"  border="0" cellpadding="4" cellspacing="1" class="tableborder">
            <tr class="secondrow">
              <td colspan="2" class="tableheader">
			  <div class="mediapool_infobox">
			  <strong>{#MpAllowed#}</strong>
			  <br />
			 <small>
			 
			  {foreach from=$file_allowed item=f}
			  {$f}
			  {/foreach}
			  </small>
			  <br />
			  </div>
			  </td>
            </tr>
            
			{section name=files loop=5}
            <tr class="second">
              <td>#{$smarty.section.files.index+1}</td>
              <td><input class="input" name="upfile[]" type="file" id="upfile[]" size="60">              </td>
            </tr>
			{/section}
           
			{if $smarty.request.typ=='bild'}
            <tr class="secondrow">
              <td class="second">&nbsp;</td>
              <td class="second">
                <input name="resize" type="checkbox" value="1" /> 
                {#MpResize#}
                <input name="w" type="text" value="120" size="3" />
				{#MpWidth#}</td>
            </tr>
            
           {/if}
            <tr class="secondrow">
              <td class="firstrow">&nbsp;</td>
              <td>
                <input name="button" type="button" class="button" onClick="this.disabled=true;this.value='{#mpFileButtonWait#}';document.forms['upform'].submit();" value="{#MpUpload#}" />                </td>
            </tr>
          </table>
        </td>
      </tr>
    </table>
  </center>
</form>
</body></html>
